Update User

This endpoint is used to update a user.

Controlled Errors

Error CodeError Message
error_user_not_foundUser with the provided Id was not found.
error_user_error_updating_account_ownerThe account owner's user cannot be updated.
error_locale_not_foundThe locale provided does not exist.
error_phonenumber_invalid_formatThe phone number provided is not in a valid format.
error_phonenumber_duplicatedThe phone number provided is in use by another user.
error_user_not_updatedThe user update failed.

Any status codes returned that are not provided here are generic status codes that can be found here.

Path Params
string
required

The Guid Id of the user to get.

Body Params
string
required

The email for the user. Must be in email format ([email protected]) Max length is 150 characters.

string
required

The first name of the user.

string
required

The last name of the user.

string

The phone number of the user. Must be in a valid phone number format. Max length is 25 characters.

string
required

The language locale of the user. For available languages, see languages.

Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
Credentials
OAuth2
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
text/plain