POST
/
players
/
bans
/
{workspaceId}
/
{banId}
/
comments

There is a more advanced version of this endpoint that allows for uploading files and videos.

However, this API uses multipart encoding instead of JSON, so it has been omitted from this documentation and the Swagger reference.

Authorizations

Authorization
string
headerrequired

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

Path Parameters

workspaceId
string
required
banId
number
required

Body

application/json
body
string
required

Response

200 - application/json
_id
string
required
ban
string
required
body
string
files
string[]
required
videos
string[]
required
workspace
string
required
author
string
required
createdAt
string
required
updatedAt
string
required