Dashform

Delete a Destination

Deletes the Destination, as Zapier does when a Zap turns off. The response is empty, and later Completed Replies plan no Delivery for it. Set validateOnly to check the request without deleting anything.

DELETE
/organizations/{organizationRef}/forms/{formRef}/destinations/{destinationRef}

Authorization

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.

formRef*||

The Form the Destination belongs to, addressed by its canonical id or by its public id.

destinationRef*string

The Destination, addressed by the canonical id its path ends with.

Formatuuid

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 Destination 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/destinations/497f6eca-6276-4993-bfeb-53cbbbba6f08' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response
{}