ts-mailcow-api
    Preparing search index...

    Interface EditDomainAdminRequest

    Request payload to edit an existing Domain Admin user.

    interface EditDomainAdminRequest {
        attr: {
            active: ("0" | "1")[];
            domains: string[];
            password: string;
            password2: string;
            username_new: string;
        };
        items: string[];
    }
    Index

    Properties

    Properties

    attr: {
        active: ("0" | "1")[];
        domains: string[];
        password: string;
        password2: string;
        username_new: string;
    }

    Attributes to update for the domain admin user.

    Type declaration

    • active: ("0" | "1")[]

      Is the domain admin active or not.

    • domains: string[]

      List of domains managed by this domain admin.

    • password: string

      New password for the domain admin user.

    • password2: string

      New password confirmation for the domain admin user.

    • username_new: string

      New username for the domain admin, if changing.

    items: string[]

    Contains the username of the domain admin you want to edit.