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

# Delete a user

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

## Request

- Base URL: `https://api.respan.ai`
- URL: `https://api.respan.ai/api/users/{customer_identifier}/`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer

Permanently deletes the user.

## Path parameters

- `customer_identifier` string, required

## Query parameters

- `environment` 'prod' | 'test'

## Response `204`

User deleted successfully.

## Other responses

- `403`: The API key is missing, invalid or expired.
- `404`: Not Found
- `429`: Rate Limited
- `500`: Internal Server Error

## Changes

- **2026-10-21** `c30bcb383ee8`: 1 breaking, 5 info
  - removed the success response with the status `200`
  - api operation id `users_deleteUser` removed and replaced with `deleteUser`
  - the endpoint scheme security `DashboardJwt` was added to the API
  - api tag `Users` added
  - …2 more
- **2026-10-02** `b830b79cfd52`: 2 info
  - added the non-success response with the status `403`
  - removed the non-success response with the status `401`
- **2026-09-17** `6fa8242da8c2`: 1 warning, 1 info
  - deleted the `header` request parameter `Authorization`
  - the endpoint scheme security `RespanApiKey` was added to the API
- **2026-09-12** `22b868ef3f22`: 1 info
  - api operation id `delete-user` removed and replaced with `users_deleteUser`
- **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

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

---

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