Skip to main content
DELETE
/
forms
/
{id}
/
submissions
Bulk delete submissions
curl --request DELETE \
  --url https://api.spike.ac/forms/{id}/submissions \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "submissionIds": [
    "<string>"
  ]
}
'
{
  "success": true,
  "deleted": 123
}

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
required

Form ID

Body

application/json
submissionIds
string[]
required

Array of submission IDs to delete

Minimum array length: 1

Response

Submissions deleted successfully

success
boolean
required
deleted
number
required