# block

Description: add a user to the block list.

Request example:

{
    "method" : "block",
    "requestId" : "1",
    "peerId" : "user1@some.server"
}

Response example:

{
    "method" : "block",
    "requestId" : "1",
    "peerId" : "user1@some.server",
    "result" : true
}

Parameter description:

  • peerId - unique user identifier (TrueConf ID). Applicability:

    • PeerId - supported. Within the app, it is automatically converted to CallId and added to the block list accordingly.

    • CallId - supported. The specified identifier will be added to the block list.

    • InstanceId - supported. Inside the application, it is automatically converted to CallId and added to the block list based on it.

  • requestId - a unique request identifier. You can learn more about it here.

See also: