Zum Hauptinhalt springen

Update a cronjob

PATCH/cronjobs/{cronjobId}/
v2
PATCH
cronjob-update-cronjob

Request

  • cronjobIdstring (uuid)
    required

    ID of the Cronjob to be updated.

Responses

Kein Request-Inhalt spezifiziert.

Usage examples

$ curl \
--fail \
--location \
-X PATCH \
-d '{"active":true,"description":"i am a cronjob","destination":{"url":"https://mydomain.com"},"email":"email@mittwald.example","interval":"*/5 * * * *","timeout":123}' \
-H "Authorization: Bearer $MITTWALD_API_TOKEN" \
-H 'Content-Type: application/json' \
https://api.mittwald.de/v2/cronjobs/f0f86186-0a5a-45b2-aa33-502777496347