DocsAPI ReferenceCancel a scheduled bot
DELETE
/api/v1/bots/schedule/{bot_id}Cancels a pending scheduled bot. The bot will not be launched. Only works for bots with status `scheduled`.
Path Parameters
bot_idintegerrequirede.g. 7Scheduled bot integer ID.
Headers
X-API-KeystringrequiredYour workspace API key.
Responses
200Bot cancelled.
{
"message": "Scheduled bot cancelled."
}404Not found or already launched.
Try it live
API Configurationglobal · all endpoints
DELETE
https://api.serveka.com/api/v1/bots/schedule/7Path Parameters
curl -X DELETE 'https://api.serveka.com/api/v1/bots/schedule/7' \