iya-sts
    Preparing search index...
    removeOwner: (
        username: unknown,
        owner: unknown,
        opts?: { caller?: string },
    ) =>
        | Refusal
        | {
            account: ServiceAccountFacts;
            changed: boolean;
            ok: boolean;
            username: any;
        } = ...

    Type Declaration

      • (
            username: unknown,
            owner: unknown,
            opts?: { caller?: string },
        ):
            | Refusal
            | {
                account: ServiceAccountFacts;
                changed: boolean;
                ok: boolean;
                username: any;
            }
      • Takes one owner off a service account, writing at once (#602). Refused for a value that is not one of its owners, and — through set() — for the last owner, whatever the policy says, and for the caller themselves (ownerChangeRefusal()).

        Parameters

        • username: unknown

          the service account

        • owner: unknown

          the owner's DN, as the account lists it

        • Optionalopts: { caller?: string }

          caller, as set() takes it

        Returns
            | Refusal
            | {
                account: ServiceAccountFacts;
                changed: boolean;
                ok: boolean;
                username: any;
            }

        { ok: true, account, changed: true }, or a refusal with a code