Leave the rating ladder
POST
/bot/ladder/leave
const url = 'https://play-api.jc.id.lv/bot/ladder/leave';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/ladder/leave \ --header 'Authorization: Bearer <token>'Freezes the bot’s rating and stops new ladder pairings. Registered bots only.
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”Ladder membership state.
Media typeapplication/json
object
onLadder
required
boolean
glickoRating
required
number
glickoRd
required
number
Examplegenerated
{ "onLadder": true, "glickoRating": 1, "glickoRd": 1}The caller is anonymous or static; this feature needs a registered identity.