deleteApp method

Future<void> deleteApp({
  1. required String app,
  2. required String domain,
  3. required String simulation,
})

Deletes the instance of the given custom app.

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

Parameter app : The name of the app.

Parameter domain : The name of the domain of the app.

Parameter simulation : The name of the simulation of the app.

Implementation

Future<void> deleteApp({
  required String app,
  required String domain,
  required String simulation,
}) async {
  final $query = <String, List<String>>{
    'app': [app],
    'domain': [domain],
    'simulation': [simulation],
  };
  final response = await _protocol.send(
    payload: null,
    method: 'DELETE',
    requestUri: '/deleteapp',
    queryParams: $query,
    exceptionFnMap: _exceptionFns,
  );
}