Set a user-scoped attribute value
Assigns (creates or replaces) the attribute value for one user. The value is type-checked against the attribute’s declared type.
Authorization: Requires organization admin.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Standard identifier pattern for resource names
^[a-zA-Z0-9_ -]+$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.
Body
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
default, group, user Email for user scope, group name for group scope, empty string for default.
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).