Manage User
Block and Unblock User
Block User
POST ‎https://<domain>/<api prefix>/<version>/block/user/
This API endpoint will block a user account.
Headers
apikey*
string
apikey
Authorization*
string
Bearer access token
Request Body
unique_id*
string
Unique key of user.
HTTP/1.1 200 OK
Content-Type: application/json
Body:
{
"status_code": 200,
"errors": {},
"data": {}
}Sample Code
Node
PHP
Error Responses
Status Code
Error Type
Field
Description
400
Validation Error
unique_id
This field is required and its may not be blank.
User not exist or invalid unique id.
Ensure this field has no more than 255 characters.
Unblock User
POST ‎https://<domain>/<api prefix>/<version>/unblock/user/
This API endpoint will unblock a user.
Headers
apikey*
string
apikey
Authorization*
string
Bearer access token
Request Body
unique_id*
string
Unique key of user.
Sample Code
Node
PHP
Error Responses
Status Code
Error Type
Field
Description
400
Validation Error
unique_id
This field is required and its may not be blank.
User not exist or invalid unique id.
Ensure this field has no more than 255 characters.
Last updated