Skip to main content
GET
/
cabinet
/
admin
/
ban-system
/
punishments
Get Punishments
curl --request GET \
  --url https://api.example.com/cabinet/admin/ban-system/punishments \
  --header 'Authorization: Bearer <token>'
{
  "punishments": [],
  "total": 0
}

Authorizations

Authorization
string
header
required

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

Response

200 - application/json

Successful Response

List of active punishments.

punishments
BanPunishmentItem · object[]
total
integer
default:0