Dashform

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
/organizations/{organizationRef}/forms/{formRef}

Authorization

apiKey
headerx-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.

Path Parameters

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.

Request Body

application/json
  1. body
validateOnly?boolean

Run every check the request would run and stop before persisting anything. The response describes the outcome the request would have had.

Defaultfalse

Response Body

OK

application/json
  1. response

Empty response; the Form no longer exists.

curl -X DELETE 'https://getaiform.com/api/v2/organizations/497f6eca-6276-4993-bfeb-53cbbbba6f08/forms/497f6eca-6276-4993-bfeb-53cbbbba6f08' \  -H 'Content-Type: application/json' \  -d '{}'
{}