User attributes
List switchable attributes for the current user
Changed onRetrieve the user attributes the calling user can switch, along with any switch that is currently active.
If the calling user is using a PAT, the token will act as the authenticating user. An Organization API key will act as the key's creator.
get/v1/user-attribute-selections
Request
- Base URLhttps://blobsrus.omniapp.co/api
- URLhttps://blobsrus.omniapp.co/api/v1/user-attribute-selections
- AuthHTTP bearer
Response
The caller's switchable attributes and active switches.
If nothing is provisioned for the calling user, the records in the response will be empty.
An Organization Admin will get a record for every attribute with allow_any_value: true, whether or not anything is provisioned for them.
Example response
{
"records": [
{
"user_attribute_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"name": "region",
"label": "Region",
"selectable_values": [
"acme",
"globex"
],
"selected_values": [
"globex"
]
}
]
}Changes
- info
endpoint added
- info