ts-mailcow-api
    Preparing search index...

    Interface TimeLimitedAliasEditRequest

    Request payload to extend a time-limited alias's expiry, or mark it permanent. Note: Mailcow silently no-ops if neither validity nor permanent is provided.

    interface TimeLimitedAliasEditRequest {
        address: string | string[];
        permanent?: boolean;
        validity?: number;
    }
    Index
    address: string | string[]

    The address(es) to update.

    permanent?: boolean

    If true, marks the alias as never expiring.

    validity?: number

    New validity window in hours from now. Replaces the existing expiry rather than adding to it. Ignored when permanent is true.