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_hmacboolean required
Example
{
"publish_seed_hmac": false
}Responses
401 Authentication is required.
application/json PrivacyError
errorobject requiredcodestringkidstringmessagestringrefstringtypestring
errorsobjectOther keys: array of string
messagestring
403 The caller lacks a required ability or permission.
application/json PrivacyError
errorobject requiredcodestringkidstringmessagestringrefstringtypestring
errorsobjectOther keys: array of string
messagestring
409 The preference is stored but the public log action has not been applied.
application/json PrivacyPrivacyState
active_tierstring requiredOne of:"max","balanced"active_tier_sourcestring requiredOne of:"preset","custom"classifier_modestring requiredOne of:"off","standard","power","light"classifier_model_idstring requiredcommittedobject requiredsourcestring requiredOne of:"preset","custom"tierstring requiredOne of:"max","balanced"
hardware_backedobject requiredauthenticator_attachmentstring or nullOne of:"platform","cross-platform",nullavailablebooleancredential_idstring or nullLength: at most 1024 charactersdetected_platformstring or nullLength: at most 120 charactersdevice_namestring or nullLength: at most 120 charactersenabledbooleanenrolled_atstring (date-time) or null
previewany requiredOne of
recovery_vaultobject requiredenrolledbooleanenrolled_atstring (date-time)providerstringthresholdstringOne of:"3-of-3","2-of-3"
rotationobject requiredper_chatbooleanschedulestringOne of:"never","per_chat","daily","weekly","monthly","quarterly","manual"
tierstringtransparency_logobject requiredenrolledboolean or null requiredmutableboolean requiredmutable_reasonstring requiredpublish_seed_hmacboolean or null requiredsourcestring requiredOne of:"unknown","transparency_log_entries","unavailable"stored_preferenceboolean required
updated_atstring (date-time)
422 The request failed validation.
application/json PrivacyError
errorobject requiredcodestringkidstringmessagestringrefstringtypestring
errorsobjectOther keys: array of string
messagestring
429 The request was rate limited. API-generated responses are JSON;
Response headers
Retry-Afterstring headerSeconds to wait before retrying, when provided.
X-RateLimit-Scopestring headerIdentifies the scope of the request limit, when provided.
application/json GenericError
erroranyOne of
- string
- object
Any keys are accepted.
error_codestringcodestringmessagestringdetailstringstatusanyOne of
- string
- integer
errorsobjectAny keys are accepted.
text/html string