Network

Disconnect a container from a network

post/networks/{id}/disconnect

Request

  • Base URL
    /v1.57 (relative, and the document was published on a file host, not at the API’s origin)
  • Auth
    none declared

Path parameters

idstring required

Network ID or name

Request body

Containerstring required

The ID or name of the container to disconnect from the network.

Forceboolean

Force the container to disconnect from the network.

Example request

{
  "Container": "3613f73ba0e4"
}

Response

No error

Changes

No recorded changes to this operation across all 88 revisions of this API.