Rotate the persona key
POST /api/v1/personas/keys/rotate
Rotates the authenticated tenant’s persona key with an optional overlap window.
Authenticate with a portal session token.
Request body (optional)
application/json object
overlap_daysintegerRange: 1 to 365vault_passphrasestringLength: 12 to 512 characters
Example
{
"overlap_days": 1,
"vault_passphrase": "demo-passphrase-123"
}Responses
201 Rotated persona key.
application/json PrivacyPersonaKey
kidstring requiredrotatedbooleanshare_1string requiredshare_3string or nullthresholdinteger requiredOne of:2,3vault_providerstring requiredvault_urlstring or null
Generated sample
{
"kid": "string",
"rotated": true,
"share_1": "string",
"share_3": "string",
"threshold": 2,
"vault_provider": "string",
"vault_url": "string"
}401 Authentication is required.
application/json PrivacyError
errorobject requiredcodestringkidstringmessagestringrefstringtypestring
errorsobjectOther keys: array of string
messagestring
403 The authenticated principal lacks the required permission.
application/json PrivacyError
errorobject requiredcodestringkidstringmessagestringrefstringtypestring
errorsobjectOther keys: array of string
messagestring
422 The request failed validation.
application/json PrivacyError
errorobject requiredcodestringkidstringmessagestringrefstringtypestring
errorsobjectOther keys: array of string
messagestring
429 The request rate limit was exceeded.
application/json PrivacyError
errorobject requiredcodestringkidstringmessagestringrefstringtypestring
errorsobjectOther keys: array of string
messagestring
text/html string
500 An unexpected key operation failure.
application/json PrivacyError
errorobject requiredcodestringkidstringmessagestringrefstringtypestring
errorsobjectOther keys: array of string
messagestring