Kick Unit
This endpoint allows you to forcefully kick an active unit back to the community menu.
Kick Unit
Request Body
Name
Type
Description
UNIT KICKEDINVALID REQUEST TYPE
INVALID COMMUNITY ID
API IS NOT ENABLED FOR THIS COMMUNITY
INVALID API KEY{
"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
Was this helpful?

