Skip to content
Sign in Create account

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

  • provider string required
    One of: "proton-drive", "internxt", "tresorit", "self-host-nextcloud", "none"
  • threshold string required
    One of: "3-of-3", "2-of-3"

Example

{
  "provider": "proton-drive",
  "threshold": "3-of-3"
}

Responses

200 Enrollment result.

application/json PrivacyPersonaVaultEnrol

  • enrolled boolean required
  • provider string required
    One of: "proton-drive", "internxt", "tresorit", "self-host-nextcloud", "none"
  • threshold string required
    One 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

  • error object required
    • code string
    • kid string
    • message string
    • ref string
    • type string
  • errors object

    Other keys: array of string

  • message string
403 The authenticated principal lacks the required permission.

application/json PrivacyError

  • error object required
    • code string
    • kid string
    • message string
    • ref string
    • type string
  • errors object

    Other keys: array of string

  • message string
422 The request failed validation.

application/json PrivacyError

  • error object required
    • code string
    • kid string
    • message string
    • ref string
    • type string
  • errors object

    Other keys: array of string

  • message string
429 The request rate limit was exceeded.

application/json PrivacyError

  • error object required
    • code string
    • kid string
    • message string
    • ref string
    • type string
  • errors object

    Other keys: array of string

  • message string

text/html string