← Back to API

Delete a form

Permanently delete a form. Only forms owned by the API key's account can be deleted. This action cannot be undone.

DELETE /api/v1/forms/:id

Request

Path parameters

ParameterDescription
idForm ID (e.g. form_1739012345_abc123xyz)

Response (success)

Status: 200 OK

{
  "success": true,
  "data": {
    "id": "form_1739012345_abc123xyz",
    "deleted": true
  },
  "meta": { "request_id": null, "api_version": "2024-01-01" }
}

Code examples

curl -X DELETE "https://backend.chatterforms.com/api/v1/forms/form_1739012345_abc123xyz" \
  -H "Authorization: Bearer cf_live_YOUR_API_KEY"

Error responses

StatusCodeDescription
401INVALID_API_KEYMissing or invalid API key
404NOT_FOUNDForm not found or not owned
500DELETE_FAILEDFailed to delete form
500INTERNAL_ERRORInternal error

See Errors for details.