Delete a subscription form
DELETE /audiences/{audienceUuid}/suscription_forms/{uuid}
/audiences/{audienceUuid}/suscription_forms/{uuid}Permanently deletes a subscription form together with its statistics and history. People already subscribed through it stay in the audience.
When to use: To remove a form that is no longer needed and will not be used again.
When not to use: To take the form off the website but keep it, use unpublish_form or pause_form. For a form created in the Customer App use delete_subscription_form.
Side effects: Members who signed up through the form stay in the audience; only their link to the form is cleared. No webhook fires.
Permissions: Requires the manager role or higher, or the marketing.forms_landings.delete capability.
Value for the X-Auth-Token header parameter.
In: header
Path Parameters
UUID of the audience the form belongs to. Get it with list_audiences.
UUID of the subscription form. Get it with list_audience_forms.
Response Body
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X DELETE "https://api.easymailing.com/audiences/0df14405-90ff-4287-b3e4-ef088901ee6f/suscription_forms/3f1c7a52-8d4e-4b0a-9c61-2e5a7d9b1f08" \ -H "X-Auth-Token: YOUR_API_KEY"