MCPcopy
hub / github.com/logto-io/logto / getUserOrganizations

Function getUserOrganizations

packages/integration-tests/src/api/admin-user.ts:179–180  ·  view source on GitHub ↗
(userId: string)

Source from the content-addressed store, hash-verified

177 .json<UserLogtoConfig>();
178
179export const getUserOrganizations = async (userId: string) =>
180 authedAdminApi.get(`users/${userId}/organizations`).json<OrganizationWithRoles[]>();
181
182export const createPersonalAccessToken = async ({
183 userId,

Calls 2

jsonMethod · 0.65
getMethod · 0.45

Tested by

no test coverage detected