Zum Hauptinhalt springen

Set an update schedule for a Stack

PUT/v2/stacks/{stackId}/update-schedule/
v2
PUT
container-set-stack-update-schedule

Request

  • stackIdstring (uuid)
    required

    ID of the Stack to set an update schedule for.

Responses

Kein Request-Inhalt spezifiziert.

Usage examples

$ curl \
--fail \
--location \
-X PUT \
-d '{"updateSchedule":{"cron":"* * * * *","timezone":"Europe/Berlin"}}' \
-H "Authorization: Bearer $MITTWALD_API_TOKEN" \
-H 'Content-Type: application/json' \
https://api.mittwald.de/v2/stacks/f0f86186-0a5a-45b2-aa33-502777496347/update-schedule