GET
/
cloud
/
v1
/
networks
/
{project_id}
/
{region_id}
/
{network_id}
/
ports
curl --request GET \
  --url https://api.gcore.com/cloud/v1/networks/{project_id}/{region_id}/{network_id}/ports \
  --header 'APIKey: <api-key>'
{
  "count": 1,
  "results": [
    {
      "id": "8e009163-d526-4351-9266-93d9fd8fa8ef",
      "instance_id": "bfc7824b-31b6-4a28-a0c4-7df137139215",
      "instance_name": "instance_1"
    }
  ]
}

Authorizations

APIKey
string
header
required

API key for authentication.

Path Parameters

project_id
integer
required

Project ID

Examples:

1

region_id
integer
required

Region ID

Examples:

1

network_id
string
required

Network ID

Examples:

"b39792c3-3160-4356-912e-ba396c95cdcf"

Response

200 - application/json

OK

The response is of type object.