Storage Delete
Deletes a file from a remote storage provider.
This node deletes a file from a remote storage provider (e.g., S3, GCS).
How it works#
- It takes a
providerconnection and thename(which can be a full path) of the file to delete. - It attempts to delete the specified file.
- If the deletion is successful, the
Successexecution path is triggered, and theDeletedoutput will betrue. - If an error occurs, the
Errorexecution path is triggered, and theDeletedoutput will befalse.
The node also passes through the provider object to its corresponding output for easy chaining of storage operations.
Inputs#
| Port | Description |
|---|---|
| Executes the node. | |
| The name or path of the file to delete. | |
| The storage provider to use for the deletion. |
Outputs#
| Port | Description |
|---|---|
| Executes if the file was deleted successfully. | |
| Executes if an error occurred during deletion. | |
| True if the file was successfully deleted, otherwise false. | |
| The storage provider, passed through from the input. |
ID: core/storage-delete@v1