# getBanList

Description: Get a list of blocked users.

Request example:

{
    "method" : "getBanList",
    "requestId" : "1"
}

Response example:

{
    "banList" : [
        {
            "peerId" : "user1@some.server",
            "peerDn" : "User 1"
        },
        {
            "peerId" : "user2@some.server",
            "peerDn" : "User 2"
        },
        {
            "peerId" : "user3@some.server",
            "peerDn" : "User 3"
        }
    ],
    "method" : "getBanList",
    "requestId" : "1",
    "result" : true
}

Parameter description:

  • peerIdTrueConf ID, unique user identifier

  • peerDn — User display name

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

See also: