Reactivate a previously deactivated user within an organization, restoring their roles and department memberships.
POSThttps://api.aitronos.com/v1/organizations/{organization_id}/users/{user_id}/reactivate
Sets the user's status back to active. Their previously assigned roles and department memberships are preserved and become effective again.
organization_id string required
The unique identifier of the organization (format: org_*).
user_id string required
The unique identifier of the user to reactivate (format: usr_*).
The updated user object with account_state set to "active".
cURL
- Bash
- Python
- Python
- JavaScript
curl -X POST https://api.aitronos.com/v1/organizations/org_xyz789/users/usr_abc123/reactivate \
-H "Authorization: Bearer $ACCESS_TOKEN"