---
title: "Delete customer"
method: DELETE
path: "/customers/{customerId}"
tags: ["Customers API"]
---

# Delete customer

`DELETE /customers/{customerId}`

## Request

- Base URL: `https://api.mollie.com/v2`
- URL: `https://api.mollie.com/v2/customers/{customerId}`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer
  - OAuth 2
    - Authorization code: `https://my.mollie.com/oauth2/authorize`
    - Token URL: `https://api.mollie.com/oauth2/tokens` scopes: `customers.write`

Delete a customer. All mandates and subscriptions created for this customer will be canceled as well.

> 🔑 Access with
>
> [API key](/reference/authentication)
>
> [Advanced access token with **customers.write**](/reference/authentication)
>
> [OAuth access with **customers.write**](/reference/authentication)

## Request body

- object
  - `testmode` boolean, nullable: Most API credentials are specifically created for either live mode or test mode, in which case this parameter must not be sent. For organization-level credentials such as OAuth access tokens, you can enable test mode by setting `testmode` to `true`. Test entities cannot be retrieved when the endpoint is set to live mode, and vice versa.

## Response `204`

An empty response.

- unknown

## Other responses

- `404`: No entity with this ID exists.
- `429`: Rate Limit has been reached.

---

[API](https://skmtc.dev/mollie/apis/recurring.md) - [All operations](https://skmtc.dev/mollie/apis/recurring/llms.txt) - [OpenAPI document](https://skmtc.dev/mollie/apis/recurring/revisions/86b07667b374?raw)
