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
Name | Type | Description |
---|---|---|
apikey* | string | apikey |
Authorization* | string | Bearer access token |
Request Body
Name | Type | Description |
---|---|---|
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. |
Unblock User
POST
‎https://<domain>/<api prefix>/<version>/unblock/user/
This API endpoint will unblock a user.
Headers
Name | Type | Description |
---|---|---|
apikey* | string | apikey |
Authorization* | string | Bearer access token |
Request Body
Name | Type | Description |
---|---|---|
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