OpenClawSkills
GitHub
CLI リファレンス • 5分で読める

デバイス

openclaw devices の CLI リファレンス(デバイスペアリング、トークンのローテーション/失効)。

デバイスペアリングリクエストとデバイススコープトークンを管理します。

Tutorial.step

コマンド

#

Tutorial.step

`openclaw devices list`

保留中のペアリングリクエストとペアリングされたデバイスを一覧表示します。

Terminal
openclaw devices list
openclaw devices list --json

#

Tutorial.step

`openclaw devices approve <requestId>`

保留中のデバイスペアリングリクエストを承認します。

Terminal
openclaw devices approve <requestId>

#

Tutorial.step

`openclaw devices reject &lt;requestId&gt;`

保留中のデバイスペアリングリクエストを拒否します。

Terminal
openclaw devices reject <requestId>

#

Tutorial.step

`openclaw devices rotate --device &lt;id&gt; --role &lt;role&gt; [--scope &lt;scope...&gt;]`

特定のロールのデバイストークンをローテーションします(オプションでスコープを更新)。

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

#

Tutorial.step

`openclaw devices revoke --device &lt;id&gt; --role &lt;role&gt;`

特定のロールのデバイストークンを失効にします。

Terminal
openclaw devices revoke --device <deviceId> --role node
Tutorial.step

一般的なオプション

- ''--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 出力(スクリプティングに推奨)。

Tutorial.step

Notes

- トークンローテーションは新しいトークンを返します(機密)。シークレットとして扱ってください。

- これらのコマンドには ''operator.pairing'' (または ''operator.admin'')スコープが必要です。