Skip to main content

Using REST API V2 to list users belonging to a specific group (SCIM)

  • July 10, 2025
  • 0 replies
  • 158 views

Juan Sebastián
Netskope Employee
Forum|alt.badge.img+5

AD_4nXcaxPsWMm9jPbkdkCSt37DWSZ9jZHcJPv0CwFcECeAby3XYolR4YSrs63AIxlldbDPXXSEjnHP6lG5FqY7RPG226WGtQWSOyaA8PoqCKXXaeMp2PZ2STw-SB3uDSC3-fbMPiZjPj-xWRbohtrGWUmuv78n8?key=1GfUuckYzCRTsb5CPSj6sA

Netskope Global Technical Success (GTS)

Using REST API V2 to list users belonging to a specific group (SCIM)

 

Netskope Cloud Version - 121


 

Objective

Use REST API V2 to obtain the members belonging to a group retrieved through SCIM

 

Prerequisite

The flag "SCIM Query Attributes Support for Group Membership" needs to be enabled. Please contact your CSM or open a ticket with the GTS team requesting to enable this flag in your tenant. No additional licensing is required.

 

Context

The client wishes to obtain the list of users who are members of a group that was brought into the tenant using SCIM.

Configuration

If you have groups added to Netskope that are not using SCIM, this endpoint will not be applicable. Here is a step-by-step guide to obtaining the groups along with their members.

 

To begin, retrieve the Group ID for the target group using the following endpoint:

 

AD_4nXctO209ZfQb6HDy_OqPEw_0fCviFyjqOmJSj-U_DrrLluMKhqDL3YGufGGLLBkil-eIlJ-xL9qY2Kn9i1xU7VgYBnDhWnTrsLkW79egrRV4hm9NC3rNzF0sIDpUug5TJH6UkoOfz9cPBGHmID4VQLb1kJ4?key=1GfUuckYzCRTsb5CPSj6sA

 

Next, use the following REST API V2 endpoint, which is affected by the aforementioned flag:

 

 

AD_4nXd0HuurEwwFHjtJIMlFDPudNbUNO7fgoaDmgCRQ8edrJQgQvHiGmIWYh8j5cP1Vwwnj_zbLYIHU34_2i2GWYKIFFOEYqc1J8UmY7w26KL0cwtzQ2OLLHV-hcjYqUhQlsbDwVpyVyY5LhDN1at0Iq1nc4zoD?key=1GfUuckYzCRTsb5CPSj6sA

 

  • In the request, you'll need to include the "members" attribute and the "Group ID" obtained in the previous step.
  • The result will be the group along with its current members.


 

AD_4nXcBC36T4B4xjTHw1dzHvIA95Uyi-5fLdD5lPLkczR50mnnXpmD9GNqBmrZ15_jfjVqERKpEp2wZwQGcvUv9wgANcFMXWsN5Mhzi-SrR_P-WeS7s8GiXw4BdrsKWofo6A-tF88Q2buMavWCI22N6wu2uz8wW?key=1GfUuckYzCRTsb5CPSj6sA

 

Terms and Conditions

  • All documented information undergoes testing and verification to ensure accuracy.
  • In the future, it is possible that the application's functionality may be altered by the vendor. If any such changes are brought to our attention, we will promptly update the documentation to reflect them.

Notes

  • This article is authored by Netskope Global Technical Success (GTS).
  • For any further inquiries related to this article, please contact Netskope GTS by submitting a support case with 'Case Type – How To Questions'.

 

This topic has been closed for replies.