You can use the /api/v2/scim/groups API and pass as a filter 'displayName eq TEST_GROUP_1'
This code is from ApiExplorer:
import PureCloudPlatformClientV2
from PureCloudPlatformClientV2.rest import ApiException
from pprint import pprint
PureCloudPlatformClientV2.configuration.access_token = 'your_access_token'
api_instance = PureCloudPlatformClientV2.SCIMApi();
start_index = 1
count = 25
attributes = ['attributes_example']
excluded_attributes = ['excluded_attributes_example']
filter = 'displayName eq TEST_GROUP_1'
try:
api_response = api_instance.get_scim_groups(start_index=start_index, count=count, attributes=attributes, excluded_attributes=excluded_attributes, filter=filter)
pprint(api_response)
except ApiException as e:
print("Exception when calling SCIMApi->get_scim_groups: %s\n" % e)
------------------------------
Debora Lopes
------------------------------