Delete a member
DELETE /audiences/{audienceUuid}/members/{uuid}
/audiences/{audienceUuid}/members/{uuid}Permanently deletes the member's subscription to this audience, together with the ecommerce customer records linked to it. The person stays as a contact in the account and in their other audiences.
When to use: Only when the user explicitly asks to remove a person from this audience for good.
When not to use: To stop sending to someone but keep their record and history, use member_unsubscribe. To remove them from one group only, use member_remove_from_group. To delete the person from the account altogether, use delete_contact; deleting a member never deletes the contact. If you have the contact UUID instead of the member UUID, delete_contact_audience_membership does the same.
Side effects: The membership and its history in this audience (groups, custom field values, activity) are deleted and cannot be recovered through the API; the ecommerce customer records linked to it are deleted too. No webhook fires and no automation is notified. The person stays as a contact and in their other audiences.
Permissions: Requires the manager role or higher, or the contacts.delete and marketing.audiences.write capabilities.
Value for the X-Auth-Token header parameter.
In: header
Path Parameters
UUID of the audience the member belongs to. Get it from list_audiences.
UUID of the member, which is the person's subscription to this audience (not a person id). Get it from list_audience_members or search_member.
Response Body
application/problem+json
application/problem+json
application/problem+json
curl -X DELETE "https://api.easymailing.com/audiences/0df14405-90ff-4287-b3e4-ef088901ee6f/members/7f3c2a10-5b8e-4d1a-9c2e-3a6f0b9d4e21" \ -H "X-Auth-Token: YOUR_API_KEY"