Skip to main content
POST
/
api
/
v2
/
projects
/
{project_id}
/
tags
Create Tag
curl --request POST \
  --url https://api.example.com/api/v2/projects/{project_id}/tags \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "color": null
}
'
{
  "id": "<string>",
  "name": "<string>",
  "color": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

project_id
string
required

Body

application/json
name
string
required
color
string | null

Response

201 - application/json

TagResponse(id: str, name: str, color: str)

id
string
required
name
string
required
color
string
required