mirror of
https://github.com/LukeHagar/developer.sailpoint.com.git
synced 2025-12-10 04:19:42 +00:00
Update to python SDK docs: 13820107626
This commit is contained in:
@@ -56,7 +56,6 @@ Code | Description | Data Type | Response headers |
|
||||
### Example
|
||||
|
||||
```python
|
||||
import sailpoint.beta
|
||||
from sailpoint.beta.api.iai_peer_group_strategies_api import IAIPeerGroupStrategiesApi
|
||||
from sailpoint.beta.api_client import ApiClient
|
||||
from sailpoint.beta.models.peer_group_member import PeerGroupMember
|
||||
@@ -64,6 +63,7 @@ from pprint import pprint
|
||||
from sailpoint.configuration import Configuration
|
||||
configuration = Configuration()
|
||||
|
||||
|
||||
with ApiClient(configuration) as api_client:
|
||||
strategy = 'entitlement' # str | The strategy used to create peer groups. Currently, 'entitlement' is supported. # str | The strategy used to create peer groups. Currently, 'entitlement' is supported.
|
||||
limit = 250 # int | Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 250) # int | Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 250)
|
||||
@@ -73,12 +73,12 @@ with ApiClient(configuration) as api_client:
|
||||
try:
|
||||
# Identity Outliers List
|
||||
|
||||
results =IAIPeerGroupStrategiesApi(api_client).get_peer_group_outliers(strategy, )
|
||||
results = IAIPeerGroupStrategiesApi(api_client).get_peer_group_outliers(strategy=strategy)
|
||||
# Below is a request that includes all optional parameters
|
||||
# results = IAIPeerGroupStrategiesApi(api_client).get_peer_group_outliers(strategy, limit, offset, count)
|
||||
print("The response of IAIPeerGroupStrategiesApi->get_peer_group_outliers:\n")
|
||||
pprint(results)
|
||||
except Exception as e:
|
||||
except Exception as e:
|
||||
print("Exception when calling IAIPeerGroupStrategiesApi->get_peer_group_outliers: %s\n" % e)
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user