- Request Method: DELETE
- Description: Deletes the specified Call Flow Templates
- URL: https://api.iovox.com/CallFlow?v=3&method=deleteCallFlows&call_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 | |
call_flows | A pipe delimited list of all Call Flows to be deleted | STRING | YES | |
detach_from_links | Detaches the Call Flow from links. If FALSE, only Call Flows not attached to links can be deleted. | FALSE | BOOLEAN | NO |
Please refer to the Callflow XML documentation for the
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 | call_flows Empty | Add one or more call_flows to the request |
400 | Call Flow x of y does not exist | Correct Call Flow x (item) of y (total) to a Call Flow that exists |
400 | Call Flow x of y is attached to a Link | First detach Call 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 |