List User Attribute Values
List the user attribute values that apply to a user.
Includes values inherited from the user's groups as well as values set directly on the user. is_overridden marks a group-inherited value that a higher-precedence group's value, or a value set directly on the user, has superseded - so the effective set is the entries where it is false. user_attribute_precedence is null exactly when source is "user" (a directly-set value) - only groups carry a precedence.
get/workspaces/{workspace_id}/members/{user_id}/user_attributes
Authorizations
AuthorizationstringRequired
A Personal Access Token (PAT).
Path parameters
workspace_idstringRequired
user_idstringRequired
Responses
200
Successful Response
application/json
4XX
Client Error
application/json
5XX
Server Error
application/json
get/workspaces/{workspace_id}/members/{user_id}/user_attributes
curl -L https://api-external.zenlytic.com/api/v2/workspaces/<workspace_id>/members/<user_id>/user_attributes \
-H 'Authorization: Bearer YOUR_TOKEN'
{
"data": [
{
"id": "ua_789",
"user_attribute_definition_id": "uad_123",
"value": "west",
"data_type": "string",
"name": "region",
"source": "user",
"source_id": "usr_111",
"is_overridden": false
},
{
"id": "ua_790",
"user_attribute_definition_id": "uad_124",
"value": "2024-01-15",
"data_type": "date",
"name": "renewal_date",
"source": "group",
"source_id": "grp_123",
"user_attribute_precedence": 1,
"is_overridden": true
}
],
"meta": {
"status": "success",
"errors": [],
"warnings": []
}
}Last updated
Was this helpful?

