Get all bans
GET
https://plugin.tebex.io/bans
Returns an array of all bans on your account.
{
"data": [
{
"id": 2,
"time": "2017-08-17T14:57:50+00:00",
"ip": "",
"payment_email": "",
"reason": "Because of fraud",
"user": {
"ign": "test0",
"uuid": "45611b2c5d284dfc96f65fa77d2a4f57"
}
}
]
}
Create a ban
POST
https://plugin.tebex.io/bans
Create a ban against a player or/and IP address.
Request Body
{
"data": {
"id": 2,
"time": "2017-08-17T14:57:50+00:00",
"ip": "",
"payment_email": "",
"reason": "Because banned",
"user": {
"ign": "test0",
"uuid": "45611b2c5d284dfc96f65fa77d2a4f57"
}
}
}