orgMembers
Gets a page of members for an organization.
Parameters
Name | Type | Description |
---|---|---|
orgId | OrgId | The ID of the organization to get members for. |
limit? | number | The maximum amount of members to return. |
cursor? | string | The paging cursor for the previous or next page. |
Example
const { data: members } = await ClassicOrganizationsApi.orgMembers({ orgId: "4244556007738484576" });
Example Data
[
{
userId: "45348281",
roles: [
{
id: "914257001913009232",
organizationId: "4244556007738484576",
name: "Developer",
color: "LightOrange",
updatedTime: 2024-05-31T01:24:02.823Z,
},
],
},
]
Endpoint
GET /v1/organizations/{orgId}/users