DELETE
/smart-forms/:idDelete Smart Form
Permanently delete a smart form and all associated sessions
Scope: SMART_FORMS_WRITE
Overview
Permanently deletes a smart form and all of its associated sessions, analyses, and analytics reports. This action is irreversible.
Request
DELETE
/smart-forms/:idHeaders
| Header | Value |
|---|---|
Authorization | Bearer fxk_live_<your-api-key> |
Path Parameters
Example Request
curl -X DELETE "https://api.formfex.com/api/v1/public/smart-forms/SMART_FORM_ID" \
-H "Authorization: Bearer $FORMFEX_API_KEY"Response
Error Cases
| Status | Description |
|---|---|
401 | Invalid or missing API key |
404 | Smart form not found or not owned by this API key |
Irreversible Action
Deleting a smart form permanently removes all sessions, AI analyses, and analytics reports. This cannot be undone. Consider unpublishing the form first if you only want to stop accepting new sessions.
n8n
In n8n, this operation is available as Delete under the Smart Form resource in the Formfex node.