Rotate API key
POST/api/v1/auth/keys/:key_id/rotate
Revoke an existing key and mint a replacement with the same name and workspace binding.
Returns the new key value (shown exactly once) and the new key metadata. The old key is deactivated atomically before the new one is returned.
Request
Responses
- 422
Unprocessable Entity