Ban Account

This endpoint allows you to ban an account from your community.

Ban Account

POST https://api.sonorancms.com/general/ban_account

Clock in/out a community account found by API ID or account ID.

Request Body

NameTypeDescription

id*

string

Community ID

key*

string

API Key

type*

string

CLOCK_IN_OUT

data*

array

Array of request objects

CLOCKED IN
FORCE CLOCKED IN
CLOCKED OUT
{
    "id": "YOUR_COMMUNITY_ID",
    "key": "YOUR_API_KEY",
    "type": "BAN_ACCOUNT",
    "data": [
        {
            "apiId": "SOME_API_ID", // Optional - must have one
            "username": "SOMEUSERNAME", // Optional - must have one
            "accId": "SOMEACCID", // Optional - must have one
            "discord": "111122223333444455", // Optional - must have one
            "uniqueId": 1234 // Optional - must have one
        }
    ]
}

Last updated