curl --request DELETE \
--url 'https://api.scanova.io/forms/F8a9b0c1d2e3f4g5h/responses/bulk-delete/?qr_code_id=Q07afe81aa0034c01' \
--header 'Authorization: YOUR_API_KEY'
{ "deleted": 42 }
Leads & Forms
Bulk-delete form responses
DELETE /forms//responses/bulk-delete/
DELETE
/
forms
/
{form_id}
/
responses
/
bulk-delete
/
curl --request DELETE \
--url 'https://api.scanova.io/forms/F8a9b0c1d2e3f4g5h/responses/bulk-delete/?qr_code_id=Q07afe81aa0034c01' \
--header 'Authorization: YOUR_API_KEY'
{ "deleted": 42 }
Deletes every response for a form, optionally scoped to one linked QR Code.
This is irreversible and, when
qr_code_id is omitted, deletes every response the form has ever collected.Requires a Management API key with
MANAGEMENT_API (or MANAGEMENT_API_SANDBOX) quota, and the LEAD_GENERATION_ENTRY_CAN_DELETE permission, sent as the raw Authorization header value — see the Management API overview.string
required
The form’s
form_id.string
Limit deletion to responses submitted through this QR Code’s
qrid. Omit to delete all responses for the form.curl --request DELETE \
--url 'https://api.scanova.io/forms/F8a9b0c1d2e3f4g5h/responses/bulk-delete/?qr_code_id=Q07afe81aa0034c01' \
--header 'Authorization: YOUR_API_KEY'
{ "deleted": 42 }
Unlike Delete a form response, this returns
200 with a count rather than 204 No Content.404 if form_id isn’t owned by this account.
Related
- List form responses — see what will be deleted first.
- Delete a form response — remove a single response instead.
- Management API overview — the auth scheme and quota architecture this endpoint is part of.
Authorizations
Send your Management API key as the raw value of the Authorization header — no "Bearer " or "Token " prefix, and no other characters. Example: Authorization: 401f7ac837da42b97f613d789819ff93537bee6a. A header containing more than one space-separated part is rejected outright. Requests also require the request's Host header to be the management API host (e.g. api.scanova.io) — the same key sent to the regular API host will not authenticate.
Response
200
Responses deleted.
Was this page helpful?