Reinstatement User

Purpose: Reinstate a user in the platform who already existed but was previously removed.
Scope: Restores access to a preexisting user in the platform.

Authentication

Api-Keystring

API key of the organization. Always sent together with the Secret-Access header.

Path parameters

organization_slugstringRequired

Headers

Secret-AccessstringRequired

Request

This endpoint expects an object.
first_namestringRequired
First name of the user
last_namestringRequired
Last name of the user
emailstringRequired
Email of the user
area_level_1_idintegerRequired

Id of the organization direction (Area level 1)

position_idintegerRequired
Id of the position related to the user
position_category_idintegerRequired
Id of the position category
area_level_2_idintegerOptional

Id of the organization department (Area level 2)

area_level_3_idintegerOptional

Id of the organization office (Area level 3)

area_level_4_idintegerOptional

Id of the organization suboffice (Area level 4)

headquarter_idintegerOptional
Id of the organization headquarter
boss_emailstringOptional
Email of the user's boss
boss_idintegerOptional
User id of the user's boss
document_typeenumOptional
Document type of the user
documentstringOptional
Document of the user
genderenumOptional
Gender of the user
civil_statusenumOptional
Civil status of the user
phone_1stringOptional
Phone number 1 of the user
phone_2stringOptional
Phone number 2 of the user
addressstringOptional
Address of the user
citystringOptional
City of the user
countryenumOptional
Country of the user
deactivation_datedateOptional

Deactivation date of the user in format YYYY-MM-DD

incorporation_datedateOptional

Incorporation date of the user in format YYYY-MM-DD

birth_datedateOptional

Birth date of the user in format YYYY-MM-DD

send_invitationbooleanOptional
If the value is true, it will send an activation invitation to the user's email.
usernamestringOptional
Username of the user

Response

Successful Response
messagestring
Message of the response
codestring
Internal code of the response
datetimestring
Datetime of the API in ISO Format
dataobjectOptional

Errors

422
Unprocessable Entity Error