Hierarchy

Constructors

Methods

  • Parameters

    Returns Promise<string>

    Description

    Sets the active plan and configures service limits for the account, including SMS, email, data records, device requests and analysis quotas.

    See

    https://help.tago.io/portal/en/kb/articles/207-upgrading-plans-services Upgrading Plans & Services

    Example

    const resources = new Resources({ token: "YOUR-PROFILE-TOKEN" });
    const result = await resources.plan.setPlanParameters({
    plan: "plan_id",
    sms: 100,
    email: 1000,
    data_records: 200000,
    device_request: 250,
    analysis: 1000
    });
    console.log(result);