Step 3: Update User
PATCH {{apiPath}}/environments/{{envID}}/users/{{userID}}
The PATCH /environments/{{envID}}/users/{{userID}}
operation updates existing attribute properties.
For the PATCH
operation, the update operation targets only those attribute values specified in the request body. Attributes omitted from the request body are not updated or removed.
Note: If the user does not have update access to an attribute, a 403 Forbidden
error is returned when an update is attempted for that attribute.
Property | Type | Required? |
---|---|---|
photo.href | String | Optional |
See the User operations data model for full property descriptions.
Request Body
{"photo"=>{"href"=>"{{userImage}}"}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | string | ||
Content-Type | string |