deleteFlows¶
Request Method: DELETE
Description: Deletes the specified Call/SMS/Email Flows
URL: https://api.iovox.com:444/Flow?v=3&method=deleteFlows&flows=Call%20Agents|IVR
The following parameters can be sent in the querystring
| Parameter | Description | Default Value | Data Type | Mandatory | 
| v | API version to use | INTEGER | YES | |
| flows | A pipe delimited list of all Flows to be deleted | STRING | YES | |
| detach_from_links | Detaches the Flow from links. If FALSE, only Flows not attached to links can be deleted. | FALSE | BOOLEAN | NO | 
Result¶
Error Result¶
| HTTP Code | Error String | Resolution | 
| 400 | API Version Empty | Add a value for the v parameter in the query string | 
| 400 | API Version Invalid | Correct v parameter | 
| 400 | Request Method must be DELETE. x attempted | Switch request method x to DELETE | 
| 400 | Flows Empty | Add one or more flows to the request | 
| 400 | Flow x of y does not exist | Correct Flow x (item) of y (total) to a Flow that exists | 
| 400 | Flow x of y is attached to a Link | First detach Flow x (item) of y (total) from Links before deleting it, or use the parameter "detach_from_links" set to TRUE | 
| 500 | Internal Server Error | Retry later |