deleteApplication method

Future<void> deleteApplication({
  1. required String applicationId,
})

Delete an application. Deleting an application does not delete a configuration from a host.

May throw ResourceNotFoundException. May throw InternalServerException. May throw BadRequestException.

Parameter applicationId : The ID of the application to delete.

Implementation

Future<void> deleteApplication({
  required String applicationId,
}) async {
  ArgumentError.checkNotNull(applicationId, 'applicationId');
  await _protocol.send(
    payload: null,
    method: 'DELETE',
    requestUri: '/applications/${Uri.encodeComponent(applicationId)}',
    exceptionFnMap: _exceptionFns,
  );
}