Actions144
- Activity Log Actions
- API Info Actions
- Article Actions
- Asset Actions
- Asset Layout Actions
- Asset Layout Field Actions
- Asset Password Actions
- Card Actions
- Company Actions
- Expiration Actions
- Export Actions
- Folder Actions
- Group Actions
- IP Address Actions
- List Actions
- List Options Actions
- Magic Dash Actions
- Matcher Actions
- Network Actions
- Password Folder Actions
- Photo Actions
- Procedure Actions
- Procedure Task Actions
- Public Photo Actions
- Rack Storage Actions
- Rack Storage Item Actions
- Relation Actions
- S3 Export Actions
- Upload Actions
- User Actions
- VLAN Actions
- VLAN Zone Actions
- Website Actions
Activity Log → Delete
AI-generatedOverview
This node operation deletes activity logs from the Hudu system starting from a specified datetime. It is useful for cleaning up old or unnecessary activity logs to maintain system performance and manage storage. For example, a user can delete all activity logs before a certain date or only delete logs that are unassigned (where user_id is nil).
Use Case Examples
- Delete all activity logs starting from January 1, 2023.
- Delete only unassigned activity logs starting from a specific datetime.
Properties
| Name | Meaning |
|---|---|
| Datetime | Starting datetime from which logs will be deleted (ISO 8601 format) |
| Delete Unassigned Logs Only | Whether to only delete logs where user_id is nil |
Output
JSON
success- Indicates if the deletion operation was successfuldeletedCount- Number of activity logs deleted
Dependencies
- Requires Hudu API credentials for authentication to perform the delete operation.
Troubleshooting
- Ensure the datetime is provided in the correct ISO 8601 format; otherwise, the API may reject the request.
- If 'Delete Unassigned Logs Only' is enabled but no unassigned logs exist, the operation may delete zero logs, which is expected behavior.
- API authentication errors may occur if the Hudu API credentials are missing or invalid; verify credentials are correctly configured.