Skip to main content
PATCH

Authorizations

x-api-key
string
header
required

API key for authentication. Get your API key from the Cronhost dashboard.

Path Parameters

id
string
required

Unique schedule identifier

Example:

"schedule_123"

Body

application/json
enabled
boolean
required

Whether to enable (true) or disable (false) the schedule

Response

Schedule toggled successfully

data
object
required
success
boolean
required
Example:

true

message
string
required
Example:

"Schedule enabled successfully"