---
title: "Clear a switched attribute value for the current user"
method: DELETE
path: "/v1/user-attribute-selections"
tags: ["User attributes"]
---

# Clear a switched attribute value for the current user

`DELETE /v1/user-attribute-selections`

## Request

- Base URL: `https://blobsrus.omniapp.co/api`
- URL: `https://blobsrus.omniapp.co/api/v1/user-attribute-selections`
- Auth: HTTP bearer

Clear the calling user's switch for a [user attribute](/administration/users/attributes/user-selected), restoring the administrator-assigned value. Clearing an attribute that is not currently switched succeeds and changes nothing.

## Query parameters

- `userAttributeId` string, uuid, required

## Response `200`

The caller's switchable attributes after the change

- UserAttributeSelectionsResponse
  - `records` object[], required: Attributes the calling user can switch. Empty when nothing is provisioned for them. An Organization Admin receives every attribute with `allow_any_value: true`.
    - `user_attribute_id` string, required: Unique identifier for custom attributes. Empty string for system-defined attributes.
    - `name` string, required: Reference name used in model SQL and in embed SSO URL parameters. Unique within the organization. Must start with a letter, contain only letters, numbers and underscores, and must not start with `omni_`.
    - `label` string, required: Display name shown in the Omni UI. Unique among the custom attributes in the organization, and may match the label of a system attribute. Must not start with `Omni` and must not be one of the reserved connection labels: `Host`, `Password`, `Database`, `Port`, `Schema`, `Connection Name`.
    - `multiple_values` boolean, required: Whether the attribute accepts an array of values.
    - `allow_any_value` boolean, required: Whether the user or group can switch to a value that is not listed. When `true`, `selectable_values` are suggestions.
    - `selectable_values` string[], required: The provisioned values. When `allow_any_value` is `true`, up to 200 suggestions drawn from values assigned to users in the organization.
    - `selected_values` string[], required: The active switch, or `null` when the assigned value applies.

## Other responses

- `400`: Bad Request. The `userAttributeId` parameter is missing or is not a valid UUID.
- `401`: Authentication required
- `405`: Method Not Allowed - Invalid HTTP method for this endpoint
- `429`: Too Many Requests - Rate limit exceeded (60 requests/minute)
- `500`: Internal Server Error

## Changes

- **2026-11-03** `43290040f88f`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/omni/apis/omni-api/changes/v1/user-attribute-selections/delete.md)

---

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