Supabase Extended icon

Supabase Extended

Interact with Supabase database and storage

Storage → Delete File

AI-generated

Summary

Delete file(s) from a Supabase Storage bucket

Inputs

  • bucket (required) — Name of the storage bucket
  • filePaths (required) — File path(s) in the bucket to delete. Accepts a single path as a string or multiple paths as an array of strings.

Output shape

A single n8n item with deletion metadata

The node returns one item regardless of how many input items are provided. If multiple file paths are passed, they are all deleted in a single Supabase API call.

Examples

Example 1: Delete a single file

bucket: 'my-bucket', filePaths: 'folder/document.pdf'

Example 2: Delete multiple files

bucket: 'my-bucket', filePaths: ['folder/doc1.pdf', 'folder/doc2.pdf']

Links

Discussion