gateway

Create Service Label

Create a new service label.

post/1.3/gateway/{service-uuid}/labels

Request

  • Base URL: https://api.upcloud.com
  • URL: https://api.upcloud.com/1.3/gateway/{service-uuid}/labels
  • Auth: HTTP bearer

Path parameters

service-uuidstring uuid required

The unique identifier for the resource.

Example:01234567-89ab-cdef-0123-456789abcdef

Service UUID

Request body

keystring required

The key of a label.

valuestring nullable required

The value of a label.

Example request

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

Response

Created

Changes

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