Skip to main content

Delete a tag group

Log in to add to favourites

Delete an existing tag group by its id

Call signature

TypeScript
delete(id: string): Promise<void>;

Parameters

NameTypeDescription
idstringThe API id of the tag group to delete

Returns

A Promise that will resolve with no data

Remarks

A tag group cannot be deleted if it contains any tags

Throws any error that is returned by the API for any unsuccessful request echoing the HTTP status returned from the API

Example

Delete an unused tag group by its id

TypeScript
await client.tags.groups.delete("topics");

Still need help?

If you still need help after reading this article, don't hesitate to reach out to the Contensis community on Slack or raise a support ticket to get help from our team.
New support request