Add Users To Organization
PUT/api/v1/organizations/:organization_id/users
Add a user to an organization.
Request
Path Parameters
Cookie Parameters
- application/json
Body
array
required
Array [
- MOD1
- MOD1
]
user_id
object
The user's ID.
anyOf
string
email
object
The user's email address.
anyOf
string
Responses
- 200
- 422
Successful Response
- application/json
- Schema
- Example (from schema)
Schema
Array [
- MOD1
- MOD1
- MOD1
- MOD1
- MOD1
]
Unique identifier
created_at
object
Creation datetime
anyOf
string
updated_at
object
Update datetime
anyOf
string
The user's email address.
user_id
object
The user's ID.
anyOf
string
The organization's ID.
Default value: true
Whether the user's membership is pending account signup.
invited_by_user_id
object
The user ID of the user who added the user to the organization.
anyOf
string
invited_by_user_email
object
The email address of the user who added the user to the organization.
anyOf
string
[
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"created_at": "2024-10-03T01:48:33.236Z",
"updated_at": "2024-10-03T01:48:33.236Z",
"email": "user@example.com",
"user_id": "string",
"organization_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"pending": true,
"invited_by_user_id": "string",
"invited_by_user_email": "user@example.com"
}
]
Validation Error
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
- MOD1
- MOD2
]
]
detail
object[]
loc
object[]
required
anyOf
string
integer
{
"detail": [
{
"loc": [
"string",
0
],
"msg": "string",
"type": "string"
}
]
}