Skip to content

Delete schedule

DELETE
/api/v1/schedules/{id}
Code sample: cURL
curl -X DELETE 'https://dashboard.justcrawl.io/api/v1/schedules/sch_01ABC' \
-H 'Authorization: Bearer $JUSTCRAWL_API_KEY'

Permanently removes the schedule. Past schedule_runs rows are kept (they reference the schedule by ID and survive the delete) but no future runs will fire. To temporarily disable instead, use PATCH /api/v1/schedules/{id}/toggle with isEnabled: false.

id
required
string

Schedule deleted.

Missing or invalid authentication token

Media type application/json
object
error
string
Example
{
"error": "Missing or invalid authentication token"
}

Insufficient permissions for this operation

Media type application/json
object
error
string
Example
{
"error": "No organization. Complete onboarding first."
}

Schedule not found.

Unexpected server error. Logs and PostHog $exception capture

Media type application/json
object
error
string
Example
{
"error": "Something went wrong"
}