How can we help?

Searching:

0 results found

Users/UnblockUser

POST /odata/users/unblockUser

Description

Axonize Users may be blocked from logging in after repeated unsuccessful login attempts. In this case, the Status property of the User is assigned the value Blocked.

This option is only enabled for administrators. An administrator’s Token must be included in the request header.

This endpoint unblocks the User so that the User’s Status property is changed to Activated, and the User can try to log in again.

Check out the following for request and response details ‒

See Also

Request ‒ Users/UnblockUser

Property Type Description Mandatory
userId String The identifier of the User to be unblocked.

This is the unique identifier automatically assigned by Axonize when a User is created. This userId is returned in the response of the Users/Post.

Y

Example JSON Users/UnblockUser Request

curl -X POST \

  https://api.stg.axonize.com/odata/users/unblockuser \

  -H ‘Cache-Control: no-cache’ \

  -H ‘Content-Type: application/json’ \

  -H ‘appId: be517433-c4b8-4748-9258-1b1234567890’ \

  -H ‘Authorization: Token’ \

  -d ‘{

  “userId”: “auth0|585163207ba1a03b373fd628”

}’

Response ‒ Users/UnblockUser

All the same properties in the request are returned in the response.

Example JSON Users/UnblockUser Response

Status 200 – OK