remove

suspend fun remove(id: String): Result<Unit, ErrorResponse>

Deletes a network; disconnect attached containers first when required by Docker.

Return

Operation response on success, or the Docker error response. Transport failures and cancellation can throw.

Parameters

id

Network ID or name.