curl --request DELETE \
--url 'https://api.scanova.io/forms/F8a9b0c1d2e3f4g5h/responses/b3f1c9a2-1234-4d1a-9c6e-3a2b7f9d1e40/' \
--header 'Authorization: YOUR_API_KEY'
Leads & Forms
Delete a form response
DELETE /forms//responses//
DELETE
/
forms
/
{form_id}
/
responses
/
{response_id}
/
curl --request DELETE \
--url 'https://api.scanova.io/forms/F8a9b0c1d2e3f4g5h/responses/b3f1c9a2-1234-4d1a-9c6e-3a2b7f9d1e40/' \
--header 'Authorization: YOUR_API_KEY'
Deletes a single form response.
A successful call returns
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
required
The response’s
id, from List form responses.curl --request DELETE \
--url 'https://api.scanova.io/forms/F8a9b0c1d2e3f4g5h/responses/b3f1c9a2-1234-4d1a-9c6e-3a2b7f9d1e40/' \
--header 'Authorization: YOUR_API_KEY'
204 No Content. 404 if form_id isn’t owned by this account, or response_id isn’t a response on this form.
Related
- List form responses — find the response’s
id. - Bulk-delete form responses — delete many at once 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
204
Deleted.
Was this page helpful?