UnBlock Users

To unblock the users from using the MirrorFly application, You can use the following API.

info

{your-domain-name} can be obtained from the MirrorFly console.

HTTP request#

curl -X POST "https://api-uikit-dev.contus.us/api/v1/moderation/block"
-H "accept: */*"
-H "Authorization: xxxxxxxxxxxxxxxxxx"
-H "Content-Type: application/json"
-d "{ \"blockStatus\": false, \"id\": [ \"xxxxxx\" ], \"type\": \"user\"}"

Request Params#

ParamDataTypeRequiredDescription
blockStatusBooleanYesfalse to unblock the user.
idArray of StringYesList of user id's to unblock.
typeStringYesuser to denote the block user.

Responses#

If successful, this action returns a Authentication token in the response body.

{
"status": 200,
"message": "Changes updated successfully"
}

Error#

In the case of an error, an error object like below is returned.

{
"status": 400,
"message": "Error Message"
}