Update user
Request to update existing user:
PUT /api/v2/users/<user-id>.json
HTTP body should contain JSON formatted profile of user to update.
For example:
{
"user": {
"name": "New User Name"
}
}
Response contains HTTP status code as shown in the following table.
Response | Description |
---|---|
200 OK | User has been successfully updated |
403 Forbidden | The request cannot be completed because API user has no permission to edit users |
400 Bad Request | The request cannot be completed because supplied JSON object has invalid data. When response has content type
|