Disconnect a container from a network Run in API Explorer
POST
/networks/{id}/disconnect
curl \
--request POST 'http://api.example.com/v1.44/networks/{id}/disconnect' \
--header "Content-Type: application/json" \
--data '{"Container":"string","Force":true}'
Request examples
{
"Container": "string",
"Force": true
}
Response examples (403)
{
"message": "Something went wrong."
}
Response examples (403)
{
"message": "Something went wrong."
}
Response examples (404)
{
"message": "Something went wrong."
}
Response examples (404)
{
"message": "Something went wrong."
}
Response examples (500)
{
"message": "Something went wrong."
}
Response examples (500)
{
"message": "Something went wrong."
}