--- title: "Download log files from Client by Distinguished Name." slug: "download-log-files-from-client-by-distinguished-name-1" updated: 2026-03-02T22:30:52Z published: 2026-03-02T22:35:52Z canonical: "support.appgate.com/download-log-files-from-client-by-distinguished-name-1" --- > ## Documentation Index > Fetch the complete documentation index at: https://support.appgate.com/llms.txt > Use this file to discover all available pages before exploring further. # Download log files from Client by Distinguished Name. Get/client-logs/{distinguished-name} Sends a message to Client with the specified Distinguished Name to upload its logs. The logs are collected in a zip archive and returned as a byte stream in the response. This API call must be made with **Accept** header of **application/vnd.appgate.peer-v23+zip**. SecurityHTTPType bearer Path parametersdistinguished-namestringRequired Distinguished name of the user&devices which will be affected by the operation. Format: 'CN=,CN=,OU=' ExampleCN=4c07bc6757ea42ddb702c2d6c45419fc,CN=user,OU=ldap Responses200 Client Logs. string (binary) Zip archive with client log files. 401 Token error. Login again. object Generic HTTP error. idstring Machine readable error code. messagestring Human readable error details. 403 Insufficient permissions to access this resource. object Generic HTTP error. idstring Machine readable error code. messagestring Human readable error details. 404 The requested resource can not be found. object Generic HTTP error. idstring Machine readable error code. messagestring Human readable error details. 406 Invalid 'Accept' header. object Generic HTTP error. idstring Machine readable error code. messagestring Human readable error details. 412 Too old Client to support this feature. object Generic HTTP error. idstring Machine readable error code. messagestring Human readable error details. 500 Unexpected server side error. object Generic HTTP error. idstring Machine readable error code. messagestring Human readable error details. 504 Gateway timeout error. object Generic HTTP error. idstring Machine readable error code. messagestring Human readable error details.