Stop a Container
PUT/docker-svc/container/stop
Stops a Docker container with the specified parameters.
Requires the docker-svc:container:stop
permission.
Request
- application/json
Body
required
Stop Container Request
id string
name string
Responses
- 200
- 400
- 401
- 500
OK
- application/json
- Schema
- Example (from schema)
Schema
object
{}
Invalid JSON
- application/json
- Schema
- Example (from schema)
Schema
error string
{
"error": "string"
}
Unauthorized
- application/json
- Schema
- Example (from schema)
Schema
error string
{
"error": "string"
}
Internal Server Error
- application/json
- Schema
- Example (from schema)
Schema
error string
{
"error": "string"
}
Loading...