Games
Create a ban
API Documentation
Ranking Key
Staff History
Workspace
Sessions
Orders
Games
Create a ban
POST
/
games
/
bans
curl --request POST \
--url https://api.readmin.app/games/bans \
--header 'Content-Type: application/json' \
--header 'loader-id: <api-key>' \
--data '{
"userId": "<string>",
"reason": "<string>",
"bannedByUserId": "<string>",
"expiresInDays": 123
}'
{
"success": true,
"ban": {
"_id": "<string>",
"groupId": "<string>",
"userId": "<string>",
"reason": "<string>",
"disciplinarianId": "<string>",
"active": "<string>",
"created": true,
"expires": "<string>"
}
}
Authorizations
Body
application/json
curl --request POST \
--url https://api.readmin.app/games/bans \
--header 'Content-Type: application/json' \
--header 'loader-id: <api-key>' \
--data '{
"userId": "<string>",
"reason": "<string>",
"bannedByUserId": "<string>",
"expiresInDays": 123
}'
{
"success": true,
"ban": {
"_id": "<string>",
"groupId": "<string>",
"userId": "<string>",
"reason": "<string>",
"disciplinarianId": "<string>",
"active": "<string>",
"created": true,
"expires": "<string>"
}
}