block Email Addresses
abstract suspend fun blockEmailAddresses(addresses: List<String>, action: BlockedEmailAddressAction? = BlockedEmailAddressAction.DROP, emailAddressId: String? = null): BatchOperationResult<String, String>
Blocks the given email address(es) for the user identified
Return
A success, partial or failed BatchOperationResult result containing either a list of identifiers of email addresses that succeeded or failed to be blocked.
Parameters
addresses
List
action
BlockedEmailAddressAction (optional) The action to take on incoming messages from the blocked address(es). Defaults to DROP