• Unassign an alias from a PeerId.

    Parameters

    • payload: {
          alias: string;
          apiEndpoint: string | URL;
          apiToken: string;
          timeout?: number;
      }
      • alias: string
      • apiEndpoint: string | URL

        The API endpoint for authentication.

      • apiToken: string

        The API token for authentication.

      • 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.