devices
coderclaw devices
Section titled “coderclaw devices”Manage device pairing requests and device-scoped tokens.
Commands
Section titled “Commands”coderclaw devices list
Section titled “coderclaw devices list”List pending pairing requests and paired devices.
coderclaw devices listcoderclaw devices list --jsoncoderclaw devices approve [requestId] [--latest]
Section titled “coderclaw devices approve [requestId] [--latest]”Approve a pending device pairing request. If requestId is omitted, CoderClaw
automatically approves the most recent pending request.
coderclaw devices approvecoderclaw devices approve <requestId>coderclaw devices approve --latestcoderclaw devices reject <requestId>
Section titled “coderclaw devices reject <requestId>”Reject a pending device pairing request.
coderclaw devices reject <requestId>coderclaw devices rotate --device <id> --role <role> [--scope <scope...>]
Section titled “coderclaw devices rotate --device <id> --role <role> [--scope <scope...>]”Rotate a device token for a specific role (optionally updating scopes).
coderclaw devices rotate --device <deviceId> --role operator --scope operator.read --scope operator.writecoderclaw devices revoke --device <id> --role <role>
Section titled “coderclaw devices revoke --device <id> --role <role>”Revoke a device token for a specific role.
coderclaw devices revoke --device <deviceId> --role nodeCommon options
Section titled “Common options”--url <url>: Gateway WebSocket URL (defaults togateway.remote.urlwhen configured).--token <token>: Gateway token (if required).--password <password>: Gateway password (password auth).--timeout <ms>: RPC timeout.--json: JSON output (recommended for scripting).
Note: when you set --url, the CLI does not fall back to config or environment credentials.
Pass --token or --password explicitly. Missing explicit credentials is an error.
- Token rotation returns a new token (sensitive). Treat it like a secret.
- These commands require
operator.pairing(oroperator.admin) scope.