# deleteFilter Source: [https://docs.qualcomm.com/doc/80-PK177-134/topic/delete_filter.html](https://docs.qualcomm.com/doc/80-PK177-134/topic/delete_filter.html) Deletes the corresponding filter based on the ID. deleteFilter()Copy to clipboard ## Parameters | **Parameter** | **API Type** | **Data Type** | **Description** | | --- | --- | --- | --- | | id | Java | long | Filter ID to be deleted. | | id | Native | uint32\_t | Filter ID to be deleted. | | ret | Native | int8\_t& | On success this is the actual return value from the API.



| | | | | | ## Returns | **Return** | **API type** | **Data Type** | **Description** | | --- | --- | --- | --- | | response | Java | int | | | 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:** [LLM subsystem APIs](https://docs.qualcomm.com/doc/80-PK177-134/topic/llm_functions.html) Last Published: Nov 14, 2024 [Previous Topic updatePdcpTimer](https://docs.qualcomm.com/bundle/publicresource/80-PK177-134/topics/update_pdcp_timer.md) [Next Topic deleteAllFilters](https://docs.qualcomm.com/bundle/publicresource/80-PK177-134/topics/delete_all_filters.md)