Update User Deprecate
Updates an existing user in the organization.
Authentication
Api-Keystring
API key of the organization. Always sent together with the Secret-Access header.
Path parameters
id
organization_slug
Headers
Secret-Access
Query parameters
version
Request
This endpoint expects an object.
first_name
First name of the user
last_name
Last name of the user
area_level_1_id
Id of the organization direction (Area level 1)
position_id
Id of the position related to the user
position_category_id
Id of the position category
permission_group_id
Id of the permission group
area_level_2_id
Id of the organization department (Area level 2)
area_level_3_id
Id of the organization office (Area level 3)
area_level_4_id
Id of the organization suboffice (Area level 4)
headquarter_id
Id of the organization headquarter
boss_email
Email of the user's boss
boss_id
User id of the user's boss
document_type
Document type of the user
document
Document of the user
gender
Gender of the user
civil_status
Civil status of the user
phone_1
Phone number 1 of the user
phone_2
Phone number 2 of the user
address
Address of the user
city
City of the user
country
Country of the user
deactivation_date
Deactivation date of the user. Accepts dd/mm/yyyy or yyyy-mm-dd; it is normalized to yyyy-mm-dd.
incorporation_date
Incorporation date of the user. Accepts dd/mm/yyyy or yyyy-mm-dd; it is normalized to yyyy-mm-dd.
username
Username of the user
Response
Successful Response
message
Message of the response
code
Internal code of the response
datetime
Datetime of the API in ISO Format
data
Errors
422
Unprocessable Entity Error
