> For the complete documentation index, see [llms.txt](https://roqqu-api-services.gitbook.io/ras/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://roqqu-api-services.gitbook.io/ras/customers/blacklist-customer.md).

# Blacklist Customer

Add a customer to the blacklist.

**Endpoint:** `POST /customers/blacklist`

#### Request Parameters <a href="#request-parameters-7" id="request-parameters-7"></a>

| Parameter | Type   | Required | Description                         |
| --------- | ------ | -------- | ----------------------------------- |
| email     | string | Yes      | Email of customer to be blacklisted |
| reason    | string | Yes      | Reason for blacklist                |

#### Example Request <a href="#example-request-11" id="example-request-11"></a>

```
curl -X POST https://service.roqqu.com/v1/customers/blacklist \
  -H "Content-Type: application/x-www-form-urlencoded" \
  -d "email=jean@email.com" \
  -d "reason=bad behaviour and ignorance"
```

#### Example Response <a href="#example-response-11" id="example-response-11"></a>

```
{
  "status": "success",
  "message": "customer blacklisted successfully",
  "data": 2
}
```
