Skip to main content

Restart a started Service

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

Request

  • stackIdstring (uuid)
    required

    ID of the Stack to restart a Service for.

  • serviceIdstring (uuid)
    required

    ID of the Service to restart.

Responses

No response content specified.

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/restart