--- title: "Delete custom rules" slug: "delete-custom-rules" tags: ["Reference"] updated: 2026-09-03T18:40:43Z published: 2026-09-03T18:40:43Z canonical: "docs.trellix.com/delete-custom-rules" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.trellix.com/llms.txt > Use this file to discover all available pages before exploring further. # Delete custom rules ### API URL ``` /custom_rules/delete ``` ### Sample curl request `curl -gsvk -X POST --header "$c" --header "Content-Type: application/json" --data '[85000001, 85000002]' "https://<host>/wsapis/v2.0.0/ips/custom_rules/delete"` ``` curl -gsvk -X POST -H "$c"  "https:///wsapis/v2.0.0/ips/custom_rules/delete" ``` ### Authentication Standard WSAPI authentication ### Method `POST` ### Request body JSON array: [85000001, 85000002] - deletes rules which match with the IDs provided If no request body/empty array is provided - deletes all the custom rules ### Response mime type `application/json` :