--- title: "Log out: Request" slug: "log-out-request" tags: ["Reference", "NDRC 4.x", "Customer", "Network Security", "NDR 4.x"] updated: 2026-09-09T18:07:51Z published: 2026-09-09T18:07:51Z canonical: "docs.trellix.com/log-out-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. # Log out: Request To log out of the NDR appliance, send the following request: ``` POST https://:/logout ``` Required header: ``` Cookie: px= ``` ### 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. ### Example ``` POST https://xxx.xxx.xxx.xxx:443/logout ``` Required header: ``` Cookie: px=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx ``` ### Log out: Response ``` HTTP/1.1 [Response Code] [Response Message] Date: [Date] Content-Type: [Content Type] ``` ###### Response fields - Response code—A standard HTTP response code. - Response message—A standard HTTP response message. - Date—Standard HTML date format. - Content type—The response format. ###### Example ``` HTTP/1.1 200 OK Date: Wed, 16 Nov 2016 00:26:53 GMT Content-Type: text/plain; charset=utf-8 ``` ### cURL code sample: Log out ``` curl -k -i https://xxx.xxx.xxx.xxx:443/logout -X POST --cookie "px=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" ``` 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. - `-i`—This option returns both the HTTP header and body of the response. - `https://xxx.xxx.xxx.xxx:443/logout`—The authentication request URL. Replace `xxx.xxx.xxx.xxx` with the IP address of your NDR appliance. - `--cookie "px=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"`—This option specifies which session to end. ###### Results This example logs out of the NDR appliance.