Skip to main content
Update an existing cron job. All fields are optional - only provide the fields you want to update.

Path Parameters

string
required
Your A1Base account ID
string
required
The unique identifier of the cron job to update (UUID format)

Request Body

All fields are optional. Only include the fields you want to update.
string
New name for the cron job
string
New description
string
New URL to call
string
New HTTP method: GET, POST, PUT, DELETE
object
New HTTP headers (replaces all existing headers)
string
New request body for POST/PUT methods
string
New timezone
object
New schedule configuration (replaces entire schedule)
object
New retry configuration
object
New webhook URLs
array
New array of tags (replaces all existing tags)
boolean
Activate or deactivate the cron job

Response

Returns the updated cron job object with all current values.

Common Update Scenarios

Note: When updating schedule_config, you must provide all required fields for the schedule type.
When updating schedule_config, provide the complete configuration object with all required fields for the schedule type, not just the fields you want to change.