Users
Get organizations for a user
Changed onGet all organizations that the user is a member of. In each organization object, the user's roles in that organization are included in the organizationRoles array.
get/api/users/{userId}/organizations
Request
- Base URL: https://[tenant_id].logto.app
- URL: https://[tenant_id].logto.app/api/users/{userId}/organizations
- Auth: OAuth 2 (client credentials, token URL /oidc/token, scopes: all)
Path parameters
userIdstring required
The unique identifier of the user.
Response
An array of organizations that the user is a member of.
Changes
- info
added the required property
/to the response with the status
- info