List Organization Users
GET/api/v1/organizations/:organization_id/users
Get all users in an organization.
Request
Path Parameters
Cookie Parameters
Responses
- 200
- 422
Successful Response
- application/json
- Schema
- Example (from schema)
Schema
Array [
- MOD1
- MOD1
- MOD1
- MOD1
- MOD1
Array [
- MOD1
- MOD1
- MOD1
- MOD1
- MOD1
Array [
- 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.
Whether the user's membership is pending account signup.
true
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
roles
object[]
required
The roles of the user in the organization.
Unique identifier
created_at
object
Creation datetime
anyOf
string
updated_at
object
Update datetime
anyOf
string
The user's ID.
The organization's ID.
The role's ID.
role
object
required
The role.
Unique identifier
created_at
object
Creation datetime
anyOf
string
updated_at
object
Update datetime
anyOf
string
A name for the role.
Possible values: non-empty
and <= 3000 characters
organization_id
object
required
The organization's ID.
anyOf
string
permissions
object[]
required
The actual permissions of the role.
Unique identifier
created_at
object
Creation datetime
anyOf
string
updated_at
object
Update datetime
anyOf
string
A name for the permission.
Possible values: non-empty
and <= 3000 characters
description
object
required
A description for the permission.
anyOf
string
Whether the permission is granted or not.
[
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"created_at": "2024-07-29T15:51:28.071Z",
"updated_at": "2024-07-29T15:51:28.071Z",
"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",
"roles": [
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"created_at": "2024-07-29T15:51:28.071Z",
"updated_at": "2024-07-29T15:51:28.071Z",
"user_id": "string",
"organization_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"role_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"role": {
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"created_at": "2024-07-29T15:51:28.071Z",
"updated_at": "2024-07-29T15:51:28.071Z",
"name": "string",
"organization_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"permissions": [
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"created_at": "2024-07-29T15:51:28.071Z",
"updated_at": "2024-07-29T15:51:28.071Z",
"name": "string",
"description": "string",
"access": true
}
]
}
}
]
}
]
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"
}
]
}