---
title: Delete User Profile
url: https://platform.claude.com/docs/en/api/typescript/user_profiles/delete
---

# Delete User Profile

- Signature: `client.userProfiles.delete(userProfileID: string, params?: UserProfileDeleteParams, options?: RequestOptions): DeletedUserProfile`
- Endpoint: `DELETE /v1/user_profiles/{user_profile_id}`

## Example request

```ts
import Anthropic from "@anthropic-ai/sdk";

const client = new Anthropic({
  apiKey: process.env["ANTHROPIC_API_KEY"] // This is the default and can be omitted
});

const deletedUserProfile = await client.userProfiles.delete("uprof_011CZkZCu8hGbp5mYRQgUmz9");

console.log(deletedUserProfile.id);
```

## Example response (200)

```json
{
  "id": "uprof_011CZkZCu8hGbp5mYRQgUmz9",
  "type": "user_profile_deleted"
}
```

## Parameters

```ts
/** The ID of the user profile to delete (`uprof_...`). */
userProfileID: string; // path parameter

interface UserProfileDeleteParams {
  /** Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`). Only needed for credentials that can act on more than one Workspace. A credential that belongs to a specific Workspace may omit it; if sent, it must match that Workspace. */
  workspace_id?: string; // header parameter
}
```

## Returns

```ts
interface DeletedUserProfile {
  /** Object type. Always `user_profile_deleted`. */
  type: "user_profile_deleted";
  /** Identifier of the deleted user profile, prefixed `uprof_`. */
  id: string;
}
```
