Delete a Form
Deletes the Form. The response is empty, and a later read answers 404. Set validateOnly to check the request without deleting anything.
DELETE
header
x-api-key<token>A Dashform API key, sent in the x-api-key header. Keys are created in the dashboard and act as the user who owns them.
organizationRef*||The Organization that owns the Form, addressed by its canonical id or by its slug. Responses always carry the canonical id.
formRef*||The Form, addressed by its canonical id or by its public id, the segment its public URL carries. Responses always carry the canonical id.
application/json- body
validateOnly?booleanRun every check the request would run and stop before persisting anything. The response describes the outcome the request would have had.
Default
falseOK
application/json- response
Empty response; the Form no longer exists.
Example Request
curl -X DELETE 'https://getaiform.com/api/v1/organizations/497f6eca-6276-4993-bfeb-53cbbbba6f08/forms/497f6eca-6276-4993-bfeb-53cbbbba6f08' \ -H 'Content-Type: application/json' \ -d '{}'Example Response
{}