iya-sts
    Preparing search index...
    reset: (identifier: string, options?: ActOptions) => FgaResult = ...

    Type Declaration

      • (identifier: string, options?: ActOptions): FgaResult
      • Rewrites an application's own fine-grained policy from the fga-default template, keeping its entry name and its enabled flag.

        Parameters

        • identifier: string

          the application's identifier

        • Optionaloptions: ActOptions

          actor, and confirm, which must be true

        Returns FgaResult

        { ok, policy, enforced, changed }, or a refusal: an unknown application (STS-FGA-0009), no confirmation (STS-FGA-0020), no policy of its own (STS-FGA-0021), or a write refused (STS-FGA-0008)