Delete Network
DELETE
/v2.0/networks/{network_id}Delete a network with the specified ID and its associated resources.
info
Source: delete-network
Request
Path parameters
network_idstringrequiredThe ID of the network.
Example request
- cURL
- HTTP
curl -ks -X DELETE \
-H 'Content-Type: application/json' \
-H 'X-Auth-Token: gAAAAA<...>' \
https://api.vietnix.cloud:9696/v2.0/networks/170546a1-a70a-40af-93e2-9261c7c05b77
DELETE https://api.vietnix.cloud:9696/v2.0/networks/{network_id}
Response
This operation returns no body on success.
Status codes
Success
| Status Code | Description |
|---|---|
| 204 - No Content | The server has fulfilled the request. |
Error
| Status Code | Description |
|---|---|
| 401 - Unauthorized | User must authenticate before making a request. |
| 404 - Not Found | The requested resource could not be found. |
| 409 - Conflict | This operation conflicted with another operation on this resource. |
| 412 - Precondition Failed | The server does not meet one of the preconditions that the requester put on the request header fields. |