Decline a challenge
POST
/bot/challenge/{id}/decline
const url = 'https://play-api.jc.id.lv/bot/challenge/example/decline';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/challenge/example/decline \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
string
Challenge id.
Responses
Section titled “Responses”Declined.
Unknown resource.