UnBlock Users

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

info

{api-base-url} can be obtained from the MirrorFly console.

HTTP request#

curl -X POST "https://{api-base-url}/api/v1/moderation/block"
-H "accept: */*"
-H "Authorization: xxxxxxxxxxxxxxxxxx"
-H "Content-Type: application/json"
-d "{ \"blockStatus\": false, \"id\": [ \"99xxxxxx11\" ], \"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"
}