> ## Documentation Index
> Fetch the complete documentation index at: https://docs.keywordsai.co/llms.txt
> Use this file to discover all available pages before exploring further.

# Delete user

Deletes a customer and all associated data.

<Warning>
  This operation is irreversible. All usage data and settings for this customer will be permanently deleted.
</Warning>

## Authentication

<Info>
  Public API: use an API key.

  * `Authorization: Bearer YOUR_API_KEY` (public API)
</Info>

## Path params

<ParamField path="customer_identifier" type="string" required={true}>
  Your unique identifier for this customer.
</ParamField>

## Request example

<RequestExample>
  ```python Python theme={"system"}
  import requests

  url = "https://api.keywordsai.co/api/users/user_123/"
  headers = {"Authorization": "Bearer YOUR_API_KEY"}

  resp = requests.delete(url, headers=headers)
  print(resp.status_code)
  ```

  ```bash cURL theme={"system"}
  curl -X DELETE "https://api.keywordsai.co/api/users/user_123/" \
    -H "Authorization: Bearer YOUR_API_KEY"
  ```
</RequestExample>

## Response

Returns `204 No Content` on success.

<ResponseExample>
  ```text theme={"system"}
  204 No Content
  ```
</ResponseExample>
