Ploi API
Ploi API

Stop container

Stop a container in your server.

POST /api/servers/{server}/docker/containers/{container}/down

Example request:

curl -X POST "https://ploi.io/api/servers/{server}/docker/containers/{container}/down" \
-H "Authorization: Bearer {token}" \
-H "Content-Type: application/json" \
-H "Accept: application/json"

Body Parameters

Name Type Description
flags array Optional. Additional flags to pass to docker-compose down.

Response

{
  "message": "Docker container nginx-app has been queued for shutdown"
}