{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Partially updates a SCIM User via PATCH operations (RFC 7644 Section 3.5.2). Supports updating `userName`, `name.givenName`, `name.familyName`, and `active`. Setting `active: false` deprovisions the user (removes them from the account). For IdP compatibility, `emails[type eq \"work\"].value` is also accepted as an alias for `userName`.\n","properties":{"path":{"type":"object","properties":{"account_id":{"$ref":"#/definitions/iam_account_identifier"},"user_id":{"$ref":"#/definitions/iam_scim_user_identifier"}},"required":["account_id","user_id"],"additionalProperties":false},"body":{"$ref":"#/definitions/iam_scim_patch_op_request","examples":[{"Operations":[{"op":"replace","path":"active","value":false}],"schemas":["urn:ietf:params:scim:api:messages:2.0:PatchOp"]}]}},"required":["path","body"],"additionalProperties":false,"definitions":{"iam_account_identifier":{"description":"Account identifier tag.","allOf":[{"$ref":"#/definitions/iam_common_components-schemas-identifier"}],"title":"Account Identifier"},"iam_scim_user_identifier":{"description":"The user tag identifying a SCIM User resource (account member).","type":"string","title":"SCIM User Identifier","examples":["023e105f4ecef8ad9ca31a8372d0c353"]},"iam_scim_patch_op_request":{"description":"Request body for a SCIM PATCH operation on a User resource (RFC 7644 Section 3.5.2).\n","type":"object","properties":{"Operations":{"description":"List of PATCH operations to apply.","type":"array","items":{"$ref":"#/definitions/iam_scim_patch_operation"},"examples":[[{"op":"replace","value":{"active":false}}]]},"schemas":{"description":"Must contain `urn:ietf:params:scim:api:messages:2.0:PatchOp`.","type":"array","items":{"type":"string"},"examples":[["urn:ietf:params:scim:api:messages:2.0:PatchOp"]]}},"required":["schemas","Operations"],"title":"SCIM PatchOp Request (Users)"},"iam_common_components-schemas-identifier":{"description":"Identifier","type":"string","maxLength":32,"minLength":32,"examples":["023e105f4ecef8ad9ca31a8372d0c353"]},"iam_scim_patch_operation":{"description":"A single PATCH operation (RFC 7644 Section 3.5.2).","type":"object","properties":{"op":{"description":"The operation to perform. Only `replace` is currently supported; `add` and `remove` are accepted without error but have no effect. Matched case-insensitively.\n","type":"string","enum":["add","remove","replace"],"examples":["replace"]},"path":{"description":"Attribute path targeted by this operation. When absent, `value` must be a singular complex attribute.\n","type":"string","examples":["active"]},"value":{"description":"The value(s) for the operation. For `replace` without a path, this should be an object of attribute name/value pairs. For member path operations, this should be an array of member value objects. For `replace` with a path, this is the new value of the targeted attribute.\n","oneOf":[{"type":"object"},{"items":{"type":"object"},"type":"array"},{"type":"boolean"},{"type":"string"}],"examples":[{"active":false}]}},"required":["op"],"title":"SCIM Patch Operation"}}},"name":"Patch SCIM User","id":"cloudflare.scim-users-patch","example":{"path":{"account_id":"023e105f4ecef8ad9ca31a8372d0c353","user_id":"023e105f4ecef8ad9ca31a8372d0c353"},"body":{"schemas":["urn:ietf:params:scim:api:messages:2.0:PatchOp"],"Operations":[{"op":"replace","value":{"active":false}}]}},"maxRequests":1,"summary":false}}