Update a repository's labels
Applies a label-only update (name/description); org owner/admin only. The repository id is stable, so a rename is a one-row DB update — no Gitea write. Omitted fields are left unchanged.
Authorizations
Gateway auth: send Authorization: Bearer <mka1-api-key>. For multi-user server-side integrations, you can also send X-On-Behalf-Of: <external-user-id>.
Headers
Optional external end-user identifier forwarded by the API gateway.
Path Parameters
The organization URL slug.
The repository name (URL label).
^[A-Za-z0-9][A-Za-z0-9._-]{0,99}$Body
Response
The updated repository.
"Fine-tuned weights for the acme assistant."
Opaque, stable repository id (the canonical key; not a user label).
"rqz4h6k2m5n7p9r3t5v7w9x2"
The repository name (URL label).
"my-model"
The organization URL slug the repository belongs to.
"acme"