Skip to main content
PUT
Update label

Authorizations

Authorization
string
header
required

Use an Observe API key from the management console. The key selects the project and must grant the permission listed on the operation. Keep this key on your server.

Scopes

observe:catalog:write

Path Parameters

labelID
string
required

Label ID (format lbl-<number>).

Body

application/json
displayName
string

Human-readable display name

description
string

Description of the entity

Response

Label updated.

id
string
required

Label ID (format lbl-<number>).

entityType
string
required

Type of the labeled entity.

entityID
string
required

ID of the labeled entity. Applications use app-<number>, decisions use dec-<number>, decision variants use dva-<number>, and decision options use the parent decision ID dec-<number>. Dimensions and dimension values use the dimension key (tag:<key>, os, …).

option
string
required

Sub-key within the labeled entity: the option name for entityType='decisionOption' (entityID references the decision, e.g. "social-google"), the raw value for entityType='dimensionValue'. Empty string for all other entity types.

createdMs
integer<int64>
required

Creation time in milliseconds since epoch.

updatedMs
integer<int64>
required

Last update time in milliseconds since epoch.

displayName
string

Human-readable display name.

description
string

Description of the entity.