deleteAssessmentFramework method

Future<void> deleteAssessmentFramework({
  1. required String frameworkId,
})

Deletes a custom framework in Audit Manager.

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

Parameter frameworkId : The identifier for the custom framework.

Implementation

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