Skip to main content

Stop a started Service

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

Request

  • stackIdstring (uuid)
    required

    ID of the Stack to stop a Service for.

  • serviceIdstring (uuid)
    required

    ID of the Service to stop.

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