{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Replaces a SCIM User resource (RFC 7644 Section 3.5.1). Fully replaces the mutable attributes of the user. Supports updating `userName`, `name`, `emails`, and `active`.\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_user_replace_request"}},"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_user_replace_request":{"description":"Request body for replacing a SCIM User (PUT). Only `schemas` and `userName` are required; other fields are optional.\n","type":"object","properties":{"active":{"description":"A Boolean value indicating the user's administrative status. Optional; if omitted, the current value is preserved. Set to `false` to deprovision the user, removing their membership from the account.","type":"boolean","examples":[true]},"displayName":{"description":"The name of the user, suitable for display to end-users. If not explicitly set, falls back to the formatted name or userName.","type":"string","examples":["Jane Smith"]},"emails":{"description":"Email addresses for the user. If a primary email is provided, it must match `userName`.","type":"array","items":{"$ref":"#/definitions/iam_scim_user_email_object"}},"externalId":{"description":"An identifier for the user as defined by the provisioning client (IdP). This value is stored and returned but not interpreted by Cloudflare.","type":"string","examples":["idp-user-abc123"]},"name":{"$ref":"#/definitions/iam_scim_user_name_object"},"schemas":{"description":"Must contain `urn:ietf:params:scim:schemas:core:2.0:User`.","type":"array","items":{"type":"string"},"examples":[["urn:ietf:params:scim:schemas:core:2.0:User"]]},"userName":{"description":"Unique identifier for the user, equal to the user's email address.","type":"string","format":"email","examples":["user@example.com"]}},"required":["schemas","userName"],"title":"SCIM User Replace Request"},"iam_common_components-schemas-identifier":{"description":"Identifier","type":"string","maxLength":32,"minLength":32,"examples":["023e105f4ecef8ad9ca31a8372d0c353"]},"iam_scim_user_email_object":{"description":"An email address entry for a SCIM User.","type":"object","properties":{"primary":{"description":"A Boolean value indicating the preferred email address.","type":"boolean","examples":[true]},"type":{"description":"A label indicating the attribute's function, e.g., \"work\" or \"home\".","type":"string","examples":["work"]},"value":{"description":"The email address value.","type":"string","format":"email","examples":["user@example.com"]}},"required":["value"],"title":"SCIM User Email"},"iam_scim_user_name_object":{"description":"The components of the user's real name.","type":"object","properties":{"familyName":{"description":"The family name (last name) of the user.","type":"string","examples":["Smith"]},"givenName":{"description":"The given name (first name) of the user.","type":"string","examples":["Jane"]}},"title":"SCIM User Name"}}},"name":"Replace SCIM User","id":"cloudflare.scim-users-put","example":{"path":{"account_id":"023e105f4ecef8ad9ca31a8372d0c353","user_id":"023e105f4ecef8ad9ca31a8372d0c353"},"body":{"schemas":["urn:ietf:params:scim:schemas:core:2.0:User"],"userName":"user@example.com"}},"maxRequests":1,"summary":false}}