Skip to main content
DELETE
/
flow
/
definition
/
{id}
Delete an existing flow definition
curl --request DELETE \
  --url https://api.indieflow.app/v1/flow/definition/{id} \
  --header 'X-Api-Key: <api-key>'
{
  "status": "success",
  "exit_code": "success",
  "data": "<string>"
}

Authorizations

X-Api-Key
string
header
required

The api key given to you when you register, no needed when using through RapidAPI

Path Parameters

id
string
required

The flow definition id or name

Response

Basic success response

A simple response representation

status
enum<string>

The response status returned from the server, it can be:

  • success: The request worked as expected
  • error: The request returned an error
Available options:
success,
error
exit_code
enum<string>

The response exit code returned from the server, it can be:

  • success: The request worked as expected
  • validation_error: The request contains an user input related error
  • unauthorized: Invalid credentials
  • generic_error: The request contains a generic error
  • service_down: The backend server is down
  • flow_disabled: The requested flow is currently marked as disabled
  • service_plan_max_registered_flows_reached: The maximum number of registered flows has been reached, this error also applies when trying to submit a flow after downgrading a plan
  • service_plan_max_steps_per_flow_reached: The maximum number of steps per flow has been exceeded, this error also applies when trying to submit a flow after downgrading a plan
Available options:
success,
validation_error,
unauthorized,
generic_error,
service_unavailable,
resource_not_found,
step_already_executed,
flow_disabled,
service_plan_max_registered_flows_reached,
service_plan_max_steps_per_flow_reached
data

Schema that represents any serializable data