Skip to main content
POST
Assign an attribute to a user

Headers

Authorization
string
required

value must be Bearer <token> where <token> is api key prefixed with cal_

Path Parameters

orgId
number
required
userId
number
required

Body

application/json
attributeId
string
required
value
string
attributeOptionId
string
weight
number

The weight of the attribute for this user

Required range: x >= 0

Response

201 - application/json
status
enum<string>
required
Available options:
success,
error
Example:

"success"

data
object
required