Download log files as a zip
GET/api/v1/Log/downloadzip
Packages the server's log files whose activity overlaps a date range into a zip archive and returns it for download. A file is left out only when both its creation time and its last write time fall before the start date, or both fall after the end date. Pass both dates; if you omit the end date, the archive contains no files.
Permission required: Requires the Admin role or the Auditing and Reporting role.
Caution: The archive can contain sensitive operational details, and each call builds a new archive on the server.
Request
Responses
- 200
- 400
- 401
- 403
- 500
A zip archive of the matching log files, sent as a file download rather than JSON.
A date value could not be read.
The request is not signed in.
The caller does not have the required role.
The archive could not be built.