network

List networks

Get a list of all networks.

It is also possible to filter networks with label URL parameters, e.g. ?label=env or ?label=env%3Dprod. URL parameter can be given multiple times to add more filters (e.g. ?label=env%3Dprod&label=v2), where only networks that match all labels are returned. Label keys are matched case insensitively.

get/1.3/network

Request

  • Base URL: https://api.upcloud.com
  • URL: https://api.upcloud.com/1.3/network
  • Auth: HTTP bearer

Query parameters

keystring required

Label key used to classify the resource

valuestring required

Value associated with the label key

Filter networks by labels.

{
  "key": "env",
  "value": "production"
}

Response

List of networks.

Example response

{
  "networks": {
    "network": [
      {
        "uuid": "8f6d1ec2-8f5e-4b67-8fcb-6fa9c1a8a001",
        "name": "backend-net",
        "type": "private",
        "zone": "fi-hel2"
      }
    ]
  }
}

Changes

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