tokens
Replace an active token with a new value.
Replace an active token with a new value. The old value stops working immediately; scopes and max_expires_at are unchanged. A token-authenticated caller can only rotate tokens whose scopes it holds and that do not outlive it.
Org permission: token:delete.
post/v1/tokens/{token_id}/rotate
Request
- Base URL: https://api.kody.codes
- URL: https://api.kody.codes/v1/tokens/{token_id}/rotate
- Auth: HTTP bearer
Path parameters
token_idstring required
API token id (path param on /v1/tokens/{token_id}).
Request body
Response
Success.
Changes
No recorded changes to this operation across all 3 revisions of this API.