Retrieves all available tag keys for a specific resource type in the account.
https://help.tago.io/portal/en/kb/articles/tags Tags System
const resources = new Resources({ token: "YOUR-PROFILE-TOKEN" });const deviceTags = await resources.tags.getTagKeys("device");console.log(deviceTags); // [ 'tag-key1', 'tag-key2', 'tag-key3' ]const dashboardTags = await resources.tags.getTagKeys("dashboard");console.log(dashboardTags); // [ 'tag-key1', 'tag-key2', 'tag-key3' ] Copy
const resources = new Resources({ token: "YOUR-PROFILE-TOKEN" });const deviceTags = await resources.tags.getTagKeys("device");console.log(deviceTags); // [ 'tag-key1', 'tag-key2', 'tag-key3' ]const dashboardTags = await resources.tags.getTagKeys("dashboard");console.log(dashboardTags); // [ 'tag-key1', 'tag-key2', 'tag-key3' ]
Description
Retrieves all available tag keys for a specific resource type in the account.
See
https://help.tago.io/portal/en/kb/articles/tags Tags System
Example