Enroll a recovery vault
POST /api/v1/personas/keys/vault-enrol
Stores the selected provider and threshold in the caller’s privacy panel state. Nextcloud recovery was not tested end to end before launch. Test a restore before relying on it.
Authenticate with a portal session token.
Request body
application/json object
providerstring requiredOne of:"proton-drive","internxt","tresorit","self-host-nextcloud","none"thresholdstring requiredOne of:"3-of-3","2-of-3"
Example
{
"provider": "proton-drive",
"threshold": "3-of-3"
}Responses
200 Enrollment result.
application/json PrivacyPersonaVaultEnrol
enrolledboolean requiredproviderstring requiredOne of:"proton-drive","internxt","tresorit","self-host-nextcloud","none"thresholdstring requiredOne of:"3-of-3","2-of-3"
Generated sample
{
"enrolled": true,
"provider": "proton-drive",
"threshold": "3-of-3"
}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