cURL
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": { "expires": "<string>", "_id": "<string>", "groupId": "<string>", "userId": "<string>", "reason": "<string>", "disciplinarianId": "<string>", "active": "<string>", "created": true } }
The request was successful, and a new resource was created.
Workspace bans
Show child attributes