[ Web Proxy ]
URL:
Viewing: https://docs.socket.dev/reference/createorgrepolabel [Back]  [Original]

Create repository label (beta)
JUMP TO
API EndpointsSocket API v1
Copy Page

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
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests
LoadingLoading
:
:
Responses

201

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.

400

Bad request

401

Unauthorized

403

Insufficient max_quota for API method

404

Resource not found

409

Conflict

429

Insufficient quota for API route

Language
ShellNodeRubyPHPPython
Credentials
LoadingLoading
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
201400401403404409429

Web Proxy Viewer  |  New URL  |  Original Page