11-29-2024 04:54 AM
I have created a groups ans location on Webex control hub. When I use https://developer.webex.com/docs/api/v1/scim2-group/search-groups API then all groups and location are getting fetched in response.
My understanding is, https://developer.webex.com/docs/api/v1/scim2-group/search-groups API should only fetch groups not location in response.
Please correct if something is wrong here.
Thanks,
Prashant
12-03-2024 07:01 AM
Yes, this API returns both locations and groups (known as "policy" within this API). There is a usage field that tells whether it's a location or a group/policy. It also returns the synchronized groups, also returned with "usage=policy".
12-03-2024 08:56 AM - edited 12-03-2024 08:56 AM
@Raffaele Lagana Can you please brief why this is like this? We already have https://developer.webex.com/docs/api/v1/locations which is dealing with location.
API https://developer.webex.com/docs/api/v1/scim2-group/search-groups should return only groups not location.
Thanks,
Prashant
12-04-2024 02:24 AM
Location is represented as a type of group in Common Identity (backend identity management service), whose usage is "location". This is how it's designed and it follows the SCIM Specification. Basically locations are considered to be a type of user group, in that a location usually includes a group of users, so it is returned by this API. Note that our SCIM 2.0 APIs are different to most of our other APIs in that they are specifically built to conform to the SCIM Specification standard (which is external to Cisco) and therefore it's not necessarily going to be tied to functionalities that our other APIs provide.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide