Remove the webhook
DELETE
/bot/webhook
const url = 'https://play-api.jc.id.lv/bot/webhook';const options = {method: 'DELETE', 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 DELETE \ --url https://play-api.jc.id.lv/bot/webhook \ --header 'Authorization: Bearer <token>'Deliveries stop at the next turn; the games themselves keep running.
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”Removed.
No webhook was registered.
Webhooks disabled on this server.