Skip to main content
POST
Create a label

Authorizations

Authorization
string
header
required

Personal access token. Use format: token {YOUR_ACCESS_TOKEN}

Path Parameters

owner
string
required

Repository owner

repo
string
required

Repository name

Body

application/json
name
string
required
color
string
required

Hex color code with leading #

Response

Created

id
integer
name
string
color
string
url
string