Hierarchy

Constructors

Methods

Constructors

Methods

  • Parameters

    Returns Promise<string[]>

    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

    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' ]