Skip to main content
POST
Create a ban

Authorizations

loader-id
string
header
required

Body

application/json
userId
string
required
reason
string
required
bannedByUserId
string
required
expiresInDays
number

Response

The request was successful, and a new resource was created.

success
boolean
required
ban
object
required

Workspace bans