User attributes
Set switchable values for a user or group
Changed onReplaces the values a user or group may switch this attribute to. Values are validated against the attribute type, such as String.
Provide one of user_id or group_id; providing both will result in an error.
<Warning> Provisioning a value grants data access. Shared extensions and access filters often route on the same attribute, so a switchable value typically lets the user read another tenant's rows. Provision only the values a user or group should see. </Warning>put/v1/user-attributes/{userAttributeId}/selectable-values
Request
- Base URLhttps://blobsrus.omniapp.co/api
- URLhttps://blobsrus.omniapp.co/api/v1/user-attributes/{userAttributeId}/selectable-values
- AuthHTTP bearer
Path parameters
userAttributeIdstring uuid required
Example:a1b2c3d4-e5f6-7890-abcd-ef1234567890
User attribute ID
Request body
Example request
{
"user_id": "8f14e45f-ceea-467a-9c2b-8f1d2a3b4c5d",
"values": [
"acme",
"globex"
]
}Response
The provisioning as stored
Example response
{
"user_attribute_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"values": [
"acme",
"globex"
]
}Changes
- info
endpoint added
- info