Use the ably apps update command to update the name or TLS setting of an Ably application.
Synopsis
ably apps update <app-name-or-id> [options]Arguments
app-name-or-id Required
Required
The app name or ID to update.
Options
--name
The new name for the application.
--tls-only
Restrict the application to TLS connections only. When enabled, all connections to this app must use TLS encryption.
--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
Update an application's name:
ably apps update "My App" --name "New App Name"Restrict an application to TLS connections only:
ably apps update my-app-id --tls-onlyAllow non-TLS connections for an application:
ably apps update my-app-id --no-tls-onlyUpdate an app and output the result in JSON format:
ably apps update "My App" --name "New App Name" --tls-only --jsonSee also
- Apps — Explore all
ably appscommands. - CLI reference — Full list of available commands.