Sessions
Rotate an agent-bound worker token
Changed onReturns a new token once. The previous token keeps working for graceSec (default 300), then expires. Use revoke for a token that must stop now.
post/api/agents/{id}/token/rotate
Request
- Base URLhttp://localhost:3013
- URLhttp://localhost:3013/api/agents/{id}/token/rotate
- AuthHTTP bearer
Path parameters
idstring required
Request body
Response
New worker token
Changes
- info
endpoint added
- info