Subnetworks

Delete subnetwork

This method deletes a subnetwork.

delete/v1/subnetworks/{subnetworkId}

Request

  • Base URL
    https://api.emma.ms/external
  • Auth
    HTTP bearer

Path parameters

subnetworkIdstring required

Subnetwork ID

Response

Successful operation

idstring

Subnetwork id

namestring

Subnetwork name

dataCenterIdstring

ID of the cloud provider's data center

subnetworkPrefixstring

The prefix for the subnetwork IP address range

subnetworkSizeinteger

The net mask size for the subnetwork

statusstring

Subnetwork status

Example response

{
  "id": "d6ffb3db-4940-4979-94f3-68b11a018d98",
  "name": "default",
  "dataCenterId": "gcore-frankfurt",
  "subnetworkPrefix": "192.168.0.0",
  "subnetworkSize": 24,
  "resources": [
    {
      "id": 22,
      "resourceType": "vm"
    }
  ],
  "status": "active"
}

Changes

No recorded changes to this operation across all 1 revision of this API.