Skip to content
Sign in Create account

Update transparency log

PATCH /api/v1/privacy/state/transparency-log

Updates the caller privacy state through the configured privacy control.

Authenticate with a portal session token.

Request body

application/json object

  • publish_seed_hmac boolean required

Example

{
  "publish_seed_hmac": false
}

Responses

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 caller lacks a required ability or 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
409 The preference is stored but the public log action has not been applied.

application/json PrivacyPrivacyState

  • active_tier string required
    One of: "max", "balanced"
  • active_tier_source string required
    One of: "preset", "custom"
  • classifier_mode string required
    One of: "off", "standard", "power", "light"
  • classifier_model_id string required
  • committed object required
    • source string required
      One of: "preset", "custom"
    • tier string required
      One of: "max", "balanced"
  • hardware_backed object required
    • authenticator_attachment string or null
      One of: "platform", "cross-platform", null
    • available boolean
    • credential_id string or null
      Length: at most 1024 characters
    • detected_platform string or null
      Length: at most 120 characters
    • device_name string or null
      Length: at most 120 characters
    • enabled boolean
    • enrolled_at string (date-time) or null
  • preview any required

    One of

  • recovery_vault object required
    • enrolled boolean
    • enrolled_at string (date-time)
    • provider string
    • threshold string
      One of: "3-of-3", "2-of-3"
  • rotation object required
    • per_chat boolean
    • schedule string
      One of: "never", "per_chat", "daily", "weekly", "monthly", "quarterly", "manual"
  • tier string
  • transparency_log object required
    • enrolled boolean or null required
    • mutable boolean required
    • mutable_reason string required
    • publish_seed_hmac boolean or null required
    • source string required
      One of: "unknown", "transparency_log_entries", "unavailable"
    • stored_preference boolean required
  • updated_at string (date-time)
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 was rate limited. API-generated responses are JSON;

Response headers

  • Retry-After string header

    Seconds to wait before retrying, when provided.

  • X-RateLimit-Scope string header

    Identifies the scope of the request limit, when provided.

application/json GenericError

  • error any

    One of

    • string
    • object

      Any keys are accepted.

  • error_code string
  • code string
  • message string
  • detail string
  • status any

    One of

    • string
    • integer
  • errors object

    Any keys are accepted.

text/html string