Skip to main content

Delete a flow

Permanently delete a flow and all associated assets (inputs, outputs, intermediates).

Requirements: Flow can only be deleted if it is in one of the following states:

  • created: Flow was created but never started
  • completed: Flow finished successfully
  • aborted: Flow was manually aborted
  • failed: Flow encountered an error

Restrictions: Cannot delete flows in active states (starting, running, aborting). These flows must first reach a terminal state before deletion.

When to Delete: Delete flows when you no longer need them to free up storage space. For example, after successfully downloading the generated 3D model, you can delete the flow to avoid unnecessary storage costs. This is especially recommended for completed flows where outputs have been retrieved.

Warning: This operation is irreversible. All flow data will be permanently removed.

info

This endpoint allows you to delete a flow.

Endpoint

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

Parameters

flow_id (required)

  • Location: path
  • Type: string

Responses

200

Successful Response

422

Validation Error

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"