Skip to main content

fased devices

Manage device pairing requests and device-scoped tokens for gateway access.

Commands

fased devices list

List pending pairing requests and paired devices.

fased devices remove <deviceId>

Remove one paired device entry.

fased devices clear --yes [--pending]

Clear paired devices in bulk.

fased devices approve [requestId] [--latest]

Approve a pending device pairing request. If requestId is omitted, Fased automatically approves the most recent pending request.

fased devices reject <requestId>

Reject a pending device pairing request.

fased devices rotate --device <id> --role <role> [--scope <scope...>]

Rotate a device token for a specific role (optionally updating scopes).
The command prints the new token result as JSON. Treat the returned token as a secret.

fased devices revoke --device <id> --role <role>

Revoke a device token for a specific role.

Common options

  • --url <url>: Gateway WebSocket URL. Defaults to gateway.remote.url when 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 requires explicit credentials for that target. Pass --token or --password explicitly. Missing explicit credentials is an error.

Notes

  • These commands require operator.pairing (or operator.admin) scope.
  • devices clear is intentionally gated by --yes.
  • If pairing scope is unavailable on local loopback and no explicit --url is passed, list/approve can use a local pairing fallback.