DELETE/smart-forms/:id

Delete 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/:id

Headers

HeaderValue
AuthorizationBearer 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

StatusDescription
401Invalid or missing API key
404Smart 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.