Version 4.0.24.20 (latest)
Store a custom value for a user attribute in a user's account settings.
Per-user user attribute values take precedence over group or default values.
Request
PATCH
/users/{user_id}/attribute_values/{user_attribute_id}
Datatype
Description
Request
path
Expand HTTP Path definition...
user_id
Id of user
user_attribute_id
Id of user attribute
body
Expand HTTP Body definition...
body
New attribute value for user.
Expand UserAttributeWithValue definition...
can
lock
Operations the current user is able to perform on this object
name
lock
Name of user attribute
label
lock
Human-friendly label for user attribute
rank
lock
Precedence for setting value on user (lowest wins)
value
Value of attribute for user
user_id
lock
Id of User
user_can_edit
lock
Can the user set this value
value_is_hidden
lock
If true, the "value" field will be null, because the attribute settings block access to this value
user_attribute_id
lock
Id of User Attribute
source
lock
How user got this value for this attribute
hidden_value_domain_whitelist
lock
If this user attribute is hidden, allowed list of destinations to which it may be sent.
Response
200: User attribute value.
Datatype
Description
(object)
can
lock
Operations the current user is able to perform on this object
name
lock
Name of user attribute
label
lock
Human-friendly label for user attribute
rank
lock
Precedence for setting value on user (lowest wins)
value
Value of attribute for user
user_id
lock
Id of User
user_can_edit
lock
Can the user set this value
value_is_hidden
lock
If true, the "value" field will be null, because the attribute settings block access to this value
user_attribute_id
lock
Id of User Attribute
source
lock
How user got this value for this attribute
hidden_value_domain_whitelist
lock
If this user attribute is hidden, allowed list of destinations to which it may be sent.
400: Bad Request
Datatype
Description
(object)
message
lock
Error details
documentation_url
lock
Documentation link
403: Permission Denied
Datatype
Description
(object)
message
lock
Error details
documentation_url
lock
Documentation link
404: Not Found
Datatype
Description
(object)
message
lock
Error details
documentation_url
lock
Documentation link
422: Validation Error
Datatype
Description
(object)
message
lock
Error details
errors
Expand ValidationErrorDetail definition...
field
lock
Field with error
code
lock
Error code
message
lock
Error info message
documentation_url
lock
Documentation link
documentation_url
lock
Documentation link
429: Too Many Requests
Datatype
Description
(object)
message
lock
Error details
documentation_url
lock
Documentation link