Apps delete

Open in

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 delete

Delete a specific app by ID:

ably apps delete aBcDe1

Delete an app without a confirmation prompt:

ably apps delete aBcDe1 --force

Delete a specific app using the --app option:

ably apps delete --app app-id

Delete an app using an access token environment variable:

ABLY_ACCESS_TOKEN="YOUR_ACCESS_TOKEN" ably apps delete app-id

Delete an app and output the result in JSON format:

ably apps delete app-id --json

Delete an app and output the result in formatted JSON:

ably apps delete app-id --pretty-json

See also

  • Apps — Explore all ably apps commands.
  • CLI reference — Full list of available commands.