Rotate Api Key
POST/api/v1/account/api-keys/:api_key_id/rotate
Rotate an API key.
Creates a new API key with the same permissions and marks the old one for expiration. The old key remains active for the grace period (default 7 days).
Request
Responses
- 201
- 401
- 403
- 404
- 422
Created
Unauthorized
Forbidden
Not Found
Validation Error