---
title: "Delete customer by ID"
method: DELETE
path: "/api/v1/customer/{customerId}"
tags: ["Customers"]
---

# Delete customer by ID

`DELETE /api/v1/customer/{customerId}`

## Request

- Base URL: `https://sandbox.api.afriex.com`
- URL: `https://sandbox.api.afriex.com/api/v1/customer/{customerId}`
- Auth: API key in header `x-api-key`
- TypeScript: <https://skmtc.dev/afriex/apis/afriex-business-api/docs/api/v1/customer/:customerId/delete.ts> (a function with typed inputs; its response is checked against the schema)

Deletes a specific customer by their unique identifier.

## Path parameters

- `customerId` string, required

## Response `200`

Customer deleted successfully.

- object
  - `data` object, nullable: Omitted on success. The response body is an empty object.

## Other responses

- `400`: Invalid customer ID format.
- `401`: Unauthorized.
- `404`: Customer not found.
- `500`: Server error.
- `503`: Temporarily unavailable: an upstream service failed or timed out, or the API is momentarily offline. Retry with backoff and honour the Retry-After header when present.

---

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