--- title: "REST API to apply Network Discovery policy" slug: "rest-api-to-apply-network-discovery-policy-2" tags: ["Product Usage", "DLP 11.13.x"] updated: 2026-09-01T07:29:22Z published: 2026-09-01T07:29:22Z canonical: "docs.trellix.com/rest-api-to-apply-network-discovery-policy-2" --- > ## 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. # REST API to apply Network Discovery policy Use this REST API call to send a request to apply Network Discovery policies. This API pushes all enabled Network discovery scans to the Trellix DLP Discover server. ### POST request URL `https://<epo_server_name:port>/rest/dlp/networkDiscovery/policy/apply` Where, `epo_server_name:port` is the server IP address and port number. ### Request Parameters | Parameter name | Description | Required | Values | | --- | --- | --- | --- | | **Authorization** | User credentials for ePO - On-prem. | Required | | **Sample POST request URL** `https://172.27.108.53:8443/rest/dlp/networkDiscovery/policy/apply` **Sample cURL command** `curl -k -v -X POST 'https://172.27.108.53:8443/rest/dlp/networkDiscovery/policy/apply' -u '<user>:<password>'` ### Sample response ``` Applied successfully ``` ### Status and error codes List of HTTP status codes returned for the query. | Code | Description | | --- | --- | | **200 OK** | Returns a message when the policies are applied successfully. | | **404 Not Found** | Incorrect ePO - On-prem URL. | | **500 Internal Server Error** | An error on the server side that failed the request. See the ePO - On-prem `orion.log` file for more details about the error. |