iya-sts
    Preparing search index...

    Variable deactivate

    deactivate: (username: string, rid: unknown, by: string, reason: string) => any = ...

    Type Declaration

      • (username: string, rid: unknown, by: string, reason: string): any
      • Deactivates one of a person's published DIDs: by the person from the portal, or by an administrator (Admin Write).

        Parameters

        • username: string

          the person whose DID it is

        • rid: unknown

          its random id, or the DID itself

        • by: string

          who deactivated it

        • reason: string

          person or admin

        Returns any

        { ok, record }, or { ok: false, code, error }