object-storage-2

Modify label

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

patch/1.3/object-storage-2/{service-uuid}/labels/{label-key}

Request

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

Path parameters

service-uuidstring uuid required

The unique identifier for the service.

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

Service UUID

label-keystring required

The key of a label.

Example:environment

The key of the label.

Request body

keystring

The key of a label.

valuestring nullable

Schema for a label value property, allowing a string or null with specific character constraints.

Example request

{
  "key": "foo",
  "value": "bar"
}

Response

OK

keystring
valuestring

Example response

{
  "key": "foo",
  "value": "bar"
}

Changes

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