# Logs

Website Configuration / Logs

## Delete a log archive file

 - [GET /LogManager/delete_archive](https://api.docs.cpanel.net/specifications/cpanel.openapi/logs/logmanager_delete_archive.md): Delete a specific log archive file from the authenticated user's ~/logs directory.

## Retrieve cPanel account's log archival settings

 - [GET /LogManager/get_settings](https://api.docs.cpanel.net/specifications/cpanel.openapi/logs/logmanager_get_settings.md): This function retrieves the account's log archival settings.

## Return cPanel account's archive files list

 - [GET /LogManager/list_archives](https://api.docs.cpanel.net/specifications/cpanel.openapi/logs/logmanager_list_archives.md): This function returns a list of the user's archive files.

## Save cPanel account's log archive settings

 - [GET /LogManager/set_settings](https://api.docs.cpanel.net/specifications/cpanel.openapi/logs/logmanager_set_settings.md): This function saves the account's log archive settings.

Note:

You must pass at least one of the archive_logs, prune_archive, or retention_days parameters.

