Update project label

http
PUT /projects/{project_reference}/labels/{label_id}

Update project label. Requires project.settings.manage.

Parameters

NameInRequiredDescription
project_referencepathYesProject UUID or slug.
label_idpathYesLabel UUID within the selected resource.

Request body

FieldTypeRequiredDescription
keystringYesRequired key, trimmed and lowercased. Maximum 64 characters. Normalized duplicate labels are rejected.
valuestring,nullLabel value. Trimmed; a supplied blank value is invalid. Omit or use null for a key-only label, including on replacement.
colorstring,nullDisplay color. Omit, use null or supply a blank string to clear it, including on replacement.

Responses

StatusDescription
200Updated label.
400Bad request
401Unauthorized
403Forbidden
404Not found
409Conflict
500Server error
503internal: authentication state is temporarily unavailable and the request was not processed; retry shortly.