Add a user to an organization
Add a single existing account user to an organization with a specified role.
Payload Requirements
user_idandroleare both required.- If the user is already a member, their role is updated to the specified value (upsert).
Role constraints
- Users with an
annotatoraccount role can only be assigned theannotatororganization role. - Users with a non-annotator account role cannot be assigned the
annotatororganization role.
Requires organization admin.
Valid example
{
"user_id": "VXNlcjo0MjphQmNE",
"role": "member"
}
Invalid example (annotator account user assigned non-annotator org role — returns 400)
{
"user_id": "VXNlcjo0MjphQmNE",
"role": "admin"
}
Authorizations
Most Arize AI endpoints require authentication. For those endpoints that require authentication, include your API key in the request header using the format
Path Parameters
The unique organization identifier (base64) A universally unique identifier (base64-encoded opaque string).
"RW50aXR5OjEyMzQ1"
Body
Body containing the user to add to the organization
The unique identifier of the user to add
"RW50aXR5OjEyMzQ1"
A role assignment for an organization membership. Discriminated by type:
predefined: one of the predefined roles (admin,member,read-only,annotator)custom: a custom RBAC role identified by its ID
- Option 1
- Option 2
Response
User successfully added to the organization
Unique identifier for the membership record
"RW50aXR5OjEyMzQ1"
The unique identifier of the user
"RW50aXR5OjEyMzQ1"
The unique identifier of the organization
"RW50aXR5OjEyMzQ1"
A role assignment for an organization membership. Discriminated by type:
predefined: one of the predefined roles (admin,member,read-only,annotator)custom: a custom RBAC role identified by its ID
- Option 1
- Option 2