POST
/
v0
/
tags
curl --request POST \
  --url https://api.sandbox.teal.dev/v0/tags \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'teal-instance-id: <teal-instance-id>' \
  --data '{
  "name": "Semi-trailer Truck",
  "tag_group_id": "NCB2xo5S1yQbNgyWskXpwG"
}'
{
  "id": "UjL3BQnEaJtecuC7CUeDk",
  "name": "Semi-trailer Truck",
  "tag_group_id": "NCB2xo5S1yQbNgyWskXpwG"
}

Authorizations

Authorization
string
headerrequired

The access token received from the authorization server in the OAuth 2.0 flow.

Headers

teal-instance-id
string
required

The teal instance ID

Body

application/json
name
string
required
tag_group_id
string
required

The id of the platform tag group

Response

201 - application/json
id
string
required
name
string
required
tag_group_id
string
required

The id of the platform tag group