Actions100
- Activity Actions
- Asset Actions
- Authentication Actions
- Collection Actions
- Extension Actions
- Field Actions
- File Actions
- Folder Actions
- Item Actions
- Permission Actions
- Preset Actions
- Relation Actions
- Revision Actions
- Role Actions
- Setting Actions
- User Actions
- Utility Actions
Overview
This node is designed to delete an item from a specified collection in a data management system. It is useful when you need to programmatically remove records or entries identified by their unique IDs within a particular collection. For example, if you have a collection of articles and want to delete a specific article by its ID, this node facilitates that operation.
Properties
Name | Meaning |
---|---|
ID | Unique identifier of the item (file object) to be deleted. |
Collection Name | The name of the parent collection from which the item will be deleted. Options are dynamically loaded from available collections. |
Output
The output JSON typically contains the result of the deletion operation. This may include confirmation of successful deletion or details about the deleted item. The node does not explicitly handle binary data output.
Dependencies
- Requires access to the target data management system's API.
- Needs an API authentication token or key configured in n8n to authorize deletion requests.
- Dynamically loads collection names via a method named
getCustomCollections
.
Troubleshooting
Common Issues:
- Providing an invalid or non-existent ID will likely cause the deletion to fail.
- Specifying a collection name that does not exist or is misspelled will prevent the operation.
- Missing or incorrect API credentials can lead to authorization errors.
Error Messages:
- Errors related to "Item not found" indicate the ID does not exist in the specified collection.
- Authorization errors suggest issues with API keys or permissions.
- Network or connectivity errors may occur if the API endpoint is unreachable.
To resolve these, verify the ID and collection name, ensure valid API credentials are set up, and check network connectivity.
Links and References
- Refer to the official API documentation of your data management system for details on item deletion endpoints.
- Consult n8n documentation on setting up API credentials and using dynamic options loading.