database

Modify label

Modifies existing label by given {service_uuid} and {key}.

patch/1.3/database/{uuid}/labels/{label-key}

Request

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

Path parameters

uuidstring uuid required

The unique identifier for the integration.

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

Service UUID

label-keystring required

The key of a label.

Example:foo

Label ID

Request body

keystring

The key of a label.

valuestring

The value of a label.

Example request

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

Response

OK

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.