Update a tag

Update a tag's name.

Note that tags are referred to as groups in the Essential user interface.

Resource URL:

PUT https://api.essential.to/v2/account/tags/{tag_sid}

Resource information:

Response formatJSON
Requires authentication?Yes



Updated name of the tag. Note: Tag names must be must be at least 3 characters in length and must be unique to the channel. A case-insensitive comparison is used to determine uniqueness.

Sample code:

curl -X PUT \
     -u '[SID]:[TOKEN]' \
     -H 'Content-Type: application/json' \
     'https://api.essential.to/v2/account/tags/oN0vsJAIX3UHRhmoDd8UNA' \
     -d '{"name":"Bulldog buddies renamed"}'

# Sample response
  "name": "Bulldog buddies renamed",
  "created_at": "2017-02-15T23:20:00.123Z",
  "updated_at": "2017-02-21T18:00:00.483Z",
  "canonical_name": "bulldog_buddies_renamed",
  "deleted_at": null,
  "sid": "oN0vsJAIX3UHRhmoDd8UNA",
  "account_sid": "RsbrYCSo2m0sShMLOlZqtw",
  "channel_sid": "sRhvpNDGZwyDeH-YRZIr9A",
  "num_subscribers_total": 0,
  "num_subscribers_active": 0
Python coming soon.
Node coming soon.