Labels

Update label metadata

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.

patch/v1/labels/{labelId}

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

Changed in 1 of the 3 revisions of this API.1