Update a User
A User can be updated by sending the
PUT request to
The request body contains the new data to be updated. The request body schema is same as that of Creating a new User with the exception of the email/username field which can not be updated.
A user can update itself also. First name and Last name but not the username and role. An admin can update first name last name and role. No one can update the username.
The User was created. The response body will contain the newly created user object
Some of the data validation failed.
The user making the request is not authenticated
Last updatedThis article was last updated on April 23rd, 2019.
If you are familiar with the high level API concepts and only looking for the endpoint implementation details, there is a repository with the latest OpenAPI 2.0 specifications (compatible with Swagger).OpenAPI Specs