---
title: "Delete an identified user"
method: DELETE
path: "/users/{userId}"
tags: ["Users"]
---

# Delete an identified user

`DELETE /users/{userId}`

## Request

- Base URL: `https://api.produktly.com/api/v1`
- URL: `https://api.produktly.com/api/v1/users/{userId}`
- Auth: HTTP bearer

Hard-deletes the identified user. Analytics events are kept (they reference the external ID as a plain string).

## Path parameters

- `userId` string, required: The user's external ID — the same value you pass to window.Produktly.identifyUser(). URL-encode it.

## Response `204`

Deleted. No response body.

## Other responses

- `400`: Validation error
- `401`: Unauthorized
- `404`: User not found
- `429`: Rate limit exceeded

---

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