Skip to main content
POST
/
docker
/
stop-container
/
{container_name}
Stop Container
curl --request POST \
  --url http://localhost:8000/docker/stop-container/{container_name} \
  --header 'Authorization: Basic <encoded-value>'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>",
      "input": "<unknown>",
      "ctx": {}
    }
  ]
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

container_name
string
required

Response

Successful Response