PUT
/
v0
/
tags
/
{tag_id}
curl --request PUT \
  --url https://api.sandbox.teal.dev/v0/tags/{tag_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'teal-instance-id: <teal-instance-id>' \
  --data '{
  "name": "Delivery vehicles",
  "enabled": true
}'
"<any>"

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

Path Parameters

tag_id
string
required

The tag ID

Body

application/json
name
string | null

An arbitrary string, useful for identifying the tag to the user.

enabled
boolean | null

Whether the tag is able to be assigned to objects.

Response

201 - application/json

The response is of type any.