A new secret for the API token, same name, abilities
POST/api/v3/me/tokens/:token/rotate
Dashboard session only. A new secret for the API token, same name, abilities (scope, actors, permissions, creator) and expiry; the old one stops at once. Returns {id, name, token, expires_at}. In an organization only the member who created the token rotates it (owner and admins revoke the others' ones), and it takes tokens.create
Responses
- 200
- 403
- 404
OK
Not the token's creator, or the role lacks tokens.create
Not a visible API token