---
title: "Remove a customer"
method: DELETE
path: "/customers/{customer_id}"
tags: ["Customer"]
---

# Remove a customer

`DELETE /customers/{customer_id}`

## Request

- Base URL: `https://api.gocardless.com`
- URL: `https://api.gocardless.com/customers/{customer_id}`
- Auth: HTTP bearer

Removed customers will not appear in search results or lists of customers (in our API
or exports), and it will not be possible to load an individually removed customer by
ID.

<p class="restricted-notice"><strong>The action of removing a customer cannot be reversed, so please use with care.</strong></p>

## Path parameters

- `customer_id` string, required

## Headers

- `GoCardless-Version` string, required

## Request body

- object
  - `customers` object

## Response `204`

Resource deleted successfully (no content)

## Other responses

- `400`: Bad Request
- `401`: Unauthorised
- `404`: Not found
- `422`: Validation Error
- `500`: Internal Error

---

[API](https://skmtc.dev/gocardless/apis/gocardless-api.md) - [All operations](https://skmtc.dev/gocardless/apis/gocardless-api/llms.txt) - [OpenAPI document](https://skmtc.dev/gocardless/apis/gocardless-api/revisions/4dd3dae45364?raw)
