| [ Web Proxy ] |
| Viewing: https://docs.socket.dev/reference/createorgrepolabel | [Back] [Original] |
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:
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests | |||
201Creates 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.
400Bad request
401Unauthorized
403Insufficient max_quota for API method
404Resource not found
409Conflict
429Insufficient quota for API route
LoadingLoading
Try It! to start a request and see the response here! Or choose an example:| Web Proxy Viewer | New URL | Original Page |