Skip to main content

Cancel an open battle

POST 

/battles/:id/cancel

Creator only, and OPEN only. A battle that already started cannot be cancelled through this route.

The body is optional. When player_ref is supplied it is checked against the creator; when it is omitted that check is skipped, so send it whenever the call originates from a player action rather than from an operator.

Scope: battles:write

Request

Responses

Battle cancelled