server

List Cloud Server labels

Returns the unique label key-value pairs used by Cloud Servers accessible to the current account.

get/1.3/server/labels

Request

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

Response

Cloud Server labels returned successfully.

keystring required

Label key used to classify the resource

valuestring required

Value associated with the label key

Example response

[
  {
    "key": "env",
    "value": "production"
  },
  {
    "key": "team",
    "value": "platform"
  }
]

Changes

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