Avnology ID
API ReferenceUsers

Enable User

Reactivate a previously disabled user account, allowing them to authenticate again.

Endpoint

POST /v1/identities/{id}:reactivate

Base 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

StatusCodeDescription
404AVNOLOGY_AUTH_901User not found
403AVNOLOGY_AUTH_100Insufficient permissions
  • Disable User -- deactivate a user
  • Get User -- check current state
  • SDK: client.admin.reactivateUser(userId) (TypeScript)