{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Updates an integration's name, permissions, DLP profiles, use cases, or credentials.","properties":{"path":{"type":"object","properties":{"account_id":{"type":"string","examples":["023e105f4ecef8ad9ca31a8372d0c353"],"description":"Cloudflare account identifier."},"id":{"type":"string","description":"Integration ID."}},"required":["account_id","id"],"additionalProperties":false},"body":{"$ref":"#/definitions/one_PatchedUpdateIntegrationV2Request","examples":[{"credentials":{"access_token":"new_access_token","refresh_token":"new_refresh_token"}}]}},"required":["path"],"additionalProperties":false,"definitions":{"one_PatchedUpdateIntegrationV2Request":{"description":"Serializer for v2 integration PATCH requests.","type":"object","properties":{"credentials":{"description":"Partial credential fields to merge with existing.","type":"object","additionalProperties":true},"dlp_profiles":{"description":"List of DLP profile IDs to associate with the integration.","type":"array","items":{"format":"uuid","type":"string"},"maxItems":20},"name":{"description":"Name of the integration.","type":"string","maxLength":256,"minLength":1},"permissions":{"description":"List of permission scopes granted to the integration.","type":"array","items":{"minLength":1,"type":"string"}},"use_cases":{"description":"List of use case or feature slugs to enroll (e.g., ['casb', 'ces', 'auto_remediation']).","type":"array","items":{"description":"* `casb` - casb\n* `ces` - ces\n* `auto_remediation` - auto_remediation","enum":["casb","ces","auto_remediation"],"type":"string"}}}}}},"name":"Update integration","id":"cloudflare.update_integration_v2","example":{"path":{"account_id":"023e105f4ecef8ad9ca31a8372d0c353","id":"example"}},"maxRequests":1,"summary":false}}