For the complete documentation index, see llms.txt. This page is also available as Markdown.

/ban-async

post

Create a new ban

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
experienceBanCompletedbooleanOptional
isAppealbooleanOptional
Body
overwritebooleanRequired

If true it will forcefully overwritten any pre-existing ban with this updated data.

userIdnumberRequired
experienceIdnumberRequired
banModeratornumberRequired
banTypeundefined Β· enumRequiredPossible values:
banLengthTypeundefined Β· enumRequiredPossible values:
banLengthstringRequired
banPrivateReasonstringRequired
banPublicReasonstringRequired
Responses
200

OK

application/json
statusundefined Β· enumOptionalPossible values:
post/ban-async
POST /api/v1/ban-async HTTP/1.1
Host: sentinel.metatable.dev
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 184

{
  "overwrite": true,
  "userId": 1,
  "experienceId": 1,
  "banModerator": 1,
  "banType": "Experience",
  "banLengthType": "Temporary",
  "banLength": "text",
  "banPrivateReason": "text",
  "banPublicReason": "text"
}
{
  "status": "ok"
}

Last updated

Was this helpful?