Skip to main content

Supabase Delete Files

Deletes one or more files from a Supabase Storage bucket.

Supabase Delete Files node

This node removes files from the specified Supabase Storage bucket based on the provided file paths. It is commonly used for cleanup operations, user-initiated file removal, or managing stored assets within an application.

Delete operations respect Supabase Storage access policies and the authentication context of the current user.

This functionality is based on the Supabase Client SDK method for deleting files from a bucket. For reference, see
Supabase Client SDK – Delete files in a bucket.

Inputs

DataTypeDescription
DeletesignalTriggers the delete operation.
BucketstringThe Storage bucket name.
Paths to Deletearray of stringOne or more file paths to remove from the bucket.

Outputs

DataTypeDescription
Deleted Pathsarray of stringThe file paths that were successfully deleted.
Is DeletingbooleanTrue while the delete operation is in progress.
Is DeletedbooleanTrue once the delete operation has completed.
StatusstringStatus returned from the delete operation.
Is SuccessbooleanTrue if the files were deleted successfully.
Is ErrorbooleanTrue if an error occurred.
Error TextstringError message returned by Supabase, if any.
SuccesssignalTriggered when the operation completes successfully.
FailuresignalTriggered if the operation fails.
FinallysignalTriggered after the operation completes, regardless of outcome.