curl -X DELETE "https://api.a1base.com/v1/cron-jobs/{accountId}/delete/550e8400-e29b-41d4-a716-446655440000" \
  -H "X-API-Key: your-api-key" \
  -H "X-API-Secret: your-api-secret"
204 No Content

Permanently delete a cron job. This action cannot be undone.

Path Parameters

accountId
string
required

Your A1Base account ID

cron_job_id
string
required

The unique identifier of the cron job to delete (UUID format)

Response

Returns 204 No Content on successful deletion.

Deleting a cron job is permanent and cannot be undone. All associated execution history will also be deleted.

curl -X DELETE "https://api.a1base.com/v1/cron-jobs/{accountId}/delete/550e8400-e29b-41d4-a716-446655440000" \
  -H "X-API-Key: your-api-key" \
  -H "X-API-Secret: your-api-secret"
204 No Content

Before Deleting

Consider these alternatives before deleting a cron job:

Error Responses

404 Not Found

Cron job with the specified ID does not exist

{
  "detail": [
    {
      "loc": ["path", "cron_job_id"],
      "msg": "Cron job not found",
      "type": "not_found"
    }
  ]
}
401 Unauthorized

Invalid or missing API credentials

{
  "detail": "Invalid API credentials"
}