EtapiToken is an entity representing token used to authenticate against Trilium REST API from client applications. Used by:

  • Trilium Sender
  • ETAPI clients

The format user is presented with is "_". This is also called "authToken" to distinguish it from tokenHash and token.

Hierarchy (View Summary)

Constructors

Properties

blobId?: string
dateCreated?: string
dateModified?: string
etapiTokenId?: string
isProtected?: boolean
isSynced?: boolean
name: string
tokenHash: string
utcDateCreated: string
utcDateModified?: string

Accessors

Methods

  • Returns {
        etapiTokenId: undefined | string;
        isDeleted: boolean;
        name: string;
        tokenHash: string;
        utcDateCreated: string;
        utcDateModified: undefined | string;
    }

  • Mark the entity as (soft) deleted. It will be completely erased later.

    This is a low-level method, for notes and branches use note.deleteNote() and 'branch.deleteBranch()` instead.

    Parameters

    • deleteId: null | string = null

    Returns void