deleteAutoFlowsById method

Future<void> deleteAutoFlowsById(
  1. String id
)

Deletes one automation, its versions and its run history.

Deletes one automation, its versions and its run history. It answers no content, and a flow of another org answers not-found.

Parameters:

  • String id (required): ID is the flow to act on, from the path.

Implementation

Future<void> deleteAutoFlowsById(String id,) async {
  final response = await deleteAutoFlowsByIdWithHttpInfo(id,);
  if (response.statusCode >= HttpStatus.badRequest) {
    throw ApiException(response.statusCode, await _decodeBodyBytes(response));
  }
}