Attach Label to Asset
Attaches a label to the asset. The label is resolved by name within
the focused project; if no label with that name exists it is
auto-created as a bare label (no color/icon) and then attached. To
set display metadata up front, mint the label first via
POST /v1/labels.
Attachment is idempotent: re-sending the same label_name returns
the same LabelSummary without creating a duplicate association.
Authorizations
Personal Access Token, sent verbatim as pat_<32 chars>. PATs are
minted from the Chief settings UI.
Headers
Project identifier scoping the request. Required on every
project-scoped public endpoint. Missing or malformed values respond
with HTTP 400 and code publicapi.tenancy.project.missing.
^project_[a-z0-9]{20}$Path Parameters
Asset identifier returned by POST /v1/assets.
^asset_[a-z0-9]{20}$Body
Attach a label to an asset by name. If no label with this name
exists in the project, it is auto-created as a bare label (no
color/icon) and then attached. To set display metadata up front,
mint the label first via POST /v1/labels.
2 - 255