Update SCIM User

PUT {{scimPath}}/environments/{{envID}}/v2/Users/{{userID}}

The PUT {{scimPath}}/environments/{{envID}}/v2/Users/{{userID}} operation updates all information about the specified SCIM user in the specified environment. All attributes of the user are replaced by the attributes in the body.

Prerequisites

See the SCIM user data model for full property descriptions.

PropertyTypeRequired
addressesObjectOptional
addresses.countryStringOptional
addresses.formattedStringOptional
addresses.localityStringOptional
addresses.postalCodeStringOptional
addresses.regionStringOptional
addresses.streetAddressStringOptional
emailsStringOptional
externalIdStringOptional
localeStringOptional
name.familyNameStringOptional
name.formattedStringOptional
name.givenNameStringOptional
name.honorificPrefixStringOptional
name.honorificSuffixStringOptional
name.middleNameStringOptional
nameObjectOptional
nickNameStringOptional
passwordStringRequired
phoneNumbersStringOptional
photosObjectOptional
preferredLanguageStringOptional
timezoneDateTimeOptional
titleStringOptional
urn:pingidentity:
schemas:extension:2.0:
PingOneUser.population.id
StringOptional
userNameStringRequired

Request Body

{"schemas"=>["urn:ietf:params:scim:schemas:core:2.0:User", "urn:pingidentity:schemas:extension:2.0:PingOneUser"], "userName"=>"tmp-Isabella-Updated", "emails"=>[{"value"=>"IsabellaOfCastile@example.com", "primary"=>true}]}

RESPONSES

status: OK

{"schemas":["urn:ietf:params:scim:schemas:core:2.0:User","urn:pingidentity:schemas:extension:2.0:PingOneUser"],"id":"2163c528-8ceb-42ce-8cbc-3d0faf05a790","meta":{"resourceType":"User","created":"2023-03-28T12:12:24.125Z","lastModified":"2023-03-28T12:32:25.186Z","location":"https://scim-api.pingone.com/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6/v2/Users/2163c528-8ceb-42ce-8cbc-3d0faf05a790"},"userName":"tmp-Isabella-Updated","active":true,"emails":[{"value":"IsabellaOfCastile@example.com","primary":true}],"urn:pingidentity:schemas:extension:2.0:PingOneUser":{"population":{"id":"cb3ef0a0-0ff5-4f60-ae82-4ae65d9d0e3a"}}}