iya-sts
    Preparing search index...
    rolesAction: (body: AdminActionBody<"/admin-api/roles">, context?: any) => any = ...

    Type Declaration

      • (body: AdminActionBody<"/admin-api/roles">, context?: any): any
      • Creates, describes or deletes a role, or adds or removes a member or a permission, through common/roles.js.

        Parameters

        • body: AdminActionBody<"/admin-api/roles">

          the parsed form or JSON body, whose action names the act

        • Optionalcontext: any

          who is acting (actor)

        Returns any

        { ok, errors, … }; an unknown action is refused with the sentence naming every action