Replace a server key (admin)
POST/api/integrations/website/sites/:site/server-keys/:serverKey/rotate
Revokes the key and creates its replacement (same name) in one step;
the new token is in this response only. 409 key_revoked for a key
already revoked. Audit row website.server_key_rotated.
Request
Responses
- 201
- 403
- 404
- 409
The replacement key, with its token shown once.
Authenticated but not allowed.
Resource not found (or not visible to the current tenant).
The key is already revoked (key_revoked).