deleteEmailIdentity method
Deletes an email identity. An identity can be either an email address or a domain name.
May throw BadRequestException.
May throw ConcurrentModificationException.
May throw NotFoundException.
May throw TooManyRequestsException.
Parameter emailIdentity :
The identity (that is, the email address or domain) to delete.
Implementation
Future<void> deleteEmailIdentity({
required String emailIdentity,
}) async {
final response = await _protocol.send(
payload: null,
method: 'DELETE',
requestUri: '/v2/email/identities/${Uri.encodeComponent(emailIdentity)}',
exceptionFnMap: _exceptionFns,
);
}