deleteDomainName method

Future<void> deleteDomainName({
  1. required String domainName,
})

Deletes a domain name.

May throw NotFoundException. May throw TooManyRequestsException.

Parameter domainName : The domain name.

Implementation

Future<void> deleteDomainName({
  required String domainName,
}) async {
  ArgumentError.checkNotNull(domainName, 'domainName');
  await _protocol.send(
    payload: null,
    method: 'DELETE',
    requestUri: '/v2/domainnames/${Uri.encodeComponent(domainName)}',
    exceptionFnMap: _exceptionFns,
  );
}