Resign a game
POST
/bot/game/{id}/resign
const url = 'https://play-api.jc.id.lv/bot/game/example/resign';const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://play-api.jc.id.lv/bot/game/example/resign \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
string
Game id.
Responses
Section titled “Responses”Accepted.