Labels

Update label metadata

Changed on

Updates human-facing label metadata only: name, description, and disabled. Unknown JSON fields such as rule text are ignored. This RPC cannot create, mutate, or delete versions. To change a rule, create a new version. Requires a label-first account; other accounts receive FAILED_PRECONDITION.

patch/v1/labels/{labelId}

Request

Path parameters

labelIdstring required

The label ID to update

Request body

namestring

Optional metadata updates. This request has no field for rule content; unknown JSON fields are ignored.

disabledboolean
descriptionstring

Optional human-facing description of the label. Does not change any version's rule content.

Response

A successful response.

Changes