Update a user with PUT
Authorization
OAuth token rendered by Identity Broker.
One of the following OAuth scopes is required:
identity:people_rw
The following administrators can use this API:
id_full_admin
id_user_admin
Usage:
Input JSON must contain schema: "urn:ietf:params:scim:schemas:core:2.0:User".
Support 3 schemas :
- "urn:ietf:params:scim:schemas:core:2.0:User"
- "urn:ietf:params:scim:schemas:extension:enterprise:2.0:User"
- "urn:scim:schemas:extension:cisco:webexidentity:2.0:User"
Unrecognized schemas (ID/section) are ignored.
Read-only attributes provided as input values are ignored.
User
id
will not be changed.meta
.created
will not be changed.The PUT API replaces the contents of the user's data with the data in the request body. All attributes specified in the request body will replace all existing attributes for the
userId
specified in the URL. Should you wish to replace or change some attributes as opposed to all attributes please refer to the SCIM PATCH operation https://developer.webex.com/docs/api/v1/scim2-user/update-a-user-with-patch.
URI Parameters
Webex Identity assigned organization identifier for user's organization.
Webex Identity assigned user identifier.
Body Parameters
Input JSON schemas.
A unique identifier for the user and authenticates the user in Webex. This must be set to the user's primary email address. No other user in Webex may have the same userName
value and thus this value is required to be unique within Webex.
User type.
The user's business title. Examples of a title is "Business Manager". "Senior Accountant", "Engineer" etc.
A boolean value of "true" or "false" indicating whether the user is allowed to login to Webex.
The user's locale which represents the user's currency, time format, and numerical representations. Acceptable values are based on the ISO-696 and ISO-3166 with the 2 letter language code followed by an _ and then the 2 letter country code. Examples are:
en_US : for United States English or fr_FR for Parisian French.
The user's time zone specified in the IANA timezone timezone format. e.g: "America/Los_Angeles".
A fully qualified URL pointing to a page representing the user's online profile.
User identifier provided by an external provisioning source.
The name displayed for the user in Webex.
A casual name of the user. For example, Bob when the user's formal name is Robert.
A list of user's phone numbers.
phone number.
We support the following phone number types: 'mobile', 'work', 'fax', 'work_extension', 'alternate1', 'alternate2'. Alternate 1 and Alternate 2 are types inherited from Webex meeting sites.
A human-readable name, primarily used for display purposes.
A Boolean value indicating the phone number's primary status.
A list of photo objects for the user.
photo link.
The type of the photo
A human-readable description, primarily used for display purposes.
A Boolean value for the photo usage status.
User's physical mailing address.
address type
The full street address component, which may include house number, street name, P.O. box, and multi-line extended street address information. This attribute MAY contain newlines.
The city or locality component.
The state or region component.
The zip code or postal code component.
The country name component.
A list of the user's email addresses, including primary and alternative emails. The primary work email address must match the value of the user's username.
The email address.
The type of the email.
A human-readable description, primarily used for display purposes.
Email status boolean value. If the type is work and primary is true, the value must equal userName
.
SCIM2 enterprise extension
Name of a cost center.
Name of an organization.
Name of a division.
Name of a department.
Numeric or alphanumeric identifier assigned to a person, typically based on the order of hire or association with an organization.
The user's manager.
Webex Identity assigned user identifier of the user's manager. The manager must belong to the same org as the user.
cisco extension of SCIM 2
An array of additional information about a user's status.
sipAddress
values for the user.
The sipAddress
value.
sipAddress
type.
A human-readable description, primarily used for display purposes.
Designate the primary sipAddress
.
Organizations that the user can manage.
Webex Identity assigned organization identifier.
Role in the target organization for the user.
Groups that the user can manage.
Webex Identity assigned organization identifier.
Webex Identity assigned group identifier.
Role in the target group for the user.
The extension attributes of the user. Postfix support from 1 to 15, for example: "extensionAttribute1", "extensionAttribute2", ..., "extensionAttribute15".
The external attributes of the user. Postfix support from 1 to 15, for example: "externalAttribute1", "externalAttribute2", ..., "externalAttribute15".
Source of external attribute.
Value of external attribute.
Response Properties
Input JSON schemas.
Webex Identity assigned user identifier.
A unique identifier for the user and authenticates the user in Webex. This must be set to the user's primary email address. No other user in Webex may have the same userName
value and thus this value is required to be unique within Webex.
A boolean value of "true" or "false" indicating whether the user is allowed to login in Webex.
The components of the user's real name.
The given name of the user, or first name in most Western languages (e.g., "Sarah" given the full name "Ms. Sarah J Henderson, III").
The family name of the user, or last name in most Western languages (e.g., "Henderson" given the full name "Ms. Sarah J Henderson, III").
The middle name(s) of the user (e.g., "Jane" given the full name "Ms. Sarah J Henderson, III").
The honorific prefix(es) of the user, or title in most Western languages (e.g., "Ms." given the full name "Ms. Sarah J Henderson, III").
The honorific suffix(es) of the user, or suffix in most Western languages (e.g., "III" given the full name "Ms. Sarah J Henderson, III").
The name displayed for the user in Webex.
A casual name of the user. For example, Bob when the user's formal name is Robert.
A list of the user's email addresses, including primary and alternative emails. The primary work email address must match the value of the user's username.
The email address.
The type of the email.
A human-readable description, primarily used for display purposes.
Email status boolean value. If the type is work and primary is true, the value must equal userName
.
User type.
A fully qualified URL pointing to a page representing the user's online profile.
The user's business title. Examples of a title is "Business Manager". "Senior Accountant", "Engineer" etc.
The user's locale which represents the user's currency, time format, and numerical representations. Acceptable values for this field are based on the ISO-696 and ISO-3166 with the 2 letter language code followed by an _ and then the 2 letter country code. Examples are:
en_US : for United States English or fr_FR for Parisian French.
User identifier provided by an external provisioning source.
The user's time zone specified in the IANA timezone timezone format, for example, "America/Los_Angeles".
A list of user's phone numbers.
phone number.
We support the following phone number types: 'mobile', 'work', 'fax', 'work_extension', 'alternate1', 'alternate2'. Alternate 1 and Alternate 2 are types inherited from Webex meeting sites.
A human-readable name, primarily used for display purposes.
A Boolean value for phone number's primary status.
A list of photo objects for the user.
photo link.
The type of the photo
A human-readable description, primarily used for display purposes.
A Boolean value for the photo usage status.
User's physical mailing address.
The type of the address.
The full street address component, which may include house number, street name, P.O. box, and multi-line extended street address information. This attribute MAY contain newlines.
The city or locality component.
The state or region component.
The zip code or postal code component.
The country name component.
SCIM2 enterprise extension
Name of a cost center.
Name of an organization.
Name of a division.
Name of a department.
Numeric or alphanumeric identifier assigned to a person, typically based on the order of hire or association with an organization.
The user's manager.
Webex Identity assigned user identifier of the user's manager. The manager must belong to the same org as the user.
The name displayed for the manager in Webex.
The URI corresponding to a SCIM user that is the manager.
The Cisco extension of SCIM 2.
An array of additional information about a user's status.
sipAddress
values for the user.
The sipAddress
value.
sipAddress
type.
A human-readable description, primarily used for display purposes.
Designate the primary sipAddress
.
Organizations that the user can manage.
Webex Identity assigned organization identifier.
Role in the target organization for the user.
Groups that the user can manage.
Webex Identity assigned organization identifier.
Webex Identity assigned group identifier.
Role in the target group for the user.
The extension attributes of the user. Postfix support from 1 to 15, for example: "extensionAttribute1", "extensionAttribute2", ..., "extensionAttribute15".
The external attributes of the user. Postfix support from 1 to 15, for example: "externalAttribute1", "externalAttribute2", ..., "externalAttribute15".
Source of external attribute.
Value of external attribute.
Response metadata.
The date and time the group was created.
The date and time the group was last changed.
The version of the user.
The resource itself.
Response Codes
The list below describes the common success and error responses you should expect from the API.
Code | Status | Description |
---|---|---|
200 | OK | Successful request with body content. |
201 | Created | The request has succeeded and has led to the creation of a resource. |
202 | Accepted | The request has been accepted for processing. |
204 | No Content | Successful request without body content. |
400 | Bad Request | The request was invalid or cannot be otherwise served. An accompanying error message will explain further. |
401 | Unauthorized | Authentication credentials were missing or incorrect. |
403 | Forbidden | The request is understood, but it has been refused or access is not allowed. |
404 | Not Found | The URI requested is invalid or the resource requested, such as a user, does not exist. Also returned when the requested format is not supported by the requested method. |
405 | Method Not Allowed | The request was made to a resource using an HTTP request method that is not supported. |
409 | Conflict | The request could not be processed because it conflicts with some established rule of the system. For example, a person may not be added to a room more than once. |
410 | Gone | The requested resource is no longer available. |
415 | Unsupported Media Type | The request was made to a resource without specifying a media type or used a media type that is not supported. |
423 | Locked | The requested resource is temporarily unavailable. A Retry-After header may be present that specifies how many seconds you need to wait before attempting the request again. |
428 | Precondition Required | File(s) cannot be scanned for malware and need to be force downloaded. |
429 | Too Many Requests | Too many requests have been sent in a given amount of time and the request has been rate limited. A Retry-After header should be present that specifies how many seconds you need to wait before a successful request can be made. |
500 | Internal Server Error | Something went wrong on the server. If the issue persists, feel free to contact the Webex Developer Support team. |
502 | Bad Gateway | The server received an invalid response from an upstream server while processing the request. Try again later. |
503 | Service Unavailable | Server is overloaded with requests. Try again later. |
504 | Gateway Timeout | An upstream server failed to respond on time. If your query uses max parameter, please try to reduce it. |
Header
Body
- schemasarrayRequiredInput JSON schemas.
- userNamestringRequiredA unique identifier for the user and authenticates the user in Webex. This must be set to the user's primary email address. No other user in Webex may have the same `userName` value and thus this value is required to be unique within Webex.
- userTypeUserTypeObjectRequiredUser type.
- titlestringThe user's business title. Examples of a title is "Business Manager". "Senior Accountant", "Engineer" etc.
- activebooleanA boolean value of "true" or "false" indicating whether the user is allowed to login to Webex.
- preferredLanguagestringUser's preferred language. Acceptable values for this field are based on the [ISO-696](http://www.loc.gov/standards/iso639-2/php/code_list.php) and [ISO-3166](https://www.iso.org/obp/ui/#search) with the 2 letter language code followed by an _ and then the 2 letter country code. Examples are: en_US : for United States English or fr_FR for Parisian French.
- localestringThe user's locale which represents the user's currency, time format, and numerical representations. Acceptable values are based on the [ISO-696](http://www.loc.gov/standards/iso639-2/php/code_list.php) and [ISO-3166](https://www.iso.org/obp/ui/#search) with the 2 letter language code followed by an _ and then the 2 letter country code. Examples are: en_US : for United States English or fr_FR for Parisian French.
- timezonestringThe user's time zone specified in the [IANA timezone](https://nodatime.org/timezones) timezone format. e.g: "America/Los_Angeles".
- profileUrlstringA fully qualified URL pointing to a page representing the user's online profile.
- externalIdstringUser identifier provided by an external provisioning source.
- displayNamestringThe name displayed for the user in Webex.
- nickNamestringA casual name of the user. For example, Bob when the user's formal name is Robert.
- phoneNumbersarrayA list of user's phone numbers.
- photosarrayA list of photo objects for the user.
- addressesarrayUser's physical mailing address.
- emailsarrayA list of the user's email addresses, including primary and alternative emails. The primary work email address must match the value of the user's username.
- urn:ietf:params:scim:schemas:extension:enterprise:2.0:UserobjectSCIM2 enterprise extension
- urn:scim:schemas:extension:cisco:webexidentity:2.0:Userobjectcisco extension of SCIM 2
{ "schemas": [ "urn:ietf:params:scim:schemas:core:2.0:User", "urn:ietf:params:scim:schemas:extension:enterprise:2.0:User", "urn:scim:schemas:extension:cisco:webexidentity:2.0:User" ], "userName": "user1Changed@example.com", "userType": "user", "title": "Sales manager", "active": true, "preferredLanguage": "en_US", "locale": "en_US", "timezone": "America/Los_Angeles", "profileUrl": "https://jojowiki.com/Jonathan_Joestar", "externalId": "externalIdNewValue", "displayName": "Mr. Jonathan Jane Joestar, III", "nickName": "JoJo", "phoneNumbers": [ { "value": "400 123 1234", "type": "work", "display": "work phone number", "primary": true } ], "photos": [ { "value": "https://photos.example.com/profilephoto/72930000000Ccne/F", "type": "photo", "display": "photo description", "primary": true } ], "addresses": [ { "type": "work", "streetAddress": "100 Universal City Plaza", "locality": "Hollywood", "region": "CA", "postalCode": "91608", "country": "US" } ], "emails": [ { "value": "user1@example.home.com", "type": "home", "display": "home email description", "primary": false } ], "urn:ietf:params:scim:schemas:extension:enterprise:2.0:User": { "costCenter": "costCenter 123", "organization": "Cisco webexidentity", "division": "division 456", "department": "department 789", "employeeNumber": "518-8888-888", "manager": { "value": "b5717a4a-0169-43b2-ac3c-db20ba4e72cd" } }, "urn:scim:schemas:extension:cisco:webexidentity:2.0:User": { "accountStatus": "active", "sipAddresses": [ { "value": "sipAddress value1", "type": "enterprise", "display": "sipAddress1 description", "primary": true } ], "managedOrgs": [ { "orgId": "75fe2995-24f5-4831-8d2c-1c2f8255912e", "role": "id_full_admin" } ], "managedGroups": [ { "orgId": "0ae87ade-8c8a-4952-af08-318798958d0c", "groupId": "3936af3e-15ff-43d1-9ef5-66c569ef34f5", "role": "location_admin" } ], "extensionAttribute*": [], "externalAttribute*": [ { "source": "Source.1_7ddf1f2c-2985-4c37-a450-d58bbc201750", "value": "externalAttribute1_value" } ] } }
{ "schemas": [ "urn:ietf:params:scim:schemas:core:2.0:User", "urn:scim:schemas:extension:cisco:webexidentity:2.0:User", "urn:ietf:params:scim:schemas:extension:enterprise:2.0:User" ], "id": "3426a8e3-d414-4bf0-a493-4f6787632a13", "userName": "user1Changed@example.com", "active": true, "name": { "familyName": "Joestar", "givenName": "Jonathan", "middleName": "Jane", "honorificPrefix": "Mr.", "honorificSuffix": "III" }, "displayName": "Mr. Jonathan Jane Joestar, III", "nickName": "JoJo", "emails": [ { "value": "user1@example.home.com", "type": "home", "display": "home email description" }, { "value": "user1Changed@example.com", "type": "work", "primary": true } ], "userType": "user", "profileUrl": "https://jojowiki.com/Jonathan_Joestar", "title": "Sales manager", "preferredLanguage": "en_US", "locale": "en_US", "externalId": "externalIdNewValue", "timezone": "America/Los_Angeles", "phoneNumbers": [ { "value": "400 123 1234", "type": "work", "primary": true, "display": "work phone number" } ], "photos": [ { "value": "https://photos.example.com/profilephoto/72930000000Ccne/F", "type": "photo", "primary": true, "display": "photo description" } ], "addresses": [ { "type": "work", "streetAddress": "100 Universal City Plaza", "locality": "Hollywood", "region": "CA", "postalCode": "91608", "country": "US" } ], "urn:ietf:params:scim:schemas:extension:enterprise:2.0:User": { "employeeNumber": "518-8888-888", "costCenter": "costCenter 123", "organization": "Cisco webexidentity", "division": "division 456", "department": "department 789", "manager": { "value": "b5717a4a-0169-43b2-ac3c-db20ba4e72cd", "displayName": "Identity Administrator", "$ref": "http://integration.webexapis.com/identity/scim/0ae87ade-8c8a-4952-af08-318798958d0c/v2/Users/b5717a4a-0169-43b2-ac3c-db20ba4e72cd" } }, "urn:scim:schemas:extension:cisco:webexidentity:2.0:User": { "accountStatus": [ "active" ], "sipAddresses": [ { "value": "sipAddress value1", "type": "enterprise", "primary": true, "display": "sipAddress1 description" } ], "managedOrgs": [ { "orgId": "75fe2995-24f5-4831-8d2c-1c2f8255912e", "role": "id_full_admin" } ], "managedGroups": [ { "orgId": "0ae87ade-8c8a-4952-af08-318798958d0c", "groupId": "3936af3e-15ff-43d1-9ef5-66c569ef34f5", "role": "location_admin" } }, "externalAttribute1": [ { "source": "Source.1_7ddf1f2c-2985-4c37-a450-d58bbc201750", "value": "externalAttribute1_value" } ], "externalAttribute2": [ { "source": "Source.2_7ddf1f2c-2985-4c37-a450-d58bbc201750", "value": "externalAttribute2_value" } ], "extensionAttribute1": [ "extensionAttribute1_Item1", "extensionAttribute1_Item2" ], "extensionAttribute2": [ "extensionAttribute2_Item1", "extensionAttribute2_Item2", "extensionAttribute2_Item3" ], "meta": { "organizationId": "0ae87ade-8c8a-4952-af08-318798958d0c" } }, "meta": { "resourceType": "User", "location": "http://integration.webexapis.com/identity/scim/0ae87ade-8c8a-4952-af08-318798958d0c/v2/Users/3426a8e3-d414-4bf0-a493-4f6787632a13", "version": "W/\"47678570556\"", "created": "2023-01-11T17:38:31.605Z", "lastModified": "2023-02-02T09:38:31.558Z" } }