Rotate service account secret
POST/tenants/:tenantId/service-accounts/:serviceAccountId/rotate-secret
Generates a new client secret for the service account. The old secret remains valid for a 24-hour grace period to allow for seamless rotation.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 500
Secret rotated successfully
Bad request - service account is revoked
Unauthorized
Forbidden
Service account not found
Internal Server Error