cURL
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 } '
{ "message": "<string>", "data": "<unknown>", "display_message": "<string>", "error_code": "invalid_date" }
Updates an existing tag. Unspecified fields will not be updated.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The teal instance ID
The tag ID
An arbitrary string, useful for identifying the tag to the user.
"Delivery vehicles"
Whether the tag is able to be assigned to objects.
true
Successful Response