deleteFlowWorkflowsByWorkflowWithHttpInfo method
Deletes one of the caller's workflows and its runs.
Deletes one of the caller's workflows and its runs. Ownership is verified first; a foreign id answers 404 and deletes nothing.
Note: This method returns the HTTP Response.
Parameters:
- String workflow (required): Workflow is the workflow's UUID, taken from the path.
Implementation
Future<Response> deleteFlowWorkflowsByWorkflowWithHttpInfo(String workflow,) async {
// ignore: prefer_const_declarations
final path = r'/v1/flow/workflows/{workflow}'
.replaceAll('{workflow}', workflow);
// ignore: prefer_final_locals
Object? postBody;
final queryParams = <QueryParam>[];
final headerParams = <String, String>{};
final formParams = <String, String>{};
const contentTypes = <String>[];
return apiClient.invokeAPI(
path,
'DELETE',
queryParams,
postBody,
headerParams,
formParams,
contentTypes.isEmpty ? null : contentTypes.first,
);
}