--- title: "Delete license: Request" slug: "delete-license-request" tags: ["Reference", "NDRC 4.x", "Customer", "Network Security", "NDR 4.x"] updated: 2026-09-09T18:07:45Z published: 2026-09-09T18:07:45Z canonical: "docs.trellix.com/delete-license-request" --- > ## 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 license: Request To delete the current license by key, send the following request: ``` DELETE https://:/config/v1/licenses/ ``` Required header: ``` Cookie: px= ``` > [!NOTE] > Note > > To use this request, your user account must be assigned to the Admin role. ### Options - IA_IP_address—The IP address of the NDR appliance running the NDR API. - port_number—The port number of the NDR appliance running the NDR API. - token—This token authenticates the session. By default, the session times out after 24 hours. ### Parameters `key`—The key of the license to be deleted. ### Example ``` DELETE https://xxx.xxx.xxx.xxx:443/config/v1/licenses/H392B88 ``` Required header: ``` Cookie: px=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx ``` ### Delete license: Response ``` HTTP/1.1 [Response Code] [Response Message] Server: [Server] Date: [Date] Content-Type: [Content Type] ``` ###### Response fields - Response Code—A standard HTTP response code. - 200—Request successful; the license was deleted. - Response Message—A standard HTTP response message. - OK—Request successful; the license was deleted. - Date—Standard HTML date format. - Content Type—The response format. ###### Example ``` HTTP/1.1 200 OK Date: Thu, 15 Aug 2019 17:32:21 GMT Content-Type: application/json; charset=utf-8 ``` ### cURL code sample: Delete license ``` curl -k --cookie "px=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" -X DELETE https://xxx.xxx.xxx.xxx:443/config/v1/licenses/H392B88 ``` This cURL sample includes the following options: - `-k`—This option explicitly allows cURL to perform insecure SSL connections and transfers, which allows you to test your SSL connection without installing a CA certificate. - `--cookie "px=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"`—This option specifies the authentication token for this session. - `-X DELETE` —This option specifies using the DELETE method. - `https://xxx.xxx.xxx.xxx:443/config/v1/licenses/H392B88`—The license URL. Replace `xxx.xxx.xxx.xxx` with the IP address of your NDR appliance, and `H392B88` with the key of the license you want to delete. ###### Results This example deletes the specified license.