Actions109
- Asset Layouts Actions
- Asset Passwords Actions
- Assets Actions
- Get Assets
- Get Companies Company Id Assets
- Post Companies Company Id Assets
- Get Companies Company Id Assets Id
- Put Companies Company Id Assets Id
- Delete Companies Company Id Assets Id
- Put Companies Company Id Assets Id Archive
- Put Companies Company Id Assets Id Unarchive
- Put Companies Company Id Assets Id Move Layout
- Cards Actions
- Companies Actions
- Expirations Actions
- Exports Actions
- Folders Actions
- IP Addresses Actions
- Lists Actions
- Magic Dash Actions
- Matchers Actions
- Networks Actions
- Password Folders Actions
- Procedure Tasks Actions
- Websites Actions
- Procedures Actions
- Public Photos Actions
- Rack Storage Items Actions
- Rack Storages Actions
- Relations Actions
- Uploads Actions
- Users Actions
- Activity Logs Actions
- Articles Actions
Overview
This node operation deletes activity logs starting from a specified datetime. It is useful for managing and cleaning up old or unnecessary logs in a system, especially when logs need to be removed based on a time threshold. For example, an administrator might use this node to delete all activity logs older than a certain date to maintain system performance or comply with data retention policies.
Use Case Examples
- Delete all activity logs starting from January 1, 2023, to clear old logs.
- Delete only unassigned activity logs (logs where user_id is nil) starting from a specific datetime.
Properties
| Name | Meaning |
|---|---|
| Datetime | The starting datetime from which logs will be deleted; must be in ISO 8601 format. |
| Delete Unassigned Logs | If true, only deletes logs where user_id is nil (unassigned logs). |
Output
JSON
response- The response from the API after attempting to delete the activity logs, typically indicating success or failure.
Dependencies
- Requires an API key credential for authentication to the AvantGuard Hudu API.
Troubleshooting
- Ensure the datetime is provided in valid ISO 8601 format; otherwise, the API may reject the request.
- If the API returns an authentication error, verify that the API key credential is correctly configured and has the necessary permissions.
- If no logs are deleted, check the datetime parameter and the 'delete_unassigned_logs' flag to ensure they match the intended logs to delete.
Links
- AvantGuard Hudu API Documentation - Official API documentation for reference on activity log deletion and other operations.