> For the complete documentation index, see [llms.txt](https://experience-crm.gitbook.io/experience-crm-api/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://experience-crm.gitbook.io/experience-crm-api/mailing-list/unsubscribe-opt-out/unsubscribe-a-list-of-customers.md).

# Unsubscribe a list of customers

This method allows you to unsubscribe one or more customers by specifying the type of unsubscription.

Possible types

* Mail Ban
* Marketing Decline
* SMS Ban
* Marketing Decline SMS

### Request&#x20;

<mark style="color:orange;">**POST**</mark> &#x20;

{% code overflow="wrap" %}

```url
https://interface.experience-hotel.com/api/xp-unsubscribe/opt-out-recipients
```

{% endcode %}

```postman_json
{
    "emails":[
        {
            "email":"a@a.com", 
            "mail_ban" : true,
            "marketing_decline" : true,
            "sms_ban" : true,
            "marketing_decline_sms" : true
        },
        {
            "email":"b@b.com", 
            "marketing_decline" : false
        },
        {
            "email":"doe@yy.com", 
            "sms_ban" : true
        }
    ]
}
```

### Response

Status Code 200 OK
