Tenancy
Rotate the workspace default key (new secret returned once)
Mints a new default key and revokes the old active one in one transaction: the old key stops authenticating at once, and there is never a moment with two active default keys or none. The workspace's other keys are untouched. With no active default key it simply creates one. Same provision secret guard as POST /tenants/{tenant_id}/default-key.
post/tenants/{tenant_id}/default-key:rotate
Request
- Base URL: https://api.customdomain.ai/v1
- URL: https://api.customdomain.ai/v1/tenants/{tenant_id}/default-key:rotate
- Auth: API key in header X-Provision-Secret
Path parameters
tenant_idstring required
Response
Rotated; api_key is the new full secret, shown once
Changes
No recorded changes to this operation across all 1 revision of this API.