cURL
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": "<string>", "tag_group_id": "<string>" } '
{ "id": "<string>", "name": "<string>", "tag_group_id": "<string>" }
Creates a new tag for an existing instance and tag group.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The teal instance ID
An arbitrary string, useful for identifying the tag to the user.
"Sprinter - 1ab-c23"
The ID of the tag group.
"NCB2xo5S1yQbNgyWskXpwG"
Successful Response
The unique ID of the object.
"UjL3BQnEaJtecuC7CUeDk"