# Update or Delete a User Trait via File Upload

If you wish to change information about a User after they have been uploaded to the CrossEngage Platform, you can upload a JSON file with the new value of the respective trait. To identify the User, please use the `id` field, so CrossEngage can identify the correct User to update.

If you rather wish to delete a trait for a user, upload a user feed data file with `xng-delete-trait` as the value of the trait that should be deleted for that user.

{% hint style="warning" %}
Note that xng-delete-trait works only for string fields.
{% endhint %}

```
[
 {
  "id": "123786543",
  "email": "james.dean@yahoo.com",
  "businessUnit":"crossengage",
  "zipCode":"xng-delete-trait"
 }
]
```

{% hint style="info" %}
When updating User traits, since no change is being made to the Structure of the data, only the value, it is not necessary to Upload a header file.
{% endhint %}

{% hint style="warning" %}
If `email` and/or `businessUnit` are empty or missing from the import file, the importer will update them as empty and overwrite whatever there might have been saved before in the user profile.
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://documentation.crossengage.io/data-and-engagement-platform/data-management/data-management-with-data-feeds/users/update-or-delete-a-user-trait-via-file-upload.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
