API ReferenceUsers
Enable User
Reactivate a previously disabled user account, allowing them to authenticate again.
Endpoint
POST /v1/identities/{id}:reactivateBase URL: https://api-id.avnology.net
Authentication: API Key or OAuth token with admin:users:write scope
Reactivates a deactivated user identity, setting its state back to active.
Request
Example Request
curl -X POST
Response
Success (200 OK)
Returns the updated user object with state: "active".
{
"id": "usr_4f18acec-2712-4be7-a9af-b063b4f6deba",
"state": "active",
"..."
}Errors
| Status | Code | Description |
|---|---|---|
| 404 | AVNOLOGY_AUTH_901 | User not found |
| 403 | AVNOLOGY_AUTH_100 | Insufficient permissions |
Related
- Disable User -- deactivate a user
- Get User -- check current state
- SDK:
client.admin.reactivateUser(userId)(TypeScript)