Actions100
- Activity Logs Actions
- Articles Actions
- 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
- Procedures Actions
- Public Photos Actions
- Rack Storage Items Actions
- Rack Storages Actions
- Relations Actions
- Uploads Actions
Overview
This node operation deletes activity logs starting from a specified datetime. It is useful for managing and cleaning up log data by removing older or unnecessary entries to maintain system performance or comply with data retention policies. For example, an administrator might use this node to delete all activity logs before a certain date or to remove logs that are not assigned to any user.
Properties
Name | Meaning |
---|---|
Datetime | The starting datetime (in ISO 8601 format) from which logs will be deleted. This is a required field. |
Additional Query Parameters | Optional parameters to customize the deletion behavior: • Delete Unassigned Logs: If true, only deletes logs where the user ID is not assigned (i.e., nil). Default is true. |
Output
The node outputs JSON data representing the result of the delete operation. This typically includes confirmation of how many logs were deleted or status information returned by the API. There is no indication that binary data is output by this node.
Dependencies
- Requires an API key credential for authentication with the AvantGuard WebhookSite service.
- The base URL for the API must be configured in the node credentials.
- The node uses query parameters to send the deletion criteria to the API endpoint.
Troubleshooting
- Invalid Datetime Format: If the datetime is not in ISO 8601 format, the API may reject the request. Ensure the datetime string is correctly formatted.
- Insufficient Permissions: Deletion operations may require specific permissions; ensure the API key has rights to delete activity logs.
- No Logs Deleted: If no logs match the criteria (e.g., datetime too recent or no unassigned logs when filtering), the response may indicate zero deletions.
- API Connectivity Issues: Network problems or incorrect base URL configuration can cause failures. Verify API endpoint accessibility and credential correctness.
Links and References
- ISO 8601 Date and Time Format
- AvantGuard WebhookSite API documentation (refer to your internal or vendor-provided API docs for detailed usage)