Add a user to an organization
/v1/orgs/{orgId}/users
Associates an existing user with an organization, granting them access to organization-specific resources and studies.
Path Parameters
orgId: string
Unique organization identifier. Format: org_{32-hex-chars}
Body Parameters
userId: string
User ID to add to the organization. Format: usr_{32-hex-chars}
Returns
success: boolean
message: optional string
Add a user to an organization
curl https://api.avarasoftware.com/v1/orgs/$ORG_ID/users \
-H 'Content-Type: application/json' \
-H "Authorization: Bearer $AVARA_API_KEY" \
-d '{
"userId": "usr_1234567890abcdef1234567890abcdef"
}'
{
"success": true,
"message": "Operation completed successfully"
}
Returns Examples
{
"success": true,
"message": "Operation completed successfully"
}