deleteDomain method

Future<void> deleteDomain({
  1. required String domainId,
})

Deletes a Cases domain.

May throw AccessDeniedException. May throw ConflictException. May throw InternalServerException. May throw ResourceNotFoundException. May throw ThrottlingException. May throw ValidationException.

Parameter domainId : The unique identifier of the Cases domain.

Implementation

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