TagoIO SDK for JavaScript and TypeScript
    Preparing search index...

    Class Plan

    Hierarchy

    Index

    Constructors

    Methods

    • Parameters

      Returns Promise<string>

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

      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);