Network

Disconnect a container from a network

Changed on
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

    • breaking

      removed the request body

    • breaking

      removed the success response with the status

    • info

      api tag Network added

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the success response with the status

    • breaking

      removed the success response with the status

    • info

      api tag Network removed

    • info

      the request property default value false was removed

    • info

      removed the non-success response with the status

    • info

      removed the non-success response with the status

    • info

      removed the non-success response with the status

    • info

      added the success response with the status