Update an entity user

PATCH
/entity_users/:entity_user_id
Change the specified fields with provided values.

Path parameters

entity_user_idstringRequired

Headers

Auth
AuthorizationstringRequired
Bearer authentication of the form Bearer <token>, where token is your auth token.
x-monite-versionstringRequired
x-monite-entity-idstringRequired
The ID of the entity that owns the requested resource.

Request

This endpoint expects an object.
emailstringOptional
An entity user business email
first_namestringOptional
First name
last_namestringOptional
Last name
loginstringOptional
Login
phonestringOptional
An entity user phone number in the international format
role_idstringOptional
UUID of the role assigned to this entity user
titlestringOptional
Title

Response

This endpoint returns an object.
idstring
UUID entity user ID
created_atdatetime
UTC datetime
updated_atdatetime
UTC datetime
loginstring
Login
role_idstring
UUID role ID
status"active" or "deleted"
Allowed values: activedeleted
record status, 'active' by default
emailstringOptional
An entity user business email
first_namestringOptional
First name
last_namestringOptional
Last name
phonestringOptional
An entity user phone number in the international format
userpic_file_idstringOptional

Errors