---
title: "Updates the list of user attributes"
method: PUT
path: "/data/user"
tags: ["datatypes"]
---

# Updates the list of user attributes

`PUT /data/user`

Submits a new version of the available user attributes replacing the previous one.

## Request body

- UserDataDictionaryType — Defines the list of attributes that will potentially appear within the user context of incoming events.
  - `description` string — An optional, user-provided, description of the data contained in the data dictionary.
  - `attributes` AttributeDefinition[] — The list of user attributes
    - `name` string — the name of the attribute
    - `description` string — an optional description for this attribute
    - `type` 'bool' | 'text' | 'integer' | 'float' | 'datetime' — Enumeration of all supported data types for user and event attributes
    - `mandatory` boolean — indicates that this attribute must have a value
    - `editable` boolean — indicates that this attribute can be changed in some way or not.

## Response `200`

Returns the original user attributes list that was used as an input to this operation.

- UserDataDictionaryUpdateResponse — Defines the list of attributes that will potentially appear within the user context of incoming events.
  - `description` string — An optional, user-provided, description of the data contained in the data dictionary.
  - `attributes` AttributeDefinition[] — The list of user attributes
    - `name` string — the name of the attribute
    - `description` string — an optional description for this attribute
    - `type` 'bool' | 'text' | 'integer' | 'float' | 'datetime' — Enumeration of all supported data types for user and event attributes
    - `mandatory` boolean — indicates that this attribute must have a value
    - `editable` boolean — indicates that this attribute can be changed in some way or not.
  - `validationErros` UserDataDictionaryValidationErrorsType — Contains all the validation errors that might occur during an update operation of the user data types. Only errors related to the attribute definitions in the user attributes pool can occur and these will be contained in the attributeErrors field.
    - `attributeErrors` AttributeValidationErrorType[]
      - `attributeName` string — The name of the attribute
      - `errorMessage` string — A description of the nature of the error

---

[API](https://skmtc.net/gameanalytics/apis/datatiger-management-api.md) · [All operations](https://skmtc.net/gameanalytics/apis/datatiger-management-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/gameanalytics/datatiger-management-api/revisions/20a4f732a0b7/schema)
