Blocked Users List

To retreive the all blocked users list.

info

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

HTTP request#

curl -X GET "https://{api-base-url}/api/v1/users/blockUsersList?page={page}&size={size}"
-H "accept: */*"
-H "Authorization: AuthToken"

Request Params#

ParamDataTypeRequiredDescription
pageNumberNoPage number to get the particular page data default value is 1
sizeNumberNoNumber of users per page default value is 10

Responses#

If successful, this action returns blocked users list in the response body.

{
"status": 200,
"data": {
"users": [
{
"userId": "99xxxxxx11",
"mobileNumber": "99xxxxxx11",
"nickName": "samplenickname",
"profileUrlThumb": "thumb-xxxxxx",
"emailId": "ample@gmail.com",
"image" : "sampleimage",
"status": "string"
}
],
"totalPages": 1,
"totalRecords": 1
},
"message": "Data retrieved successfully"
}

Error#

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

When the token passed in Headers is not given or expired

{
"status": 401,
"message": "Token Expired"
}

In the case of a Bad Request, an error message is returned

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