Rotate an API key
POST/v1/organizations/:org/api-keys/:key/rotate
Issues a replacement with the same name, member and expiry. The old key is revoked at once,
or keeps working for grace_seconds (at most 7 days) so automation can switch over.
Request
Responses
- 201
- 400
- 403
- 404
- 422
The new key
The request is invalid
Your role does not allow this action
Not found, or not visible to you
Not possible in the current state