---
title: "Delete a user profile"
method: DELETE
path: "/api/v2/product-analytics/users/{user_id}"
tags: ["Rum Audience Management"]
---

# Delete a user profile

`DELETE /api/v2/product-analytics/users/{user_id}`

## Request

- Base URL: `https://api.datadoghq.com`
- URL: `https://api.datadoghq.com/api/v2/product-analytics/users/{user_id}`
- Auth: one of:
  - API key in header `DD-API-KEY` and API key in header `DD-APPLICATION-KEY`
  - OAuth 2
    - Authorization code: `/oauth2/v1/authorize`
    - Token URL: `/oauth2/v1/token`

Delete a Product Analytics user profile.
Deletion is asynchronous: the request is accepted and the profile is removed shortly after, usually within a few minutes.
This only deletes the user profile. To delete the RUM events of the user, use the RUM data deletion API.

## Path parameters

- `user_id` string, required

## Response `202`

Deletion accepted; the profile will be removed asynchronously

## Other responses

- `400`: Bad Request
- `403`: Forbidden
- `429`: Too many requests

## Changes

- **2026-11-12** `6cc2bb1f7a80`: 2 info
  - added the optional property `errors/items/code` to the response with the `400` status
  - added the optional property `errors/items/code` to the response with the `403` status
- **2026-11-11** `a55830ce5da5`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/datadog/apis/datadog-api-v2-collection/changes/api/v2/product-analytics/users/:user_id/delete.md)

---

[API](https://skmtc.dev/datadog/apis/datadog-api-v2-collection.md) - [All operations](https://skmtc.dev/datadog/apis/datadog-api-v2-collection/llms.txt) - [OpenAPI document](https://skmtc.dev/datadog/apis/datadog-api-v2-collection/revisions/14d85160bfa9?raw)
