---
title: "Update user attribute"
method: PUT
path: "/api/v1/user-attributes/{id}"
tags: ["User Attributes"]
---

# Update user attribute

`PUT /api/v1/user-attributes/{id}`

## Path parameters

- `id` number, required

## Request body

- UserAttributeUpdateInput
  - `defaultValue` string, nullable
  - `description` string, nullable
  - `displayName` string, nullable

## Response `200`

- UserAttribute
  - `defaultValue` string, nullable
  - `description` string, nullable
  - `displayName` string, nullable
  - `id` integer, required
  - `name` string, required
  - `type` 'string' | 'number' | 'boolean' | 'string_array' | 'number_array', required

## Changes

- **2026-07-31** `a0c6b1d2ac96` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/cube-js/apis/cube-cloud-rest-api/changes/api/v1/user-attributes/:id/put.md)

---

[API](https://skmtc.dev/cube-js/apis/cube-cloud-rest-api.md) · [All operations](https://skmtc.dev/cube-js/apis/cube-cloud-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/cube-js/cube-cloud-rest-api/revisions/97e151460143/schema)
