You can detach a Tag object from a Link object.
When you delete a Tag, it is detached from all the branded links it was attached to.
In order to detach a Tag from a Link, you must first get both unique identifiers for the Link and the Tag. Once you have them, you can perform a
DELETE API call (without body) to the association endpoint, which is composed as follow:
lid is the Link resource's
id property and
tid is the Tag resource's
Unique identifier of the branded short link you want the tag to be attached to
Unique identifier of the tag you want to attach to this link
$ curl 'https://api.rebrandly.com/v1/links/FFfa4cc5b6ee45d6g7897b06ac2d16af/tags/3aehje9d536s46d59ba5bcf49b582ear' \ -X DELETE \ -H 'apikey: YOUR_API_KEY' \ -H 'Content-Type: application/json' HTTP/1.1 200 OK
Updated over 2 years ago