Skip to main content
Cron Jobs

Delete a cron job tracked for a server

Removes the cron job from Webdock metadata. If the job is active, removal is also queued on the server asynchronously. If the job is already paused, it is already absent from the live crontab and deletion completes immediately with no server write. Only one cron job mutation can run at a time per server; if another cron create/pause/unpause/delete operation is in progress, this request returns HTTP 400 until that operation completes.

DELETE
/servers/{serverSlug}/cronjobs/{cronjobId}
Authorizationstringheaderrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

serverSlugstringrequired

Slug of the server where the cron job exists

cronjobIdintegerrequired

Cron job ID from Webdock metadata storage

Delete cron job request accepted

X-Callback-IDstringheader

CallbackID