Add organizationId Parameter to getOrganizationList in OrganizationApi #3153
Closed
mario-jerkovic
started this conversation in
Feature Requests
Replies: 1 comment
-
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello 👋
The
getOrganizationList
method in theOrganizationApi
could greatly benefit from the ability to fetch organizations by their IDs, similar to howgetUserList
in theUserApi
allows fetching users by theiruserId?: string[]
. This feature would enhance the API's functionality and provide consistency across the API suite.Expected Behavior
The
getOrganizationList
function in theOrganizationApi.ts
should support anorganizationId: string[]
parameter, allowing developers to fetch multiple specific organizations in a single API call based on their IDs.Current Behavior
Currently, the
getOrganizationList
method does not allow fetching organizations based on an array of organization IDs. The method signature is as follows:Beta Was this translation helpful? Give feedback.
All reactions