Remove a network Run in API Explorer

DELETE /networks/{id}

Path parameters

  • id string Required

    Network ID or name

Responses

  • 204

    No error

  • 403 application/json

    operation not supported for pre-defined networks

    Hide response attribute Show response attribute object
    • message string Required

      The error message.

  • 404 application/json

    no such network

    Hide response attribute Show response attribute object
    • message string Required

      The error message.

  • 500 application/json

    Server error

    Hide response attribute Show response attribute object
    • message string Required

      The error message.

DELETE /networks/{id}
curl \
 --request DELETE 'http://api.example.com/v1.44/networks/{id}'
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."
}