Skip to main content
PUT
Set a user-scoped attribute value

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

organizationName
string
required

Standard identifier pattern for resource names

Pattern: ^[a-zA-Z0-9_ -]+$
userName
string<email>
required

The user's userName — their email address (userName == email in this system; the identity the router resolves attribute values against). Matches the /users/{userName} resource key.

attributeName
string
required

Body

application/json
value
any
required

Scalar or array matching the attribute's declared Malloy type, validated server-side. Intentionally schema-less because the concrete type varies per attribute (e.g. string[], number).

Response

Value assigned

scope
enum<string>
required
Available options:
default,
group,
user
subject
string
required

Email for user scope, group name for group scope, empty string for default.

precedence
integer
default:0
value
any

Scalar or array matching the attribute's declared Malloy type, validated server-side. Intentionally schema-less because the concrete type varies per attribute (e.g. string[], number).