iya-sts
    Preparing search index...
    riskAction: (body: any, via: string, actor?: string) => Promise<any> = ...

    Type Declaration

      • (body: any, via: string, actor?: string): Promise<any>
      • Performs one of the page's actions, for its forms and /admin-api/risk/:action.

        Parameters

        • body: any

          action and its fields

        • via: string

          the door, for the audit row

        • Optionalactor: string

          the signed-in administrator, or '' for the management API

        Returns Promise<any>

        ok with a message, or a refusal carrying its error code