# API to list worgroups

**URL:** <https://developer.sailpoint.com/discuss/t/api-to-list-worgroups/653>\
**Category:** IIQ Discussion and Questions\
**Created:** [June 4, 2021, 9:39am UTC](https://developer.sailpoint.com/discuss/t/api-to-list-worgroups/653 "2021-06-04T09:39:32Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sangavay](https://avatars.discourse-cdn.com/v4/letter/s/e9bcb4/32.png) [@Sangavay](https://developer.sailpoint.com/discuss/u/Sangavay)\
**Post date:** [June 4, 2021, 9:39am UTC](https://developer.sailpoint.com/discuss/t/api-to-list-worgroups/653/1 "2021-06-04T09:39:32Z")

</div>

Hello Experts,

We have a custom frontend developed for Sailpoint IIQ for certain user friendly operations. I have field called owner which should render all the identities as well as workgroups as we have in application creation page of IIQ.  
As of now I have utilized below SCIM API for the functionality, which renders only the identities.  
[http://localhost:8080/identityiq/scim/v2/Users?filter=displayName](http://localhost:8080/identityiq/scim/v2/Users?filter=displayName) eq “xxxx”.

Is there any way we can render workgroup name as well on the same?  
I stick to use SCIM api rather than creating custom API to render both. Please help me with your ideas

---

<div class="post-metadata">

**Author:** ![colin\_mckibben](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/colin_mckibben/32/37182_2.png) [@colin\_mckibben](https://developer.sailpoint.com/discuss/u/colin_mckibben)\
**Post date:** [June 4, 2021, 7:57pm UTC](https://developer.sailpoint.com/discuss/t/api-to-list-worgroups/653/2 "2021-06-04T19:57:30Z")

</div>

Hey @Sangavay, thanks for posting this question. I am asking around internally to see if anyone knows the answer to your question. Please allow us a little time to look into this for you and we will circle back with some insights.

---

<div class="post-metadata">

**Author:** ![colin\_mckibben](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/colin_mckibben/32/37182_2.png) [@colin\_mckibben](https://developer.sailpoint.com/discuss/u/colin_mckibben)\
**Post date:** [June 7, 2021, 4:06pm UTC](https://developer.sailpoint.com/discuss/t/api-to-list-worgroups/653/3 "2021-06-07T16:06:47Z")

</div>

Hey @Sangavay,

Here is what I have learned: The SCIM endpoint you are using (/scim/v2/Users) most likely will only return Identity objects, not Workgroups (even though a Workgroup is technically a special Identity object). I think the solution for you, if you need to achieve this, will be to implement a custom REST endpoint which can return both Identity and Workgroup objects.

If you would like to go this route, you may wish to create a ticket with Customer Support to help solve this, as it could be specific to your environment. You can open a support ticket at [support.sailpoint.com](http://support.sailpoint.com/). If you do get an answer from support, we would love to see you come back to this thread and share the results.

Good luck !

---

<div class="post-metadata">

**Author:** ![menno\_pieters](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/menno_pieters/32/66_2.png) [@menno\_pieters](https://developer.sailpoint.com/discuss/u/menno_pieters)\
**Post date:** [June 15, 2021, 9:49am UTC](https://developer.sailpoint.com/discuss/t/api-to-list-worgroups/653/4 "2021-06-15T09:49:29Z")

</div>

With the [Loopback connector](https://community.sailpoint.com/t5/Professional-Services/IdentityIQ-Loopback-Connector/ta-p/172364), workgroups can be managed like groups on any application. This may be helpful in managing workgroups. The loopback connector would be just another application, which can be managed through SCIM.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/sailpoint/original/2X/f/f2136700ed5e3703e0b85e02f6be799dacca7735.png) [@system](https://developer.sailpoint.com/discuss/u/system)\
**Post date:** [July 19, 2023, 2:25pm UTC](https://developer.sailpoint.com/discuss/t/api-to-list-worgroups/653/5 "2023-07-19T14:25:07Z")

</div>


