POST
/
players
/
bans
/
{workspaceId}

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

workspaceId
string
required

Body

application/json
player
string
required
reason
string
required
source
string
required
actor
string

Response

200 - application/json
actor
string
required
victim
string
required
workspace
string
required
reason
string
required
removed_by
string
removed_at
string
ban_incremental_id
number
required
source
string
createdAt
string
required
updatedAt
string
required
_id
string