> ## Documentation Index
> Fetch the complete documentation index at: https://wpay-feat-edp-guide.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Delete a buyer

> Delete a customer record.

A buyer can be deleted by calling the [`DELETE /buyers/{buyer_id}`][api] API.

<Warning>
  Although this API deletes the buyer resource, it does not delete any associated
  payment methods and transactions. Instead, it only disassociates these from the
  buyer resource.
</Warning>

<CodeGroup>
  ```bash cURL
  curl -i -X DELETE "https://api.example.gr4vy.app/buyers/77a76f7e-d2de-4bbc-ada9-d6a0015e6bd5" \
      -H "Authorization: Bearer [JWT_TOKEN]"
  ```

  ```js Node
  await client.deleteBuyer("77a76f7e-d2de-4bbc-ada9-d6a0015e6bd5");
  ```
</CodeGroup>

The API returns an empty response once the buyer was deleted.

[api]: /reference/buyers/delete-buyer
