Update User Profile

Updates the profile information of an already existing user.

Method

PUT /user/{id}/profile

Parameters

Path Parameters

Name Type Description
id String The id of the user.

Request Body

A JSON object with the following properties:

Name Type Description
id String The id of the user.
firstName String The firstname of the user.
lastName String The lastname of the user.
email String The email of the user.

Result

This method returns no content.

Response Codes

Code Media type Description
204 Request successful.
403 application/json Identity service is read-only (Cannot modify users / groups / memberships).
404 application/json If the user with the requested Id cannot be found.
500 application/json The user could not be updated due to an internal server error. See the Introduction for the error response format.

Example

Request

PUT /user/jonny1/profile

Request Body:

{"id":"jonny1",
  "firstName":"John",
  "lastName":"Doe",
  "email":"aNewEmailAddress"}

Response

Status 204. No content.

On this Page: