update_label
Update a repository label by ID, modifying its name, color, or description using partial (PATCH) update semantics.
Instructions
Update a label by id (number — NOT the name). Provide any of name/color/description (PATCH semantics). color is 6-digit hex. Get the id from list_labels.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Label ID | |
| name | No | New label name | |
| repo | No | Repository name (defaults to GITEA_DEFAULT_REPO) | |
| color | No | New label color (6-digit hex) | |
| owner | No | Repository owner (defaults to GITEA_DEFAULT_OWNER) | |
| description | No | New label description |