Update User

Update an existing user's information. The 'enterprise_id' and 'is_active' fields cannot be modified directly. The 'is_active' field is computed automatically based on allocations on non-deleted cost centers. Use the 'allocations' field to update the user's subsidiary and cost center assignments. Adding allocations will automatically activate the user, and removing all allocations will inactivate them.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
uuid
required

Id of the desired object

string
required

Id of the selected enterprise

Body Params
string

User's first name

string

User's last name

string

Phone number in E164 format (e.g., +56912345678)

string

User's email address

string

Internal identifier for the user

string

Government-issued ID number

allocations
array of objects

List of subsidiary and cost center allocations. Sending allocations: [] deactivates the user: it removes their cost centers, roles and responsibilities, and also the relation with their manager in each subsidiary, so they no longer appear among the manager's subordinates. The user and their history are kept. When reactivating the user, send user_manager_id again.

allocations
Responses

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