PATCH | Users
  • 1 minute to read
  • Dark
    Light
  • PDF

PATCH | Users

  • Dark
    Light
  • PDF

Article summary

Request

To modify information about Users, send a request to the following endpoint:

PATCH /iso/scim/v2/Users:id

Parameters

NameTypeRequiredDescriptionExample
userNameStringRequiredThe unique login identifier for the user."dschrute"
externalIdStringRequiredAn external identifier for the user."12345"
name.formattedStringRequiredThe full name of the user."Dwight Schrute"
name.familyNameStringOptionalThe family name or last name of the user."Schrute"
name.givenNameStringOptionalThe given name or first name of the user."Dwight"
phoneNumbers.valueStringOptionalThe user's phone number."+1 (555) 123-4567"
emails.valueStringRequiredThe user's email address."[email protected]"
emails.typeStringOptionalThe category of the email address."work"
emails.primaryBooleanOptionalIndicates whether the email address is the user's primary email.true
entitlements.valueStringOptionalThe user's role in the system."Assistant Regional Manager"
groups.valueStringOptionalThe user groups associated with the user."Sales Team"

Return

Returns the updated information associated with the users.

Sample response

HTTP/1.1 200 OK

{
  "schemas":["urn:ietf:params:scim:schemas:core:2.0:User"],
  "id":"2819c223-7f76-453a-919d-413861904646",
  "externalId":"dschrute",
  "meta":{
    "resourceType":"User",
    "created":"2011-08-01T21:32:44.882Z",
    "lastModified":"2011-08-01T21:32:44.882Z",
    "location": "https://example.com/v2/Users/2819c223-7f76-453a-919d-413861904646",
    "version":"W\/\"e180ee84f0671b1\""
  },
  "name":{
    "familyName":"Schrute",
    "givenName":"Dwight"
  },
  "userName":"dschrute"
}

Was this article helpful?