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

    Class ServiceAuthorization

    Hierarchy

    Index

    Constructors

    Methods

    • Parameters

      • token: string

      Returns Promise<string>

      Permanently removes a service authorization token.

      If receive an error "Authorization Denied", check policy Service Authorization / Delete in Access Management.

      const result = await Resources.serviceAuthorization.tokenDelete("token-xyz-123");
      console.log(result); // Token Successfully Removed
    • Parameters

      • token: string
      • OptionalverificationCode: string

      Returns Promise<string>

      Updates a service authorization token with an optional verification code.

      If receive an error "Authorization Denied", check policy Service Authorization / Edit in Access Management.

      const result = await Resources.serviceAuthorization.tokenEdit("token-xyz-123", "verification-code");
      console.log(result); // Authorization Code Successfully Updated