# Update SCIM User **PUT /Organizations/{OrganizationSid}/scim/Users/{UserSid}** ## Servers - https://preview-iam.twilio.com: https://preview-iam.twilio.com () ## Authentication methods - O auth2 client credentials ## Parameters ### Headers - **If-Match** (string) ### Path parameters - **OrganizationSid** (string(OrganizationSid)) - **UserSid** (string(UserSid)) ### Body: application/json (object) - **id** (string) Unique Twilio user sid - **externalId** (string) External unique resource id defined by provisioning client - **userName** (string) Unique username, MUST be same as primary email address - **displayName** (string) User friendly display name - **name** (object) User's name - **emails** (array[object]) Email address list of the user. Primary email must be defined if there are more than 1 email. Primary email must match the username. - **active** (boolean) Indicates whether the user is active - **locale** (string) User's locale - **timezone** (string) User's time zone - **schemas** (array[string]) An array of URIs that indicate the schemas supported for this user resource - **meta** (object) Meta ## Responses ### 200 User object with updated attributes #### Headers - **Access-Control-Allow-Origin** (string) Specify the origin(s) allowed to access the resource - **Access-Control-Allow-Methods** (string) Specify the HTTP methods allowed when accessing the resource - **Access-Control-Allow-Headers** (string) Specify the headers allowed when accessing the resource - **Access-Control-Allow-Credentials** (boolean) Indicates whether the browser should include credentials - **Access-Control-Expose-Headers** (string) Headers exposed to the client #### Body: application/scim+json (object) - **id** (string) Unique Twilio user sid - **externalId** (string) External unique resource id defined by provisioning client - **userName** (string) Unique username, MUST be same as primary email address - **displayName** (string) User friendly display name - **name** (object) User's name - **emails** (array[object]) Email address list of the user. Primary email must be defined if there are more than 1 email. Primary email must match the username. - **active** (boolean) Indicates whether the user is active - **locale** (string) User's locale - **timezone** (string) User's time zone - **schemas** (array[string]) An array of URIs that indicate the schemas supported for this user resource - **meta** (object) Meta ### 400 Bad request or business rules violation #### Headers - **Access-Control-Allow-Origin** (string) Specify the origin(s) allowed to access the resource - **Access-Control-Allow-Methods** (string) Specify the HTTP methods allowed when accessing the resource - **Access-Control-Allow-Headers** (string) Specify the headers allowed when accessing the resource - **Access-Control-Allow-Credentials** (boolean) Indicates whether the browser should include credentials - **Access-Control-Expose-Headers** (string) Headers exposed to the client #### Body: application/scim+json (object) - **schemas** (array[string]) Schema URIs that define the contents of the error structure - **detail** (string) A human-readable description of the error - **scimType** (string) A scimType error code as defined in RFC7644 - **status** (string) Http status code - **code** (integer(int32)) Twilio-specific error code - **moreInfo** (string) Link to Error Code References ### 401 Unauthorized #### Headers - **Access-Control-Allow-Origin** (string) Specify the origin(s) allowed to access the resource - **Access-Control-Allow-Methods** (string) Specify the HTTP methods allowed when accessing the resource - **Access-Control-Allow-Headers** (string) Specify the headers allowed when accessing the resource - **Access-Control-Allow-Credentials** (boolean) Indicates whether the browser should include credentials - **Access-Control-Expose-Headers** (string) Headers exposed to the client #### Body: application/scim+json (object) - **schemas** (array[string]) Schema URIs that define the contents of the error structure - **detail** (string) A human-readable description of the error - **scimType** (string) A scimType error code as defined in RFC7644 - **status** (string) Http status code - **code** (integer(int32)) Twilio-specific error code - **moreInfo** (string) Link to Error Code References ### 403 Forbidden #### Headers - **Access-Control-Allow-Origin** (string) Specify the origin(s) allowed to access the resource - **Access-Control-Allow-Methods** (string) Specify the HTTP methods allowed when accessing the resource - **Access-Control-Allow-Headers** (string) Specify the headers allowed when accessing the resource - **Access-Control-Allow-Credentials** (boolean) Indicates whether the browser should include credentials - **Access-Control-Expose-Headers** (string) Headers exposed to the client #### Body: application/scim+json (object) - **schemas** (array[string]) Schema URIs that define the contents of the error structure - **detail** (string) A human-readable description of the error - **scimType** (string) A scimType error code as defined in RFC7644 - **status** (string) Http status code - **code** (integer(int32)) Twilio-specific error code - **moreInfo** (string) Link to Error Code References ### 404 Not found #### Headers - **Access-Control-Allow-Origin** (string) Specify the origin(s) allowed to access the resource - **Access-Control-Allow-Methods** (string) Specify the HTTP methods allowed when accessing the resource - **Access-Control-Allow-Headers** (string) Specify the headers allowed when accessing the resource - **Access-Control-Allow-Credentials** (boolean) Indicates whether the browser should include credentials - **Access-Control-Expose-Headers** (string) Headers exposed to the client #### Body: application/scim+json (object) - **schemas** (array[string]) Schema URIs that define the contents of the error structure - **detail** (string) A human-readable description of the error - **scimType** (string) A scimType error code as defined in RFC7644 - **status** (string) Http status code - **code** (integer(int32)) Twilio-specific error code - **moreInfo** (string) Link to Error Code References ### 409 Version conflict #### Headers - **Access-Control-Allow-Origin** (string) Specify the origin(s) allowed to access the resource - **Access-Control-Allow-Methods** (string) Specify the HTTP methods allowed when accessing the resource - **Access-Control-Allow-Headers** (string) Specify the headers allowed when accessing the resource - **Access-Control-Allow-Credentials** (boolean) Indicates whether the browser should include credentials - **Access-Control-Expose-Headers** (string) Headers exposed to the client #### Body: application/scim+json (object) - **schemas** (array[string]) Schema URIs that define the contents of the error structure - **detail** (string) A human-readable description of the error - **scimType** (string) A scimType error code as defined in RFC7644 - **status** (string) Http status code - **code** (integer(int32)) Twilio-specific error code - **moreInfo** (string) Link to Error Code References ### 429 Too many requests #### Headers - **Access-Control-Allow-Origin** (string) Specify the origin(s) allowed to access the resource - **Access-Control-Allow-Methods** (string) Specify the HTTP methods allowed when accessing the resource - **Access-Control-Allow-Headers** (string) Specify the headers allowed when accessing the resource - **Access-Control-Allow-Credentials** (boolean) Indicates whether the browser should include credentials - **Access-Control-Expose-Headers** (string) Headers exposed to the client #### Body: application/scim+json (object) - **schemas** (array[string]) Schema URIs that define the contents of the error structure - **detail** (string) A human-readable description of the error - **scimType** (string) A scimType error code as defined in RFC7644 - **status** (string) Http status code - **code** (integer(int32)) Twilio-specific error code - **moreInfo** (string) Link to Error Code References [Powered by Bump.sh](https://bump.sh)