deleteDomainName method

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

Deletes the DomainName resource.

May throw UnauthorizedException. May throw NotFoundException. May throw TooManyRequestsException. May throw BadRequestException.

Parameter domainName : Required The name of the DomainName resource to be deleted.

Implementation

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