Skip to main content

Delete a flow

This endpoint deletes a specific flow. Important: a flow can only be deleted if it is in any of the following states: created, completed, aborted, or failed. A flow that is still starting, running or aborting can not be deleted.

Endpoint

DELETE https://flows.generio.ai/flows/{flow_id}

Parameters

flow_id (required)

  • Location: path
  • Type: string

Code Examples

Copy and run these examples in your terminal or code editor. Make sure to replace YOUR_TOKEN with your actual authentication token.

curl -X DELETE "https://flows.generio.ai/flows/{flow_id}" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"