openclaw_device_token_rotate
Rotate a device's authentication token: issue a new token and revoke the old one. Use to update device credentials.
Instructions
Rotate a device's authentication token (issues a new one, invalidates the old). Wraps device.token.rotate. Destructive — the device's currently cached token stops working.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deviceId | Yes | Device id whose token to rotate | |
| instance | No | Optional OpenClaw instance to route this call to (e.g. 'default', 'work'). Falls back to the active default instance, or the OPENCLAW_GATEWAY_URL/TOKEN env vars when set. List configured instances with openclaw_setup_list. |