Use the ably apps delete command to permanently delete an Ably application.
Synopsis
ably apps delete [app-id] [options]Arguments
app-id
The ID of the application to delete. If not specified, the currently selected app is used.
Options
--app
The app ID to delete. This option overrides both the app-id argument and the currently selected app.
--force | -f
Skip the confirmation prompt and delete the application immediately. Required when using --json.
--json
Output results as compact JSON. Mutually exclusive with --pretty-json.
--pretty-json
Output results in formatted JSON. Mutually exclusive with --json.
--verbose | -v
Enable verbose logging. Can be combined with --json or --pretty-json.
Examples
Delete the currently selected app:
ably apps deleteDelete a specific app by ID:
ably apps delete aBcDe1Delete an app without a confirmation prompt:
ably apps delete aBcDe1 --forceDelete a specific app using the --app option:
ably apps delete --app app-idDelete an app using an access token environment variable:
ABLY_ACCESS_TOKEN="YOUR_ACCESS_TOKEN" ably apps delete app-idDelete an app and output the result in JSON format:
ably apps delete app-id --jsonDelete an app and output the result in formatted JSON:
ably apps delete app-id --pretty-jsonSee also
- Apps — Explore all
ably appscommands. - CLI reference — Full list of available commands.