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