Networks
Virtual network management operations
Lists networks to which the project has access.
PCD Identity Service token authentication
Filter the list result by the administrative state of the resource.
Filter the list result by the ID of the resource.
Filter the list result by the human-readable name of the resource.
Filter the list result by the ID of the project that owns the resource.
Filter the list result by the ID of the project that owns the resource.
Filter the network list result based on if the network is shared across all tenants.
Filter the list result by status.
Filter the network list result based on whether the network has an external routing facility.
The fields that you want the server to return. If no fields are specified, all fields are returned.
Sort direction. A valid value is asc (ascending) or desc (descending).
Sorts by a resource attribute.
A list of tags to filter the list result by. Resources that match all tags in this list will be returned.
A list of tags to filter the list result by. Resources that match any tag in this list will be returned.
A list of tags to filter the list result by. Resources that match all tags in this list will be excluded.
A list of tags to filter the list result by. Resources that match any tag in this list will be excluded.
Successful operation
Unauthorized
GET /neutron/v2.0/networks HTTP/1.1
Host: example.platform9.com
X-Auth-Token: YOUR_API_KEY
Accept: */*
{
"networks": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"description": "text",
"admin_state_up": true,
"status": "ACTIVE",
"shared": true,
"project_id": "123e4567-e89b-12d3-a456-426614174000",
"tenant_id": "123e4567-e89b-12d3-a456-426614174000",
"subnets": [
"123e4567-e89b-12d3-a456-426614174000"
],
"router:external": true,
"provider:network_type": "flat",
"provider:physical_network": "text",
"provider:segmentation_id": 1,
"mtu": 1,
"port_security_enabled": true,
"dns_domain": "text",
"qos_policy_id": "123e4567-e89b-12d3-a456-426614174000",
"availability_zone_hints": [
"text"
],
"availability_zones": [
"text"
],
"ipv4_address_scope": "123e4567-e89b-12d3-a456-426614174000",
"ipv6_address_scope": "123e4567-e89b-12d3-a456-426614174000",
"l2_adjacency": true,
"vlan_transparent": true,
"qinq": true,
"is_default": true,
"segments": [
{
"provider:network_type": "text",
"provider:physical_network": "text",
"provider:segmentation_id": 1
}
],
"tags": [
"text"
],
"revision_number": 1,
"created_at": "2026-01-01T00:00:00.000Z",
"updated_at": "2026-01-01T00:00:00.000Z"
}
]
}Creates a network.
PCD Identity Service token authentication
Network created successfully
Bad Request
Unauthorized
POST /neutron/v2.0/networks HTTP/1.1
Host: example.platform9.com
X-Auth-Token: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 236
{
"network": {
"name": "test-flat-l2",
"description": "l2-vlan",
"mtu": 1500,
"admin_state_up": true,
"provider:network_type": "flat",
"provider:physical_network": "phy-simple-nw",
"shared": false,
"port_security_enabled": false,
"router:external": false
}
}{
"network": {
"id": "02e0247e-328a-4460-b82d-56ea99d639a8",
"name": "test-flat-l2",
"tenant_id": "68fbc006f13c4598a47dffe6576f1d47",
"admin_state_up": true,
"mtu": 1500,
"status": "ACTIVE",
"subnets": [],
"shared": false,
"project_id": "68fbc006f13c4598a47dffe6576f1d47",
"port_security_enabled": false,
"qos_policy_id": null,
"dns_domain": "",
"router:external": false,
"provider:network_type": "flat",
"provider:physical_network": "phy-simple-nw",
"provider:segmentation_id": null,
"availability_zone_hints": [],
"availability_zones": [],
"ipv4_address_scope": null,
"ipv6_address_scope": null,
"description": "l2-vlan",
"tags": [],
"created_at": "2026-06-03T01:40:03Z",
"updated_at": "2026-06-03T01:40:03Z",
"revision_number": 1
}
}Shows details for a network.
PCD Identity Service token authentication
The ID of the network.
The fields that you want the server to return. If no fields are specified, all fields are returned.
Successful operation
Unauthorized
Not Found
GET /neutron/v2.0/networks/{network_id} HTTP/1.1
Host: example.platform9.com
X-Auth-Token: YOUR_API_KEY
Accept: */*
{
"network": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"description": "text",
"admin_state_up": true,
"status": "ACTIVE",
"shared": true,
"project_id": "123e4567-e89b-12d3-a456-426614174000",
"tenant_id": "123e4567-e89b-12d3-a456-426614174000",
"subnets": [
"123e4567-e89b-12d3-a456-426614174000"
],
"router:external": true,
"provider:network_type": "flat",
"provider:physical_network": "text",
"provider:segmentation_id": 1,
"mtu": 1,
"port_security_enabled": true,
"dns_domain": "text",
"qos_policy_id": "123e4567-e89b-12d3-a456-426614174000",
"availability_zone_hints": [
"text"
],
"availability_zones": [
"text"
],
"ipv4_address_scope": "123e4567-e89b-12d3-a456-426614174000",
"ipv6_address_scope": "123e4567-e89b-12d3-a456-426614174000",
"l2_adjacency": true,
"vlan_transparent": true,
"qinq": true,
"is_default": true,
"segments": [
{
"provider:network_type": "text",
"provider:physical_network": "text",
"provider:segmentation_id": 1
}
],
"tags": [
"text"
],
"revision_number": 1,
"created_at": "2026-01-01T00:00:00.000Z",
"updated_at": "2026-01-01T00:00:00.000Z"
}
}Updates a network.
PCD Identity Service token authentication
The ID of the network.
Network updated successfully
Bad Request
Unauthorized
Forbidden
Not Found
Precondition Failed
PUT /neutron/v2.0/networks/{network_id} HTTP/1.1
Host: example.platform9.com
X-Auth-Token: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 39
{
"network": {
"tags": [
"simple_network"
]
}
}{
"network": {
"id": "675590d2-4e9f-49cb-b7f9-83cf1b65bcca",
"name": "vlan-l2",
"tenant_id": "68fbc006f13c4598a47dffe6576f1d47",
"admin_state_up": true,
"mtu": 1500,
"status": "ACTIVE",
"subnets": [],
"shared": false,
"project_id": "68fbc006f13c4598a47dffe6576f1d47",
"port_security_enabled": false,
"qos_policy_id": null,
"dns_domain": "",
"router:external": false,
"provider:network_type": "vlan",
"provider:physical_network": "phy-simple-nw",
"provider:segmentation_id": 1000,
"availability_zone_hints": [],
"availability_zones": [],
"ipv4_address_scope": null,
"ipv6_address_scope": null,
"description": "",
"tags": [
"simple_network"
],
"created_at": "2026-06-03T01:46:51Z",
"updated_at": "2026-06-03T01:48:12Z",
"revision_number": 2
}
}Deletes a network and its associated resources.
PCD Identity Service token authentication
The ID of the network.
Network deleted successfully
No content
Unauthorized
Not Found
Conflict
Precondition Failed
DELETE /neutron/v2.0/networks/{network_id} HTTP/1.1
Host: example.platform9.com
X-Auth-Token: YOUR_API_KEY
Accept: */*
No content
Last updated
Was this helpful?
