Workflows

Update schedule

Sets or updates the cron schedule for a workflow.

put/workflows/{id}/schedule

Request

  • Base URL
    https://workflow.loopfour.ai/api/v1
  • URL
    https://workflow.loopfour.ai/api/v1/workflows/{id}/schedule
  • Auth
    API key in header x-api-key

Path parameters

idstring required

Request body

cronstring

Cron expression.

timezonestring

IANA timezone.

enabledboolean

Enable/disable schedule.

Example request

{
  "cron": "0 9 * * 1-5",
  "timezone": "America/New_York"
}

Response

Updated

object required

Changes

No recorded changes to this operation across all 1 revision of this API.