Update a user attribute

View as Markdown
Update the name, description, or default value of a user attribute. Only the fields included in the request are changed. ### Usage notes - Retrieve the **userAttributeId** by calling the [/v2/user-attributes](https://help.sigmacomputing.com/reference/list-user-attributes) endpoint. - Sigma-managed user attributes, such as /`home_page/` cannot be renamed.

Authentication

AuthorizationBearer

OAuth authentication of the form <token>.

Path parameters

userAttributeIdstringRequired
Unique identifier of the user attribute.

Request

The request body.
userAttributeNamestringOptional
Name of the user attribute.
descriptionstringOptional
Description of the user attribute.
defaultValueobject or nullOptional
Default value of the user attribute. Pass null to clear the current default value.

Response

The response body.
userAttributeIdstring
Unique identifier of the user attribute.
namestring
Name of the user attribute.
createdBystring
The identifier of the user who created this object.
updatedBystring
The identifier of the user or process that last updated this object.
createdAtdatetime
When the object was created.
updatedAtdatetime
When the object was last updated.
descriptionstring or nullOptional
Description of the user attribute.
defaultValueobject or nullOptional
Default value of the user attribute.