mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 11:40:42 +00:00
fix(gateway): avoid echoing rotated device tokens
This commit is contained in:
@@ -102,7 +102,10 @@ caller already has.
|
||||
openclaw devices rotate --device <deviceId> --role operator --scope operator.read --scope operator.write
|
||||
```
|
||||
|
||||
Returns the new token payload as JSON.
|
||||
Returns rotation metadata as JSON. If the caller is rotating its own token while
|
||||
authenticated with that device token, the response also includes the replacement
|
||||
token so the client can persist it before reconnecting. Shared/admin rotations
|
||||
do not echo the bearer token.
|
||||
|
||||
### `openclaw devices revoke --device <id> --role <role>`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user