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.
The access token received from the authorization server in the OAuth 2.0 flow.
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"