disassociateApi method

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

Removes an ApiAssociation object from a custom domain.

May throw AccessDeniedException. May throw BadRequestException. May throw ConcurrentModificationException. May throw InternalFailureException. May throw NotFoundException.

Parameter domainName : The domain name.

Implementation

Future<void> disassociateApi({
  required String domainName,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'DELETE',
    requestUri:
        '/v1/domainnames/${Uri.encodeComponent(domainName)}/apiassociation',
    exceptionFnMap: _exceptionFns,
  );
}