Overview
Update an existing cron job. When you update a cron job, all pending events created by that cron are automatically deleted and new events will be generated based on the updated schedule.Parameters
The UUID of the cron job to update.
The full URL of the webhook endpoint to call. Must be a valid HTTP/HTTPS URL.
HTTP method to use for the webhook request. Options:
GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS. Defaults to POST.Cron expression defining the schedule (e.g.,
0 9 * * * for daily at 9 AM).Timezone for the cron schedule (e.g.,
America/New_York). null for UTC.Custom headers to include in the webhook request. Object with string keys and values.
Payload to send with the webhook request. Can be any JSON-serializable object.
Retry configuration for failed webhook attempts.
Whether the cron job should be active.
true to activate, false to deactivate.Response
The updated cron job object.
Errors
When you update a cron job, all pending events created by that cron are automatically deleted and new events will be generated based on the updated schedule.
NotFoundError: If the cron job doesn’t existValidationError: If the update data is invalid (e.g., invalid cron expression)UnauthorizedError: If API key is invalid or missing