Block User
Block a user by calling the "block" to efficiently block a user, preventing further interactions.
info
{api-base-url} can be obtained from the MirrorFly console.
HTTP request#
Request Params#
| Param | DataType | Required | Description | 
|---|---|---|---|
| userId | String | Yes | User Id of the user you want to block | 
Responses#
If successful, this action returns the response body.
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
In the case of a user id is not availble
In the case of a user tries to block/unblock self account
In the case of a user is already blocked