POST
/
users
/
unblock
/
{identifier}
Unblock user
curl --request POST \
  --url https://localhost:5000/users/unblock/{identifier} \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "message": "User unblocked successfully"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

identifier
string
required

Username or user ID

Response

User unblocked successfully

success
boolean
Example:

true

message
string
Example:

"User unblocked successfully"