List organization members
const url = 'https://api.toriiauth.eu/api/server/v1/organizations/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/members?limit=50&cursor=01931a73-8b00-7000-8000-000000000000';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://api.toriiauth.eu/api/server/v1/organizations/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/members?limit=50&cursor=01931a73-8b00-7000-8000-000000000000' \ --header 'Authorization: Bearer <token>'Cursor-paginated page of the organization’s USER memberships, each with both metadata bags. Ordered by member user id ascending (a creation-ordered uuid v7, which is also the seek key), NOT by join time.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Query Parameters
Section titled “Query Parameters”Maximum number of items in the returned page (default 20; values outside 1-100 are clamped).
Example
50Opaque cursor returned by the previous page’s nextCursor. Omit to fetch the first page.
Example
01931a73-8b00-7000-8000-000000000000Responses
Section titled “Responses”Page of the organization’s members.
A single page of results in a cursor-paginated list. Pass nextCursor as the cursor query parameter to fetch the following page.
object
Items in this page, in stable order.
object
object
object
Cursor to pass to fetch the next page. Null when this is the last page.
True if more pages are available (equivalent to nextCursor != null).
Example
{ "nextCursor": "01931a73-8b00-7000-8000-000000000000", "hasMore": true}Missing or invalid secret key.
object
object
Examplegenerated
{ "type": "https://example.com", "title": "example", "status": 1, "detail": "example", "instance": "https://example.com", "properties": { "additionalProperty": "example" }}No organization with this id in the key’s environment.
object
object
Examplegenerated
{ "type": "https://example.com", "title": "example", "status": 1, "detail": "example", "instance": "https://example.com", "properties": { "additionalProperty": "example" }}