Skip to main content
POST
/
cabinet
/
admin
/
ban-system
/
settings
/
whitelist
/
add
Whitelist Add
curl --request POST \
  --url http://localhost:8080/cabinet/admin/ban-system/settings/whitelist/add \
  --header 'Content-Type: application/json' \
  --data '
{
  "username": "<string>"
}
'
{
  "success": true,
  "message": "<string>"
}

Body

application/json

Request to add/remove from whitelist.

username
string
required
Minimum string length: 1

Response

Successful Response

Unban response.

success
boolean
required
message
string
required