{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Missing fields keep their existing values.","properties":{"path":{"type":"object","properties":{"account_id":{"type":"string"}},"required":["account_id"],"additionalProperties":false},"body":{"$ref":"#/definitions/dlp_DlpSettingsUpdate"}},"required":["path","body"],"additionalProperties":false,"definitions":{"dlp_DlpSettingsUpdate":{"description":"Request model for updating DLP account-level settings.\nAll fields are optional. Missing fields behave differently for PUT vs PATCH:\n- PUT: missing fields reset to initial (unconfigured) values.\n- PATCH: missing fields keep existing values.","type":"object","properties":{"ai_context_analysis":{"description":"Whether AI context analysis is enabled at the account level.","type":["boolean","null"],"default":false},"ocr":{"description":"Whether OCR is enabled at the account level.","type":["boolean","null"],"default":false},"payload_logging":{"allOf":[{"$ref":"#/definitions/dlp_PayloadLogSettingUpdate"}]}}},"dlp_PayloadLogSettingUpdate":{"description":"Request model for payload log settings within the DLP settings endpoint.\nUnlike the legacy endpoint, null and missing are treated identically here\n(both mean \"not provided\" for PATCH, \"reset to default\" for PUT).","type":"object","properties":{"masking_level":{"default":"default","allOf":[{"$ref":"#/definitions/dlp_PayloadLogMaskingLevel"}]},"public_key":{"description":"Base64-encoded public key for encrypting payload logs.\n\n- Set to a non-empty base64 string to enable payload logging with the given key.\n- Set to an empty string to disable payload logging.\n- Omit or set to null to leave unchanged (PATCH) or reset to disabled (PUT).","type":["string","null"]}}},"dlp_PayloadLogMaskingLevel":{"description":"Masking level for payload logs.\n\n- `full`: The entire payload is masked.\n- `partial`: Only partial payload content is masked.\n- `clear`: No masking is applied to the payload content.\n- `default`: DLP uses its default masking behavior.","type":"string","enum":["full","partial","clear","default"]}}},"name":"Partially update DLP account-level settings.","id":"cloudflare.dlp-settings-edit","example":{"path":{"account_id":"example"},"body":{}},"maxRequests":1,"summary":false}}