Kick or Ban User

This endpoint allows you to kick or ban a user account in your community.

This API endpoint requires the plus version of Sonoran CAD or higher. For more information, see our pricing page.

Ban User

POST https://api.sonorancad.com/general/ban_user

This endpoint allows you to ban a user account in your community.

Request Body

Name
Type
Description

id

string

Your community's ID

key

string

Your community's API Key

type

string

BAN_USER

data

array

Array of user account ban objects

User Ban: {{ ACCOUNT UUID }} Status: {{ isBan }}
{
    "id": "YOUR_COMMUNITY_ID",
    "key": "YOUR_API_KEY",
    "type": "BAN_USER",
    "data": [
        {
            "apiId": "STEAM:1234",  // (Option 1) API ID entered in the unit identifiers
                                    //   Typically, this is their STEAM ID
            "accId": "000-000-000", // (Option 2) Sonoran SSO UUID
            "isBan": true, // OPTIONAL: Ban (true) or un-ban (false)
            "isKick": false // OPTIONAL: Kick instead of ban
        },
    ]
}

Last updated