---
title: "Delete a customer"
method: DELETE
path: "/api/users/{customer_identifier}/"
tags: ["users"]
---

# Delete a customer

`DELETE /api/users/{customer_identifier}/`

Delete a customer by `customer_identifier`. This action is irreversible.

## Path parameters

- `customer_identifier` string, required

## Query parameters

- `environment` 'prod' | 'test'

## Headers

- `Authorization` string, required

## Response `200`

Successful response

## Other responses

- `401` — Unauthorized - Missing/invalid authentication
- `404` — Not Found
- `429` — Rate Limited
- `500` — Internal Server Error

## Changes

- **2026-08-13** `4e064cf81dae` — 5 info
  - added the new optional `query` request parameter `environment`
  - added the non-success response with the status `401`
  - added the non-success response with the status `404`
  - added the non-success response with the status `429`
  - …1 more
- **2026-07-31** `c26d550029f8` — 1 warning, 4 info
  - deleted the `query` request parameter `environment`
  - removed the non-success response with the status `401`
  - removed the non-success response with the status `404`
  - removed the non-success response with the status `429`
  - …1 more

[Change history](https://skmtc.dev/keywordsai/apis/api-reference/changes/api/users/:customer_identifier/delete.md)

---

[API](https://skmtc.dev/keywordsai/apis/api-reference.md) · [All operations](https://skmtc.dev/keywordsai/apis/api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/keywordsai/api-reference/revisions/4e064cf81dae/schema)
