Rotate an operator connection credential
POST/api/v1/workspaces/:id/operator/connections/:connectionId/rotate
Session only, owner only: the new secret is returned to the caller, so an admin cannot rotate another member's credential. Replaces the secret and nothing else; the connection id, owner, scopes, ceiling and expiry are unchanged and no request is cancelled. The new credential is returned once with Cache-Control no-store. A revoked or expired connection answers 409.
Request
Responses
- 200
- 401
- 403
- 404
- 409
- 500
Credential rotated; the new credential is shown once
Unauthorized
Forbidden
Not found
The connection is revoked or expired
Internal server error