---
title: "Api User Update Destroy"
method: DELETE
path: "/api/user/update/{customer_identifier}/"
tags: ["users"]
---

# Api User Update Destroy

`DELETE /api/user/update/{customer_identifier}/`

Consolidated single/detail view for customer users.

Serves BOTH:
- Public API: /api/users/<customer_identifier>/ (URL path lookup)
- Dashboard: /clickhouse/customer-users/<id>/?customer_identifier=xxx (query param lookup)

Retrieves customer user from PostgreSQL (not ClickHouse) because:
1. Point retrieval is weak in ClickHouse
2. Update operations require PostgreSQL
3. All aggregation data is already returned in the list view

This view returns editable fields + real-time usage from Redis.
Rate limited to protect against expensive point queries.

Uses SuperAdminMixin for queryset routing + object-level ownership.
No manual org injection needed - SuperAdminMixin handles patch() automatically.

## Path parameters

- `customer_identifier` string, required

## Headers

- `Authorization` string, required

## Response `200`

Successful response

---

[API](https://skmtc.net/keywordsai/apis/api-reference.md) · [All operations](https://skmtc.net/keywordsai/apis/api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/keywordsai/api-reference/versions/c26d550029f8/schema)
