Kick Unit

This endpoint allows you to forcefully kick an active unit back to the community menu.

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

Kick Unit

POST https://api.sonorancad.com/emergency/kick_unit

This endpoint allows you to forcefully kick an active unit back to the community menu.

Request Body

UNIT KICKED
{
    "id": "YOUR_COMMUNITY_ID",
    "key": "YOUR_API_KEY",
    "type": "KICK_UNIT",
    "data": [
        {
            "apiId": "STEAM:1234", // API ID entered in the unit identifiers
                                   // Typically, this is their STEAM ID
            "reason": "Automated AFK Timer", // "You have been kicked for {REASON}"
            "serverId": 1
        },
    ]
}

Last updated