Skip to Content
SeyloDocs
API referenceCron jobs

Delete a cron job

POST
/api/v1/cron.delete

Deletes a cron job and its run history. A run in progress is stopped.

Needs services.cron on the service (a grant on its project covers it). Available to MCP clients and the assistant, after a person approves the call.

Authorization

cookieseylo_session<token>

Request Body

application/json
  1. body
serviceId*string

Panel-issued id.

Match^[a-z0-9]{16}$
cronJobId*string

Panel-issued id.

Match^[a-z0-9]{16}$

Response Body

Success.

application/json
  1. response
Example Request
curl -X POST 'https://example.com/api/v1/cron.delete' \  -H 'Content-Type: application/json' \  -d '{  "serviceId": "string",  "cronJobId": "string"}'
Example Response
{}