Skip to main content
PUT/users/mass_update_custom_attributes/

Mass update custom attributes

You can update a value for your custom attributes for many users at the same time.

AttributesTypeRequiredDescription
idslist(integers)yesList of users' ids (unique identifiers for the user which are given by User.com automatically).
attributestringyesThe name of your attribute. Has to be at least 1 character, and cannot be longer than 255 characters.
valuevarious typesyesA possible attribute types: boolean, fixed, string, date, datetime, integer, float and json.

Request​

curl -X PUT -H "Authorization: Token \<your_64_char_api_key>" -H "Content-Type: application/json" -d '{
"ids": [10, 15, 22, 23],
"attribute": "Name of the attribute",
"value": "Value for the attribute"
}' "https://<your_app_subdomain>.user.com/api/public/users/mass_update_custom_attributes/"