---
title: "Delete a user attribute for a user"
method: DELETE
path: "/v2/user-attributes/{userAttributeId}/users/{userId}"
tags: ["User attributes"]
---

# Delete a user attribute for a user

`DELETE /v2/user-attributes/{userAttributeId}/users/{userId}`

## Request

- Base URL: `https://api.sigmacomputing.com`
- URL: `https://api.sigmacomputing.com/v2/user-attributes/{userAttributeId}/users/{userId}`
- Auth: HTTP bearer

Delete a specific user attribute for a specific user.

  ### Usage notes
  - Retrieve the **userAttributeId** by calling the [/v2/user-attributes](https://help.sigmacomputing.com/reference/list-user-attributes) endpoint.
  - Retrieve the **userId** by calling the [/v2/members](https://help.sigmacomputing.com/reference/list-members) endpoint and using the `memberId` included in the response.

## Path parameters

- `userAttributeId` string, required
- `userId` string, required

## Response `200`

The response body.

- UserAttributesDeleteUserAttributeForUserResponse200

---

[API](https://skmtc.dev/sigmacomputing/apis/sigma-rest-api.md) - [All operations](https://skmtc.dev/sigmacomputing/apis/sigma-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/sigmacomputing/apis/sigma-rest-api/revisions/fb6036208c49?raw)
