v1
latestOpenAPI 3.0.02026-07-249055687.1 KBrepo-labels
Update repository label (beta)
Update a repository label name.
Labels can be used to group and organize repositories and to apply security/license policies.
This endpoint consumes 1 unit of your quota.
This endpoint requires the following org token scopes:
- repo-label:update
put/orgs/{org_slug}/repos/labels/{label_id}
Path parameters
org_slugstring required
The slug of the organization
label_idstring required
The ID of the label
Request body
Response
Updates an existing repository label for the specified organization. The authenticated user must be a member of the organization. Label names must be non-empty and less than 1000 characters.