Organization
Get Organization Users
Changed onFetch the users of an organization by its id. Auth'ed user or api key must have an admin or owner role for the specified dataset's organization.
get/api/organization/users/{organization_id}
Request
- Base URLhttps://api.trieve.ai
- URLhttps://api.trieve.ai/api/organization/users/{organization_id}
- AuthAPI key in header Authorization
Path parameters
organization_idstring uuid required
The id of the organization you want to fetch the users of.
Headers
TR-Organizationstring uuid required
The organization id to use for the request
Response
Array of users who belong to the specified by organization
Example response
[
{
"email": "developers@trieve.ai",
"id": "e3e3e3e3-e3e3-e3e3-e3e3-e3e3e3e3e3e3",
"name": "Trieve",
"orgs": [
{
"created_at": "2021-01-01 00:00:00.000",
"id": "e3e3e3e3-e3e3-e3e3-e3e3-e3e3e3e3e3e3",
"name": "Trieve",
"registerable": true,
"updated_at": "2021-01-01 00:00:00.000"
}
],
"user_orgs": [
{
"created_at": "2021-01-01 00:00:00.000",
"id": "e3e3e3e3-e3e3-e3e3-e3e3-e3e3e3e3e3e3",
"org_id": "e3e3e3e3-e3e3-e3e3-e3e3-e3e3e3e3e3e3",
"role": 0,
"updated_at": "2021-01-01 00:00:00.000",
"user_id": "e3e3e3e3-e3e3-e3e3-e3e3-e3e3e3e3e3e3"
}
]
}
]Changes
- info
added the optional property
///to the response with the status
- info
- warning
removed the optional property
///from the response with the status
- warning