Update a workflow schedule
post
https://api.expiryedge.com/v1/updateWorkflowScheduleeditor or admin60/minAny method
Request
curl -X POST 'https://api.expiryedge.com/v1/updateWorkflowSchedule?id=sch_6Yx4' \
-H "Authorization: Bearer $EXPIRYEDGE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"status": "paused"
}'Response
{
"schedule": {
"id": "sch_6Yx4",
"workflow_id": "wf_3Kd9Tx",
"workflow_title": "Annual license renewal",
"owner_id": "u_71bXq",
"organization_id": "org_northwind",
"title_template": "License renewal {date}",
"schedule_type": "monthly",
"interval_days": null,
"weekdays": [],
"day_of_month": 15,
"month_of_year": null,
"hour": 9,
"minute": 0,
"timezone": "UTC",
"start_date": "2026-10-15T09:00:00.000Z",
"end_date": null,
"next_run_at": "2026-10-15T09:00:00.000Z",
"last_run_at": null,
"run_count": 0,
"notify_owner": true,
"assignees": [
"u_71bXq"
],
"status": "paused",
"created_at": "2026-09-27T14:05:00.000Z",
"updated_at": "2026-09-27T14:05:00.000Z"
}
}Applies any of the schedule fields plus status (active / paused / cancelled). next_run_at is recomputed while the schedule is active.
Returns the merged schedule; updated_at in the response is the time of the update (ISO 8601).
The web app sends PUT; any HTTP method is accepted.
idstringrequiredSchedule id.
title_templatestring | nullRun title;{date}is replaced with the run date. Null uses<workflow title> - <date>.schedule_typestringAllowedoncedailyintervalweeklymonthlyyearlyinterval_daysinteger | nullForinterval.weekdaysarray of integerForweekly(0 = Sunday).min: 0 · max: 6day_of_monthinteger | nullFormonthly/yearly.min: 1 · max: 31month_of_yearinteger | nullForyearly.min: 1 · max: 12hourintegerDefault9min: 0 · max: 23minuteintegerDefault0min: 0 · max: 59timezonestringIANA timezone (stored; fire times are computed in server time fromhour/minute).DefaultUTCstart_datestringFirst possible fire time; foroncethis is the fire time.format: date-timeend_datestring | nullformat: date-timeassigneesarray of stringUsers of your organization assigned to created runs (default: you).notify_ownerbooleanDefaulttruestatusstringAllowedactivepausedcompletedcancelled
200
Updated schedule.
scheduleobjectrequired
400 | The request is missing required fields or contains invalid values. |
401 | Missing, expired or invalid bearer token. |
403 | Authenticated, but your role or organization does not allow this action. |
404 | The record does not exist or is not in your organization. |
429 | Too many requests for this endpoint from your IP. Wait Retry-After seconds. |
500 | Unexpected server error. Retry later; quote requestId to support. |
