Automations

Update an automation

Changed on

Update an automation's name, description, or schedule. Does not change which script it runs.

patch/automations/{automationId}

Request

  • Base URL: https://api.sazabi.com/v1
  • URL: https://api.sazabi.com/v1/automations/{automationId}
  • Auth: none declared

Path parameters

automationIdstring uuid required

Automation ID.

Request body

expectedRevisioninteger required

Configuration revision returned by the last read. Stale writes return a conflict; reload before retrying.

projectIdstring uuid

Project that owns the automation. Auto-filled from CLI and SDK context when omitted.

namestring

New automation name.

descriptionstring nullable

New description, or null to clear it. Omit to leave unchanged. At most 2,000 characters.

cronExpressionstring

New cron schedule.

timezonestring

New IANA timezone.

timeoutSecondsinteger

New execution timeout in seconds.

Response

OK

Changes

    • breaking

      removed the required property / from the response with the status

    • breaking

      removed the required property / from the response with the status

    • info

      removed the log_match enum value from the / response property for the response status

    • info

      removed the signal enum value from the / response property for the response status

    • info

      added the required property / to the response with the status

    • info

      added the required property / to the response with the status