Update a schedule
Update an existing schedule’s configuration
/api/v2/schedules/{scheduleId}AuthorizationBearer token (Anlyon API key) · headerrequiredWorkspace API key sent as Authorization: Bearer <key>.
better-auth.session_tokenAPI key · cookierequiredBrowser session used by dashboard-only operations.
scheduleIdstringrequiredThe schedule ID
X-Request-IdstringOptional caller correlation ID. Unsafe or oversized values are replaced.
application/jsonnamestringcronExpressionstringtimezonestringurlstring<uri>methodstringGETPOSTPUTPATCHDELETEheadersobjectbodyanyRequest body
isPausedbooleanSchedule updated successfully
successbooleandataPublicScheduleShow propertiesHide properties
scheduleIdstringrequirednamestringrequiredcronExpressionstringrequiredtimezonestring | nullrequiredurlstring<uri>requiredmethodstringrequiredGETPOSTPUTPATCHDELETEheadersobject | nullrequiredDelivery headers with sensitive values redacted.
bodyany | nullrequiredRequest body
isActivebooleanrequiredisPausedbooleanrequirednextRunAtstring<date-time> | nullrequiredlastRunAtstring<date-time> | nullrequiredlastStatusstring | nullrequiredcreatedAtstring<date-time>requiredupdatedAtstring<date-time>requiredBad Request - Invalid input data
successbooleanrequiredrequestIdstringrequiredCorrelation ID matching the X-Request-Id response header.
errorobjectrequiredShow propertiesHide properties
codestringmessagestringdetailsobjectUnauthorized - Invalid or missing API key
successbooleanrequiredrequestIdstringrequiredCorrelation ID matching the X-Request-Id response header.
errorobjectrequiredShow propertiesHide properties
codestringmessagestringdetailsobjectAuthenticated credential lacks the required scope or workspace access.
successbooleanrequiredrequestIdstringrequiredCorrelation ID matching the X-Request-Id response header.
errorobjectrequiredShow propertiesHide properties
codestringmessagestringdetailsobjectNot Found - Resource does not exist
successbooleanrequiredrequestIdstringrequiredCorrelation ID matching the X-Request-Id response header.
errorobjectrequiredShow propertiesHide properties
codestringmessagestringdetailsobjectToo Many Requests - Rate limit exceeded
successbooleanrequiredrequestIdstringrequiredCorrelation ID matching the X-Request-Id response header.
errorobjectrequiredShow propertiesHide properties
codestringmessagestringdetailsobject
