Skip to main content
POST
/
tags
cURL
curl --request POST \
  --url https://api.pnplayer.com/v1/api/tags \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>"
}
'
{
  "id": 123,
  "name": "<string>",
  "accountId": "<string>"
}

Authorizations

Authorization
string
header
required

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

Body

application/json
name
string
required

Name of the tag

Response

Tag created

id
integer<int64>

Unique identifier of the tag

name
string

Name of the tag

accountId
string

Account the tag belongs to