UnBlock Groups

To unblock the groups 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\": [ \"77xxxxxx11\" ], \"type\": \"group\"}"

Request Params#

ParamDataTypeRequiredDescription
blockStatusBooleanYesfalse to unblock the group.
idArray of StringYesList of group id's to unblock.
typeStringYesgroup to denote the block group.

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"
}