• Unassign an alias from a PeerId.

    Parameters

    • payload: {
          apiEndpoint: string | URL;
          apiToken: string;
          listeningIp: string;
          port: number;
          protocol: "udp" | "tcp";
          timeout?: number;
      }
      • apiEndpoint: string | URL

        The API endpoint for authentication.

      • apiToken: string

        The API token for authentication.

      • listeningIp: string
      • port: number
      • protocol: "udp" | "tcp"
      • Optional timeout?: number

        optional timeout for the requests

    Returns Promise<boolean>

    A Promise that resolves to true if the alias was successfully removed.

    Throws

    An error that occurred while processing the request.