Skip to content

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#

  1. It takes a provider connection and the name (which can be a full path) of the file to delete.
  2. It attempts to delete the specified file.
  3. If the deletion is successful, the Success execution path is triggered, and the Deleted output will be true.
  4. If an error occurs, the Error execution path is triggered, and the Deleted output will be false.

The node also passes through the provider object to its corresponding output for easy chaining of storage operations.

Inputs#

Port Description
Run
Executes the node.
Name
The name or path of the file to delete.
Provider
The storage provider to use for the deletion.

Outputs#

Port Description
Success
Executes if the file was deleted successfully.
Error
Executes if an error occurred during deletion.
Deleted
True if the file was successfully deleted, otherwise false.
Provider
The storage provider, passed through from the input.

ID: core/storage-delete@v1