iya-sts
    Preparing search index...
    redefine: (
        body?: Record<string, any>,
    ) =>
        | { errors: string[]; ok: boolean }
        | {
            definition: Definition;
            dn: string;
            message: string;
            name: string;
            ok: boolean;
        } = ...

    Type Declaration

      • (
            body?: Record<string, any>,
        ):
            | { errors: string[]; ok: boolean }
            | {
                definition: Definition;
                dn: string;
                message: string;
                name: string;
                ok: boolean;
            }
      • Changes an existing custom attribute of this realm (#700): its label, its description and its two portal flags. What is not sent is kept. The syntax and the cardinality are fixed: a body that would change either is refused (STS-LDAP-0208).

        Parameters

        • Optionalbody: Record<string, any>

          name, and any of label, description, portalVisible, portalEditable; syntax and multiValued only as they already are

        Returns
            | { errors: string[]; ok: boolean }
            | {
                definition: Definition;
                dn: string;
                message: string;
                name: string;
                ok: boolean;
            }

        { ok: true, definition, message }, or a refusal with a code