{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Updates a DLP custom entry.","properties":{"path":{"type":"object","properties":{"account_id":{"type":"string"},"entry_id":{"type":"string","format":"uuid"}},"required":["account_id","entry_id"],"additionalProperties":false},"body":{"$ref":"#/definitions/dlp_CustomEntryUpdate"}},"required":["path","body"],"additionalProperties":false,"definitions":{"dlp_CustomEntryUpdate":{"allOf":[{"$ref":"#/definitions/dlp_CustomEntryUpdateType"},{"properties":{"enabled":{"type":"boolean"}},"required":["enabled"],"type":"object"}]},"dlp_CustomEntryUpdateType":{"type":"object","properties":{"description":{"type":["string","null"]},"name":{"type":"string"},"pattern":{"$ref":"#/definitions/dlp_Pattern"},"validator_ids":{"description":"Validators this entry should reference, by id, at most 10. Replaces the current set.\n\nOptional, unlike the rest of this body: omitting it leaves the current attachments alone, so a\nclient that predates validators cannot detach them by accident. Send `[]` to detach.","type":"array","items":{"format":"uuid","type":"string"}}},"required":["name","pattern"]},"dlp_Pattern":{"type":"object","properties":{"regex":{"type":"string"},"validation":{"allOf":[{"$ref":"#/definitions/dlp_Validation"}]}},"required":["regex"]},"dlp_Validation":{"type":"string","enum":["luhn"]}}},"name":"Update custom entry","id":"cloudflare.dlp-entries-update-custom-entry","example":{"path":{"account_id":"example","entry_id":"00000000-0000-4000-8000-000000000000"},"body":{"name":"example","pattern":{"regex":"example"},"enabled":false}},"maxRequests":1,"summary":false}}