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
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.
formRef*||The Form the Destination belongs to, addressed by its canonical id or by its public id.
destinationRef*stringThe Destination, addressed by the canonical id its path ends with.
Format
uuidapplication/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 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
{}