Zum Hauptinhalt springen

Recreate a Service

POST /v2/stacks/{stackId}/services/{serviceId}/actions/recreate/
v2
POST
container-recreate-service

Request

  • stackIdstring (uuid)
    required

    ID of the Stack to recreate a Service for.

  • serviceIdstring (uuid)
    required

    ID of the Service to recreate.

Responses

Kein Request-Inhalt spezifiziert.

Usage examples

$ curl \
--fail \
--location \
-X POST \
-H "Authorization: Bearer $MITTWALD_API_TOKEN" \
https://api.mittwald.de/v2/stacks/f0f86186-0a5a-45b2-aa33-502777496347/services/f0f86186-0a5a-45b2-aa33-502777496347/actions/recreate