Docs home

User Unblock

Unblocks a user in your institute that was blocked with "User Block", so they can log in again.

POST/admin/institution/user/unblock
User Unblock
curl --request POST \
  --url 'https://<your-api-host>/nuSource/api/v1/admin/institution/user/unblock' \
  --header 'APIKEY: <your-api-key>' \
  --header 'ORGID: <your-org-id>' \
  --form 'JSONString={"user_id":69007}'
{
  "code": 200,
  "message": "Success",
  "response": {
    "status": 1
  }
}

Access: Institute admins only. The user must belong to the organization in your ORGID header.

Request body: form-data with one field, JSONString, containing this JSON:

BodyJSONString
user_idintegerrequired
The user to unblock.
Response200application/json
codeinteger
Example: 200
messagestring
Example: Success
responseobject
Show child attributesHide child attributes
Example: 1

Notes: Fails with "Not Authorized" if you aren't an institute admin, or "You Cannot UnBlock This User" if the user isn't in your organization. Rate limit: 30 requests per minute; going over locks you out for 30 minutes.

Updated yesterday

Ask AI