repo-labels
Create repository label (beta)
Create a repository label.
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:create
post/orgs/{org_slug}/repos/labels
Request
- Base URLhttps://api.socket.dev/v0
- URLhttps://api.socket.dev/v0/orgs/{org_slug}/repos/labels
- Auth
- HTTP bearer
- or HTTP basic
Path parameters
org_slugstring required
The slug of the organization
Request body
Response
Creates a new 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.
Changes
No recorded changes to this operation across all 2 revisions of this API.