Pular para o conteúdo principal

Close an open lobby

POST 

/admin/battles/:id/cancel

The one write on this surface. Only a battle that is still OPEN can be cancelled — once it has started there are recordings in flight, and a status change would leave connected viewers watching a battle the server has already buried.

It goes through the same path the casino's own cancel does: the transition is published, and every viewer of that lobby is told.

No body. There is nothing to say beyond the request itself, and an optional reason would be an audit field with no audit behind it.

Permission: battles.write

Request

Responses

Cancelled, with the battle as it now stands