deregisterAccount method

Future<DeregisterAccountResponse> deregisterAccount()

Deregisters an account in Audit Manager.

For more information about data retention, see Data Protection in the Audit Manager User Guide.

May throw AccessDeniedException. May throw InternalServerException. May throw ResourceNotFoundException. May throw ValidationException.

Implementation

Future<DeregisterAccountResponse> deregisterAccount() async {
  final response = await _protocol.send(
    payload: null,
    method: 'POST',
    requestUri: '/account/deregisterAccount',
    exceptionFnMap: _exceptionFns,
  );
  return DeregisterAccountResponse.fromJson(response);
}