Skip to content
Sign in Create account

Update recovery threshold

PATCH /api/v1/personas/keys/threshold

Updates the recovery threshold in the caller’s privacy panel state.

Authenticate with a portal session token.

Request body

application/json object

  • threshold string required
    One of: "3-of-3", "2-of-3"

Example

{
  "threshold": "3-of-3"
}

Responses

200 Threshold result.

application/json PrivacyPersonaThreshold

  • threshold string required
    One of: "3-of-3", "2-of-3"

Generated sample

{
  "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