Actions25
- Document Actions
- Function Actions
- Storage Actions
- Users Actions
Overview
This node integrates with Appwrite's Storage service, allowing users to manage storage buckets and files programmatically within n8n workflows. Specifically, the "Delete Bucket" operation deletes a specified storage bucket from the Appwrite backend.
Common scenarios for this node include:
- Automating cleanup of unused or temporary storage buckets.
- Managing storage lifecycle by deleting buckets that are no longer needed.
- Integrating storage management into larger automation workflows involving file handling and user data.
Example use case: After processing and archiving files in a bucket, you can automatically delete the bucket to free up resources.
Properties
| Name | Meaning |
|---|---|
| Bucket ID | The unique identifier of the storage bucket to delete. This is required to specify which bucket will be removed. |
Output
The output JSON contains a single field indicating the success status of the deletion operation:
{
"success": true
}
success: A boolean value that istrueif the bucket was successfully deleted, otherwise it may befalseor an error will be thrown.
No binary data is output by this operation.
Dependencies
- Requires an active connection to an Appwrite server.
- Needs credentials including the Appwrite API URL, project ID, and an API key credential configured in n8n.
- Uses the official Appwrite SDK (
node-appwrite) internally to perform API calls.
Troubleshooting
Common issues:
- Invalid or missing Bucket ID: Ensure the Bucket ID provided exists and is correct.
- Insufficient permissions: The API key used must have permission to delete storage buckets.
- Network or connectivity problems with the Appwrite server.
Error messages:
- Errors related to authentication failure indicate invalid or expired API keys.
- Errors about bucket not found suggest the Bucket ID does not exist.
- Permission denied errors mean the API key lacks rights to delete buckets.
To resolve these:
- Verify the Bucket ID is correct.
- Check API key permissions and validity.
- Confirm network access to the Appwrite endpoint.