Delete a schedule by id
Deletes a schedule if found. This permanently disabled the schedule but soft deletes the schedule object (metadata is kept even after deletion).
DELETE /v1/schedule/{scheduleId}
curl \
-X DELETE https://cron.apihustle.com/v1/schedule/{scheduleId} \
-H "ClientId: string" \
-H "ApiKey: string"
Response examples (200)
{
"success": true
}
Response examples (400)
{
"error": "Error message"
}
Response examples (401)
{
"error": "Error message"
}
Response examples (404)
{
"error": "Error message"
}
Response examples (500)
{
"error": "Error message"
}