curl --request POST \
--url https://api.example.com/cabinet/admin/ban-system/ban \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"username": "<string>",
"minutes": 30,
"reason": "<string>"
}
'{
"success": true,
"message": "<string>"
}Manually ban a user.
curl --request POST \
--url https://api.example.com/cabinet/admin/ban-system/ban \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"username": "<string>",
"minutes": 30,
"reason": "<string>"
}
'{
"success": true,
"message": "<string>"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.