openclaw devices

Verwalte Geräte-Pairing-Anfragen und gerätespezifische Tokens.

Befehle

openclaw devices list

Zeigt ausstehende Pairing-Anfragen und gekoppelte Geräte an.

openclaw devices list
openclaw devices list --json

openclaw devices approve <requestId>

Genehmigt eine ausstehende Geräte-Pairing-Anfrage.

openclaw devices approve <requestId>

openclaw devices reject <requestId>

Lehnt eine ausstehende Geräte-Pairing-Anfrage ab.

openclaw devices reject <requestId>

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

Rotiert einen Geräte-Token für eine bestimmte Rolle (optional mit aktualisierten Scopes).

openclaw devices rotate --device <deviceId> --role operator --scope operator.read --scope operator.write

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

Widerruft einen Geräte-Token für eine bestimmte Rolle.

openclaw devices revoke --device <deviceId> --role node

Allgemeine Optionen

  • --url <url>: Gateway WebSocket URL (standardmäßig gateway.remote.url, wenn konfiguriert).
  • --token <token>: Gateway Token (falls erforderlich).
  • --password <password>: Gateway Passwort (Passwort-Authentifizierung).
  • --timeout <ms>: RPC Timeout.
  • --json: JSON-Ausgabe (empfohlen für Scripting).

Hinweise

  • Bei der Token-Rotation bekommst du einen neuen Token (sensibel). Behandle ihn wie ein Geheimnis.
  • Diese Befehle erfordern den Scope operator.pairing (oder operator.admin).