API ReferenceSubscriptionsDelete Subscription

    Delete Subscription

    Remove a contact's membership from a specific subscription group list. This hard-deletes the list relationship mapping but does NOT delete the contact profile globally from the Contacts Directory.

    DELETEhttps://wapi.simplysend.email/web-setup/contacts/subscription-groups/{groupId}/subscriptions/{identifier}

    Parameters

    groupIdRequired
    string
    The unique ID of the subscription group (path parameter).
    identifierRequired
    string
    The subscriber's contact identifier (must be a secure hashed channel identifier like 'email_<md5>' or 'phone_<md5>') (path parameter).
    RequestDELETE
    curl -X DELETE https://wapi.simplysend.email/web-setup/contacts/subscription-groups/newsletter_list/subscriptions/email_4832981775432a1383848b8137350438 \
      -H "X-Api-Key: your_api_key" \
      -H "X-Id: your_account_id"
    Response
    {
      "success": true,
      "data": {
        "message": "Subscriber deleted successfully"
      }
    }