@sudoplatform/sudo-email
    Preparing search index...

    Interface UpdateEmailAliasInput

    Input for SudoEmailClient.updateEmailAlias

    UpdateEmailAliasInput

    interface UpdateEmailAliasInput {
        emailAliasId: string;
        expiresAt?: Date | null;
        metadata?: Record<string, any> | null;
        realAddress?: string;
    }
    Index
    emailAliasId: string

    The identifier of the email alias to update.

    expiresAt?: Date | null

    Optional expiration date for the email alias. To remove existing expiration, set to null.

    metadata?: Record<string, any> | null

    Optional metadata to associate with the email alias. To remove existing metadata, set to null.

    realAddress?: string

    Optional real email address for the email alias. Only valid for External aliases in PENDING state. Intended for the use case of accidentally inputing wrong external address