database

Create label

Creates a new label by given {service_uuid}. Labels used for service filtering.

post/1.3/database/{uuid}/labels

Request

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

Path parameters

uuidstring uuid required

The unique identifier for the integration.

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

Service UUID

Request body

keystring required

The key of a label.

valuestring required

The value of a label.

Example request

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

Response

Created

keystring

The key of the label to delete.

valuestring

The value of the label to delete.

Example response

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

Changes

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