Easymailing
Subscription forms

Delete a subscription form

DELETE /subscription_forms/{uuid}

DELETE/subscription_forms/{uuid}

Permanently deletes the form together with its history of received answers and its statistics. The contacts, companies and subscriptions it already created stay.

When to use: Only when the person wants the form gone for good.

When not to use: To take it offline for a while use pause_subscription_form. It cannot be undone. For a classic form use delete_form.

Side effects: Confirmation links of people who signed up but did not confirm yet stop working, and what was waiting to be applied for them (CRM data, group memberships) is lost. The rest of the history is cleaned up just after the response. People already subscribed through the form stay subscribed, and the form stops being shown on the sites that use it.

Permissions: Requires the manager role or higher, or the marketing.forms_landings.delete capability.

Authorization

X-Auth-Token<token>

Value for the X-Auth-Token header parameter.

In: header

Path Parameters

uuid*string

UUID of the form. Get it from list_subscription_forms.

Formatuuid

Response Body

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X DELETE "https://api.easymailing.com/subscription_forms/3f1c7a52-8d4e-4b0a-9c61-2e5a7d9b1f08" \  -H "X-Auth-Token: YOUR_API_KEY"
Empty