# deleteFlow
Source: [https://docs.qualcomm.com/doc/80-PK177-134/topic/delete_flow.html](https://docs.qualcomm.com/doc/80-PK177-134/topic/delete_flow.html)
Deletes the corresponding flow based on the ID.
deleteFlow()Copy to clipboard
## Parameters
| **Parameter** | **API type** | **Data type** | **Description** |
| --- | --- | --- | --- |
| flowId | Java | long | Flow ID to be deleted. |
| flowId | Native | uint32\_t | Flow ID to be deleted. |
| ret | Native | int8\_t& | On success this is the actual return value from the API.
- 1: Success
- -1: Iqesdk is null
- -2: Subsystem error
|
| | | | |
## Returns
| Return | API type | Data type | Description |
| --- | --- | --- | --- |
| response | Java | int |
- 1: Success
- -1: Iqesdk is null
- -2: Subsystem error
|
| response | Native | qesdk\_transaction\_status | See [QESDK transaction status for Native APIs](https://docs.qualcomm.com/doc/80-PK177-134/topic/native_qesdk_class.html) for usage details. Use qesdk\_transaction\_status to confirm API call invocation. If successful, use the `ret` value for the actual API return value object. |
| | | | |
**Parent Topic:** [DPP subsystem APIs](https://docs.qualcomm.com/doc/80-PK177-134/topic/functions.html)
Last Published: Nov 14, 2024
[Previous Topic
getFlows](https://docs.qualcomm.com/bundle/publicresource/80-PK177-134/topics/get_flow.md) [Next Topic
deleteAllFlows](https://docs.qualcomm.com/bundle/publicresource/80-PK177-134/topics/delete_all_flows.md)