Skip to main content
DELETE
/
files
/
{id}
Delete a file
curl --request DELETE \
  --url https://api.spike.ac/files/{id} \
  --header 'Authorization: Bearer <token>'
{
  "success": true
}

Documentation Index

Fetch the complete documentation index at: https://doc.spike.ac/docs/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Authentication using either a Supabase JWT token or an API key (prefixed with sk_). Both token types are passed as Bearer tokens in the Authorization header.

Path Parameters

id
string<uuid>
required

File ID

Response

File deleted successfully

success
boolean
required