Skip to main content
POST
/
v2
/
organizations
/
{org_id}
/
users
Add a user to an organization
curl --request POST \
  --url https://api.arize.com/v2/organizations/{org_id}/users \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "user_id": "VXNlcjoxMjM0NQ==",
  "role": {
    "type": "predefined",
    "name": "member"
  }
}
'
{
  "id": "QWNjb3VudE9yZ2FuaXphdGlvbk1lbWJlcjox",
  "user_id": "VXNlcjoxMjM0NQ==",
  "organization_id": "QWNjb3VudE9yZ2FuaXphdGlvbjox",
  "role": {
    "type": "predefined",
    "name": "member"
  }
}

Documentation Index

Fetch the complete documentation index at: https://arize-ax.mintlify.dev/docs/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

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

org_id
string
required

The unique identifier of the organization A universally unique identifier

Example:

"RW50aXR5OjEyMzQ1"

Body

application/json

Body containing the user to add to the organization

user_id
string
required

The unique identifier of the user to add

Example:

"RW50aXR5OjEyMzQ1"

role
object
required

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

Response

User successfully added to the organization

id
string
required

Unique identifier for the membership record

Example:

"RW50aXR5OjEyMzQ1"

user_id
string
required

The unique identifier of the user

Example:

"RW50aXR5OjEyMzQ1"

organization_id
string
required

The unique identifier of the organization

Example:

"RW50aXR5OjEyMzQ1"

role
object
required

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