Use the ably push devices remove-where command to remove push device registrations matching filter criteria.
Synopsis
ably push devices remove-where [options]Options
--device-id
Filter registrations by device ID.
--client-id
Filter registrations by client ID.
--force | -f
Skip confirmation prompt. Required when using --json. The default is false.
--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
Remove registrations by device ID:
ably push devices remove-where --device-id "device123"Remove registrations by client ID:
ably push devices remove-where --client-id "user456"Remove device registrations and output in JSON format:
ably push devices remove-where --device-id device-123 --jsonSee also
- Push — Explore all
ably pushcommands. - CLI reference — Full list of available commands.