Block Friend

Block friend will include Block or Unblock, view Block Friends List

Common Parameters

Key
Type
Description

friendId

String

id of the user

Block Friend

Request

POST /v1/friends/block HTTP/1.1
Host: friend-dev.api.mimiland.io
mm-client-id: mml
Content-Type: application/json
Authorization: bearer v4.public.eyJhZC*****5xTtpdbQI
mm-user-id: 6552e9dd1f835ac7ca4ba3ec
Content-Length: 46

{
    "friendId": "653263627f60e4b804d97d04"
}

List Block Friend

Request

GET /v1/friends/block/100/0 HTTP/1.1
Host: friend-dev.api.mimiland.io
mm-client-id: mml
Content-Type: application/json
Authorization: bearer v4.public.eyJhZC*****5xTtpdbQI
mm-user-id: 6552e9dd1f835ac7ca4ba3ec

List Block Me

Request

GET /v1/friends/block/me/100/0 HTTP/1.1
Host: friend-dev.api.mimiland.io
mm-client-id: mml
Content-Type: application/json
Authorization: bearer v4.public.eyJhZC*****5xTtpdbQI
mm-user-id: 653263627f60e4b804d97d04

Unblock Friends

Request

POST /v1/friends/unblock HTTP/1.1
Host: friend-dev.api.mimiland.io
mm-client-id: mml
Content-Type: application/json
Authorization: bearer v4.public.eyJhZC*****5xTtpdbQI
mm-user-id: 653263627f60e4b804d97d04
Content-Length: 46

{
    "friendId": "650ad4aa7f60e4b804d96bda"
}

Last updated