{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Applies the same field values to up to 100 events in one dataset. The `date` field can't be changed in bulk.","properties":{"path":{"type":"object","properties":{"account_id":{"description":"Account ID.","type":"string"}},"required":["account_id"],"additionalProperties":false},"body":{"type":"object","properties":{"datasetId":{"description":"Dataset ID containing the events to update. Required to prevent cross-account modifications.","type":"string","examples":["9b769969-a211-466c-8ac3-cb91266a066a"]},"eventIds":{"description":"List of event UUIDs to update (1-100)","type":"array","items":{"type":"string","examples":["12345678-1234-1234-1234-1234567890ab"]},"maxItems":100,"minItems":1,"examples":[["uuid-1","uuid-2","uuid-3"]]},"updates":{"description":"Fields to update on all specified events. All fields including 'insight' are supported, except 'date' which requires shard migration.","type":"object","properties":{"attacker":{"type":["string","null"],"examples":["Flying Yeti"]},"attackerCountry":{"type":"string","examples":["CN"]},"category":{"type":"string","examples":["Domain Resolution"]},"createdAt":{"type":"string","format":"date-time","examples":["2025-12-19T00:00:00Z"]},"event":{"type":"string","examples":["An attacker registered the domain domain.com"]},"indicator":{"type":"string","examples":["domain2.com"]},"indicatorType":{"type":"string","examples":["domain"]},"insight":{"type":"string","examples":["This event indicates a potential phishing campaign"]},"raw":{"type":"object","properties":{"data":{"type":["object","null"],"additionalProperties":true},"source":{"type":"string","examples":["example.com"]},"tlp":{"type":"string","examples":["amber"]}}},"targetCountry":{"type":"string","examples":["US"]},"targetIndustry":{"type":"string","examples":["Insurance"]},"tlp":{"type":"string","examples":["amber"]}}}},"required":["eventIds","datasetId","updates"]}},"required":["path"],"additionalProperties":false},"name":"Update events in bulk","id":"cloudflare.patch_eventupdatebulk","example":{"path":{"account_id":"example"}},"maxRequests":1,"summary":false}}