From e4d28a7f9485725ac9d75ccf6a8acf2dfc2c044a Mon Sep 17 00:00:00 2001 From: developer-relations-sp Date: Wed, 23 Apr 2025 12:55:15 +0000 Subject: [PATCH] Update to python SDK docs: 14618578457 --- .../Reference/Beta/Models/AccountUsage.md | 2 +- .../NonEmployeeRequestWithoutApprovalItem.md | 4 +- .../Reference/Beta/Models/SourceUsage.md | 2 +- .../V2024/Methods/AccessModelMetadataApi.md | 8 +- .../V2024/Methods/AccessProfilesApi.md | 2 +- .../V2024/Methods/AccessRequestsApi.md | 2 +- .../V2024/Methods/AccountAggregationsApi.md | 2 +- .../Reference/V2024/Methods/AccountsApi.md | 10 +- .../Reference/V2024/Methods/ApprovalsApi.md | 4 +- .../python/Reference/V2024/Methods/AppsApi.md | 28 +- .../Reference/V2024/Methods/AuthProfileApi.md | 6 +- .../Methods/CustomPasswordInstructionsApi.md | 6 +- .../V2024/Methods/DataSegmentationApi.md | 14 +- .../V2024/Methods/EntitlementsApi.md | 24 +- .../V2024/Methods/GovernanceGroupsApi.md | 20 +- .../IAIAccessRequestRecommendationsApi.md | 20 +- .../V2024/Methods/IAICommonAccessApi.md | 6 +- .../Reference/V2024/Methods/IAIOutliersApi.md | 18 +- .../Methods/IAIPeerGroupStrategiesApi.md | 2 +- .../V2024/Methods/IAIRecommendationsApi.md | 6 +- .../V2024/Methods/IAIRoleMiningApi.md | 50 +- .../Reference/V2024/Methods/IconsApi.md | 4 +- .../Reference/V2024/Methods/IdentitiesApi.md | 22 +- .../V2024/Methods/IdentityAttributesApi.md | 12 +- .../V2024/Methods/IdentityHistoryApi.md | 22 +- .../V2024/Methods/IdentityProfilesApi.md | 2 +- .../V2024/Methods/MachineAccountsApi.md | 6 +- .../V2024/Methods/MachineIdentitiesApi.md | 10 +- .../V2024/Methods/NotificationsApi.md | 30 +- .../Reference/V2024/Methods/OrgConfigApi.md | 6 +- .../V2024/Methods/PasswordManagementApi.md | 2 +- .../V2024/Methods/RoleInsightsApi.md | 18 +- .../Reference/V2024/Methods/RolesApi.md | 2 +- .../V2024/Methods/SIMIntegrationsApi.md | 14 +- .../SearchAttributeConfigurationApi.md | 10 +- .../Reference/V2024/Methods/SourcesApi.md | 22 +- .../V2024/Methods/TaskManagementApi.md | 10 +- .../V2024/Methods/TenantContextApi.md | 4 +- .../Reference/V2024/Methods/TriggersApi.md | 20 +- .../Reference/V2024/Methods/UIMetadataApi.md | 4 +- .../Reference/V2024/Methods/WorkItemsApi.md | 4 +- .../V2024/Methods/WorkReassignmentApi.md | 18 +- .../Reference/V2024/Models/AccountUsage.md | 2 +- .../NonEmployeeRequestWithoutApprovalItem.md | 4 +- .../Reference/V2024/Models/SourceUsage.md | 2 +- .../V2025/Methods/AccessModelMetadataApi.md | 8 +- .../V2025/Methods/AccessProfilesApi.md | 2 +- .../V2025/Methods/AccessRequestsApi.md | 4 +- .../V2025/Methods/AccountAggregationsApi.md | 2 +- .../Reference/V2025/Methods/AccountsApi.md | 10 +- .../Reference/V2025/Methods/ApprovalsApi.md | 4 +- .../python/Reference/V2025/Methods/AppsApi.md | 28 +- .../Reference/V2025/Methods/AuthProfileApi.md | 6 +- .../Methods/CustomPasswordInstructionsApi.md | 6 +- .../V2025/Methods/DataSegmentationApi.md | 14 +- .../V2025/Methods/EntitlementsApi.md | 24 +- .../V2025/Methods/GovernanceGroupsApi.md | 20 +- .../IAIAccessRequestRecommendationsApi.md | 20 +- .../V2025/Methods/IAICommonAccessApi.md | 6 +- .../Reference/V2025/Methods/IAIOutliersApi.md | 18 +- .../Methods/IAIPeerGroupStrategiesApi.md | 2 +- .../V2025/Methods/IAIRecommendationsApi.md | 6 +- .../V2025/Methods/IAIRoleMiningApi.md | 50 +- .../Reference/V2025/Methods/IconsApi.md | 4 +- .../Reference/V2025/Methods/IdentitiesApi.md | 22 +- .../V2025/Methods/IdentityAttributesApi.md | 12 +- .../V2025/Methods/IdentityHistoryApi.md | 22 +- .../V2025/Methods/IdentityProfilesApi.md | 2 +- .../V2025/Methods/MachineAccountsApi.md | 6 +- .../V2025/Methods/MachineIdentitiesApi.md | 10 +- .../V2025/Methods/NotificationsApi.md | 30 +- .../Reference/V2025/Methods/OrgConfigApi.md | 6 +- .../V2025/Methods/PasswordManagementApi.md | 2 +- .../V2025/Methods/RoleInsightsApi.md | 18 +- .../Reference/V2025/Methods/RolesApi.md | 2 +- .../V2025/Methods/SIMIntegrationsApi.md | 14 +- .../SearchAttributeConfigurationApi.md | 10 +- .../Reference/V2025/Methods/SourcesApi.md | 22 +- .../V2025/Methods/TaskManagementApi.md | 10 +- .../V2025/Methods/TenantContextApi.md | 4 +- .../Reference/V2025/Methods/TriggersApi.md | 20 +- .../Reference/V2025/Methods/UIMetadataApi.md | 4 +- .../Reference/V2025/Methods/WorkItemsApi.md | 4 +- .../V2025/Methods/WorkReassignmentApi.md | 18 +- .../Reference/V2025/Models/AccountUsage.md | 2 +- .../NonEmployeeRequestWithoutApprovalItem.md | 4 +- .../Reference/V2025/Models/SourceUsage.md | 2 +- .../Reference/V3/Models/AccountUsage.md | 2 +- .../NonEmployeeRequestWithoutApprovalItem.md | 4 +- .../python/Reference/V3/Models/SourceUsage.md | 2 +- .../beta/python_code_examples_overlay.yaml | 3136 +++++------ .../v2024/python_code_examples_overlay.yaml | 4902 ++++++++-------- .../v2025/python_code_examples_overlay.yaml | 4904 ++++++++--------- .../v3/python_code_examples_overlay.yaml | 3000 +++++----- 94 files changed, 8458 insertions(+), 8458 deletions(-) diff --git a/docs/tools/sdk/python/Reference/Beta/Models/AccountUsage.md b/docs/tools/sdk/python/Reference/Beta/Models/AccountUsage.md index dced03305..6d30198f2 100644 --- a/docs/tools/sdk/python/Reference/Beta/Models/AccountUsage.md +++ b/docs/tools/sdk/python/Reference/Beta/Models/AccountUsage.md @@ -26,7 +26,7 @@ Name | Type | Description | Notes from sailpoint.beta.models.account_usage import AccountUsage account_usage = AccountUsage( -var_date='Fri Apr 21 00:00:00 UTC 2023', +var_date='Thu Apr 20 20:00:00 EDT 2023', count=10 ) diff --git a/docs/tools/sdk/python/Reference/Beta/Models/NonEmployeeRequestWithoutApprovalItem.md b/docs/tools/sdk/python/Reference/Beta/Models/NonEmployeeRequestWithoutApprovalItem.md index bffe6c49e..e0b91fdea 100644 --- a/docs/tools/sdk/python/Reference/Beta/Models/NonEmployeeRequestWithoutApprovalItem.md +++ b/docs/tools/sdk/python/Reference/Beta/Models/NonEmployeeRequestWithoutApprovalItem.md @@ -56,8 +56,8 @@ data={description=Auditing}, approval_status='APPROVED', comment='approved', completion_date='2020-03-24T11:11:41.139-05:00', -start_date='Tue Mar 24 00:00:00 UTC 2020', -end_date='Thu Mar 25 00:00:00 UTC 2021', +start_date='Mon Mar 23 20:00:00 EDT 2020', +end_date='Wed Mar 24 20:00:00 EDT 2021', modified='2020-03-24T11:11:41.139-05:00', created='2020-03-24T11:11:41.139-05:00' ) diff --git a/docs/tools/sdk/python/Reference/Beta/Models/SourceUsage.md b/docs/tools/sdk/python/Reference/Beta/Models/SourceUsage.md index fbcbd7a29..72badf0ff 100644 --- a/docs/tools/sdk/python/Reference/Beta/Models/SourceUsage.md +++ b/docs/tools/sdk/python/Reference/Beta/Models/SourceUsage.md @@ -26,7 +26,7 @@ Name | Type | Description | Notes from sailpoint.beta.models.source_usage import SourceUsage source_usage = SourceUsage( -var_date='Fri Apr 21 00:00:00 UTC 2023', +var_date='Thu Apr 20 20:00:00 EDT 2023', count=10.45 ) diff --git a/docs/tools/sdk/python/Reference/V2024/Methods/AccessModelMetadataApi.md b/docs/tools/sdk/python/Reference/V2024/Methods/AccessModelMetadataApi.md index 72e332675..1cdcf8236 100644 --- a/docs/tools/sdk/python/Reference/V2024/Methods/AccessModelMetadataApi.md +++ b/docs/tools/sdk/python/Reference/V2024/Methods/AccessModelMetadataApi.md @@ -81,7 +81,7 @@ from sailpoint.v2024.models.attribute_dto import AttributeDTO from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: key = 'iscPrivacy' # str | Technical name of the Attribute. # str | Technical name of the Attribute. @@ -154,7 +154,7 @@ from sailpoint.v2024.models.attribute_value_dto import AttributeValueDTO from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: key = 'iscPrivacy' # str | Technical name of the Attribute. # str | Technical name of the Attribute. @@ -227,7 +227,7 @@ from sailpoint.v2024.models.attribute_dto import AttributeDTO from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -300,7 +300,7 @@ from sailpoint.v2024.models.attribute_value_dto import AttributeValueDTO from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: key = 'iscPrivacy' # str | Technical name of the Attribute. # str | Technical name of the Attribute. diff --git a/docs/tools/sdk/python/Reference/V2024/Methods/AccessProfilesApi.md b/docs/tools/sdk/python/Reference/V2024/Methods/AccessProfilesApi.md index 4acc8015a..39452b630 100644 --- a/docs/tools/sdk/python/Reference/V2024/Methods/AccessProfilesApi.md +++ b/docs/tools/sdk/python/Reference/V2024/Methods/AccessProfilesApi.md @@ -681,7 +681,7 @@ from sailpoint.v2024.models.access_profile_update_item import AccessProfileUpdat from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') diff --git a/docs/tools/sdk/python/Reference/V2024/Methods/AccessRequestsApi.md b/docs/tools/sdk/python/Reference/V2024/Methods/AccessRequestsApi.md index 526a078b3..3fbc05074 100644 --- a/docs/tools/sdk/python/Reference/V2024/Methods/AccessRequestsApi.md +++ b/docs/tools/sdk/python/Reference/V2024/Methods/AccessRequestsApi.md @@ -291,7 +291,7 @@ from sailpoint.v2024.models.close_access_request import CloseAccessRequest from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') diff --git a/docs/tools/sdk/python/Reference/V2024/Methods/AccountAggregationsApi.md b/docs/tools/sdk/python/Reference/V2024/Methods/AccountAggregationsApi.md index 0b66de402..686bd725d 100644 --- a/docs/tools/sdk/python/Reference/V2024/Methods/AccountAggregationsApi.md +++ b/docs/tools/sdk/python/Reference/V2024/Methods/AccountAggregationsApi.md @@ -85,7 +85,7 @@ from sailpoint.v2024.models.account_aggregation_status import AccountAggregation from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: id = '2c91808477a6b0c60177a81146b8110b' # str | The account aggregation id # str | The account aggregation id diff --git a/docs/tools/sdk/python/Reference/V2024/Methods/AccountsApi.md b/docs/tools/sdk/python/Reference/V2024/Methods/AccountsApi.md index e7422eaa4..4a5f5e174 100644 --- a/docs/tools/sdk/python/Reference/V2024/Methods/AccountsApi.md +++ b/docs/tools/sdk/python/Reference/V2024/Methods/AccountsApi.md @@ -257,7 +257,7 @@ from sailpoint.v2024.models.task_result_dto import TaskResultDto from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: id = 'c350d6aa4f104c61b062cb632421ad10' # str | The account id # str | The account id @@ -394,7 +394,7 @@ from sailpoint.v2024.api_client import ApiClient from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: id = '2c91808384203c2d018437e631158309' # str | The identity id. # str | The identity id. @@ -467,7 +467,7 @@ from sailpoint.v2024.models.identities_accounts_bulk_request import IdentitiesAc from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -607,7 +607,7 @@ from sailpoint.v2024.api_client import ApiClient from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: id = '2c91808384203c2d018437e631158309' # str | The identity id. # str | The identity id. @@ -680,7 +680,7 @@ from sailpoint.v2024.models.identities_accounts_bulk_request import IdentitiesAc from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') diff --git a/docs/tools/sdk/python/Reference/V2024/Methods/ApprovalsApi.md b/docs/tools/sdk/python/Reference/V2024/Methods/ApprovalsApi.md index 160f35465..7d2446425 100644 --- a/docs/tools/sdk/python/Reference/V2024/Methods/ApprovalsApi.md +++ b/docs/tools/sdk/python/Reference/V2024/Methods/ApprovalsApi.md @@ -72,7 +72,7 @@ from sailpoint.v2024.models.approval import Approval from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: id = '38453251-6be2-5f8f-df93-5ce19e295837' # str | ID of the approval that is to be returned # str | ID of the approval that is to be returned @@ -147,7 +147,7 @@ from sailpoint.v2024.models.approval import Approval from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') diff --git a/docs/tools/sdk/python/Reference/V2024/Methods/AppsApi.md b/docs/tools/sdk/python/Reference/V2024/Methods/AppsApi.md index f83e92254..d5dd6419c 100644 --- a/docs/tools/sdk/python/Reference/V2024/Methods/AppsApi.md +++ b/docs/tools/sdk/python/Reference/V2024/Methods/AppsApi.md @@ -84,7 +84,7 @@ from sailpoint.v2024.models.source_app_create_dto import SourceAppCreateDto from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -167,7 +167,7 @@ from sailpoint.v2024.models.access_profile_details import AccessProfileDetails from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: id = '2c91808a7813090a017814121e121518' # str | ID of the source app # str | ID of the source app @@ -242,7 +242,7 @@ from sailpoint.v2024.models.source_app import SourceApp from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: id = '2c9180835d191a86015d28455b4a2329' # str | source app ID. # str | source app ID. @@ -315,7 +315,7 @@ from sailpoint.v2024.models.source_app import SourceApp from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: id = '2c91808a7813090a017814121e121518' # str | ID of the source app # str | ID of the source app @@ -390,7 +390,7 @@ from sailpoint.v2024.models.access_profile_details import AccessProfileDetails from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: id = '2c91808a7813090a017814121e121518' # str | ID of the source app # str | ID of the source app @@ -470,7 +470,7 @@ from sailpoint.v2024.models.source_app import SourceApp from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -551,7 +551,7 @@ from sailpoint.v2024.models.user_app import UserApp from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: filters = 'name eq \"user app name\"' # str | Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **id**: *eq* **ownerId**: *eq* **ownerName**: *eq, sw* **ownerAlias**: *eq, sw* **accountId**: *eq* **sourceAppId**: *eq* # str | Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **id**: *eq* **ownerId**: *eq* **ownerName**: *eq, sw* **ownerAlias**: *eq, sw* **accountId**: *eq* **sourceAppId**: *eq* @@ -631,7 +631,7 @@ from sailpoint.v2024.models.source_app import SourceApp from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -710,7 +710,7 @@ from sailpoint.v2024.models.app_account_details import AppAccountDetails from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: id = '2c91808a7813090a017814121e121518' # str | ID of the user app # str | ID of the user app @@ -789,7 +789,7 @@ from sailpoint.v2024.models.source_app import SourceApp from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -869,7 +869,7 @@ from sailpoint.v2024.models.user_app import UserApp from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -950,7 +950,7 @@ from sailpoint.v2024.models.source_app_patch_dto import SourceAppPatchDto from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: id = '2c91808a7813090a017814121e121518' # str | ID of the source app to patch # str | ID of the source app to patch @@ -1027,7 +1027,7 @@ from sailpoint.v2024.models.user_app import UserApp from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: id = '2c91808a7813090a017814121e121518' # str | ID of the user app to patch # str | ID of the user app to patch @@ -1103,7 +1103,7 @@ from sailpoint.v2024.models.source_app_bulk_update_request import SourceAppBulkU from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') diff --git a/docs/tools/sdk/python/Reference/V2024/Methods/AuthProfileApi.md b/docs/tools/sdk/python/Reference/V2024/Methods/AuthProfileApi.md index 3dbd53124..6d1478f0e 100644 --- a/docs/tools/sdk/python/Reference/V2024/Methods/AuthProfileApi.md +++ b/docs/tools/sdk/python/Reference/V2024/Methods/AuthProfileApi.md @@ -77,7 +77,7 @@ from sailpoint.v2024.models.auth_profile import AuthProfile from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -148,7 +148,7 @@ from sailpoint.v2024.models.auth_profile_summary import AuthProfileSummary from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -223,7 +223,7 @@ from sailpoint.v2024.models.json_patch_operation import JsonPatchOperation from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: id = '2c91808a7813090a017814121919ecca' # str | ID of the Auth Profile to patch. # str | ID of the Auth Profile to patch. diff --git a/docs/tools/sdk/python/Reference/V2024/Methods/CustomPasswordInstructionsApi.md b/docs/tools/sdk/python/Reference/V2024/Methods/CustomPasswordInstructionsApi.md index 7c050b668..8941160fe 100644 --- a/docs/tools/sdk/python/Reference/V2024/Methods/CustomPasswordInstructionsApi.md +++ b/docs/tools/sdk/python/Reference/V2024/Methods/CustomPasswordInstructionsApi.md @@ -79,7 +79,7 @@ from sailpoint.v2024.models.custom_password_instruction import CustomPasswordIns from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -154,7 +154,7 @@ from sailpoint.v2024.api_client import ApiClient from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: page_id = 'mfa:select' # str | The page ID of custom password instructions to delete. # str | The page ID of custom password instructions to delete. @@ -225,7 +225,7 @@ from sailpoint.v2024.models.custom_password_instruction import CustomPasswordIns from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: page_id = 'mfa:select' # str | The page ID of custom password instructions to query. # str | The page ID of custom password instructions to query. diff --git a/docs/tools/sdk/python/Reference/V2024/Methods/DataSegmentationApi.md b/docs/tools/sdk/python/Reference/V2024/Methods/DataSegmentationApi.md index 969c7beb8..f2156b9d0 100644 --- a/docs/tools/sdk/python/Reference/V2024/Methods/DataSegmentationApi.md +++ b/docs/tools/sdk/python/Reference/V2024/Methods/DataSegmentationApi.md @@ -137,7 +137,7 @@ from sailpoint.v2024.api_client import ApiClient from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: id = 'ef38f943-47e9-4562-b5bb-8424a56397d8' # str | The segment ID to delete. # str | The segment ID to delete. @@ -209,7 +209,7 @@ from sailpoint.v2024.models.data_segment import DataSegment from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: id = 'ef38f943-47e9-4562-b5bb-8424a56397d8' # str | The segment ID to retrieve. # str | The segment ID to retrieve. @@ -281,7 +281,7 @@ from sailpoint.v2024.api_client import ApiClient from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: identity_id = 'ef38f943-47e9-4562-b5bb-8424a56397d8' # str | The identity ID to retrieve the segments they are in. # str | The identity ID to retrieve the segments they are in. @@ -353,7 +353,7 @@ from sailpoint.v2024.api_client import ApiClient from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: identity_id = 'ef38f943-47e9-4562-b5bb-8424a56397d8' # str | The identity ID to retrieve if segmentation is enabled for the identity. # str | The identity ID to retrieve if segmentation is enabled for the identity. @@ -432,7 +432,7 @@ from sailpoint.v2024.models.data_segment import DataSegment from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -513,7 +513,7 @@ from sailpoint.v2024.models.data_segment import DataSegment from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: id = 'ef38f943-47e9-4562-b5bb-8424a56397d8' # str | The segment ID to modify. # str | The segment ID to modify. @@ -587,7 +587,7 @@ from sailpoint.v2024.api_client import ApiClient from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') diff --git a/docs/tools/sdk/python/Reference/V2024/Methods/EntitlementsApi.md b/docs/tools/sdk/python/Reference/V2024/Methods/EntitlementsApi.md index 949e8abd8..e33d11ad8 100644 --- a/docs/tools/sdk/python/Reference/V2024/Methods/EntitlementsApi.md +++ b/docs/tools/sdk/python/Reference/V2024/Methods/EntitlementsApi.md @@ -130,7 +130,7 @@ from sailpoint.v2024.models.entitlement import Entitlement from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: id = '2c91808c74ff913f0175097daa9d59cd' # str | The entitlement id. # str | The entitlement id. @@ -205,7 +205,7 @@ from sailpoint.v2024.api_client import ApiClient from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: id = '2c91808c74ff913f0175097daa9d59cd' # str | The entitlement id. # str | The entitlement id. @@ -278,7 +278,7 @@ from sailpoint.v2024.models.entitlement import Entitlement from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: id = '2c91808874ff91550175097daaec161c' # str | The entitlement ID # str | The entitlement ID @@ -351,7 +351,7 @@ from sailpoint.v2024.models.entitlement_request_config import EntitlementRequest from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: id = '2c91808874ff91550175097daaec161c' # str | Entitlement Id # str | Entitlement Id @@ -431,7 +431,7 @@ from sailpoint.v2024.models.load_entitlement_task import LoadEntitlementTask from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: id = 'ef38f94347e94562b5bb8424a56397d8' # str | Source Id # str | Source Id @@ -510,7 +510,7 @@ from sailpoint.v2024.models.entitlement import Entitlement from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: id = '2c91808874ff91550175097daaec161c' # str | Entitlement Id # str | Entitlement Id @@ -594,7 +594,7 @@ from sailpoint.v2024.models.entitlement import Entitlement from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: id = '2c91808c74ff913f0175097daa9d59cd' # str | Entitlement Id # str | Entitlement Id @@ -684,7 +684,7 @@ from sailpoint.v2024.models.entitlement import Entitlement from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -772,7 +772,7 @@ from sailpoint.v2024.models.json_patch_operation import JsonPatchOperation from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: id = '2c91808a7813090a017814121e121518' # str | ID of the entitlement to patch # str | ID of the entitlement to patch @@ -847,7 +847,7 @@ from sailpoint.v2024.models.entitlement_request_config import EntitlementRequest from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: id = '2c91808a7813090a017814121e121518' # str | Entitlement ID # str | Entitlement ID @@ -926,7 +926,7 @@ from sailpoint.v2024.models.entitlement_source_reset_base_reference_dto import E from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: id = '2c91808a7813090a017814121919ecca' # str | ID of source for the entitlement reset # str | ID of source for the entitlement reset @@ -1004,7 +1004,7 @@ from sailpoint.v2024.models.entitlement_bulk_update_request import EntitlementBu from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') diff --git a/docs/tools/sdk/python/Reference/V2024/Methods/GovernanceGroupsApi.md b/docs/tools/sdk/python/Reference/V2024/Methods/GovernanceGroupsApi.md index 84507523c..a041e7954 100644 --- a/docs/tools/sdk/python/Reference/V2024/Methods/GovernanceGroupsApi.md +++ b/docs/tools/sdk/python/Reference/V2024/Methods/GovernanceGroupsApi.md @@ -82,7 +82,7 @@ from sailpoint.v2024.models.workgroup_dto import WorkgroupDto from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -168,7 +168,7 @@ from sailpoint.v2024.api_client import ApiClient from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: id = '2c9180837ca6693d017ca8d097500149' # str | ID of the Governance Group # str | ID of the Governance Group @@ -243,7 +243,7 @@ from sailpoint.v2024.models.workgroup_member_delete_item import WorkgroupMemberD from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: workgroup_id = '2c91808a7813090a017814121919ecca' # str | ID of the Governance Group. # str | ID of the Governance Group. @@ -329,7 +329,7 @@ from sailpoint.v2024.models.workgroup_delete_item import WorkgroupDeleteItem from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -404,7 +404,7 @@ from sailpoint.v2024.models.workgroup_dto import WorkgroupDto from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: id = '2c9180837ca6693d017ca8d097500149' # str | ID of the Governance Group # str | ID of the Governance Group @@ -480,7 +480,7 @@ from sailpoint.v2024.models.workgroup_connection_dto import WorkgroupConnectionD from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: workgroup_id = '2c91808a7813090a017814121919ecca' # str | ID of the Governance Group. # str | ID of the Governance Group. @@ -561,7 +561,7 @@ from sailpoint.v2024.models.list_workgroup_members200_response_inner import List from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: workgroup_id = '2c91808a7813090a017814121919ecca' # str | ID of the Governance Group. # str | ID of the Governance Group. @@ -642,7 +642,7 @@ from sailpoint.v2024.models.workgroup_dto import WorkgroupDto from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -724,7 +724,7 @@ from sailpoint.v2024.models.workgroup_dto import WorkgroupDto from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: id = '2c9180837ca6693d017ca8d097500149' # str | ID of the Governance Group # str | ID of the Governance Group @@ -803,7 +803,7 @@ from sailpoint.v2024.models.workgroup_member_add_item import WorkgroupMemberAddI from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: workgroup_id = '2c91808a7813090a017814121919ecca' # str | ID of the Governance Group. # str | ID of the Governance Group. diff --git a/docs/tools/sdk/python/Reference/V2024/Methods/IAIAccessRequestRecommendationsApi.md b/docs/tools/sdk/python/Reference/V2024/Methods/IAIAccessRequestRecommendationsApi.md index 366500211..12f4b6d2c 100644 --- a/docs/tools/sdk/python/Reference/V2024/Methods/IAIAccessRequestRecommendationsApi.md +++ b/docs/tools/sdk/python/Reference/V2024/Methods/IAIAccessRequestRecommendationsApi.md @@ -78,7 +78,7 @@ from sailpoint.v2024.models.access_request_recommendation_action_item_response_d from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -157,7 +157,7 @@ from sailpoint.v2024.models.access_request_recommendation_action_item_response_d from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -236,7 +236,7 @@ from sailpoint.v2024.models.access_request_recommendation_action_item_response_d from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -315,7 +315,7 @@ from sailpoint.v2024.models.access_request_recommendation_action_item_response_d from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -394,7 +394,7 @@ from sailpoint.v2024.models.access_request_recommendation_item_detail import Acc from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -472,7 +472,7 @@ from sailpoint.v2024.models.access_request_recommendation_config_dto import Acce from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -547,7 +547,7 @@ from sailpoint.v2024.models.access_request_recommendation_action_item_response_d from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -628,7 +628,7 @@ from sailpoint.v2024.models.access_request_recommendation_action_item_response_d from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -709,7 +709,7 @@ from sailpoint.v2024.models.access_request_recommendation_action_item_response_d from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -786,7 +786,7 @@ from sailpoint.v2024.models.access_request_recommendation_config_dto import Acce from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') diff --git a/docs/tools/sdk/python/Reference/V2024/Methods/IAICommonAccessApi.md b/docs/tools/sdk/python/Reference/V2024/Methods/IAICommonAccessApi.md index 2efd10569..e548f95d9 100644 --- a/docs/tools/sdk/python/Reference/V2024/Methods/IAICommonAccessApi.md +++ b/docs/tools/sdk/python/Reference/V2024/Methods/IAICommonAccessApi.md @@ -71,7 +71,7 @@ from sailpoint.v2024.models.common_access_item_response import CommonAccessItemR from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -156,7 +156,7 @@ from sailpoint.v2024.models.common_access_response import CommonAccessResponse from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -233,7 +233,7 @@ from sailpoint.v2024.models.common_access_id_status import CommonAccessIDStatus from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') diff --git a/docs/tools/sdk/python/Reference/V2024/Methods/IAIOutliersApi.md b/docs/tools/sdk/python/Reference/V2024/Methods/IAIOutliersApi.md index 816aa5023..ab3e06643 100644 --- a/docs/tools/sdk/python/Reference/V2024/Methods/IAIOutliersApi.md +++ b/docs/tools/sdk/python/Reference/V2024/Methods/IAIOutliersApi.md @@ -78,7 +78,7 @@ from sailpoint.v2024.api_client import ApiClient from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -155,7 +155,7 @@ from sailpoint.v2024.models.outlier_summary import OutlierSummary from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -237,7 +237,7 @@ from sailpoint.v2024.models.outlier import Outlier from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -316,7 +316,7 @@ from sailpoint.v2024.models.latest_outlier_summary import LatestOutlierSummary from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -393,7 +393,7 @@ from sailpoint.v2024.models.outlier_feature_summary import OutlierFeatureSummary from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: outlier_feature_id = '04654b66-7561-4090-94f9-abee0722a1af' # str | Contributing feature id # str | Contributing feature id @@ -474,7 +474,7 @@ from sailpoint.v2024.models.outlier_contributing_feature import OutlierContribut from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: outlier_id = '2c918085842e69ae018432d22ccb212f' # str | The outlier id # str | The outlier id @@ -551,7 +551,7 @@ from sailpoint.v2024.api_client import ApiClient from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -631,7 +631,7 @@ from sailpoint.v2024.models.outliers_contributing_feature_access_items import Ou from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: outlier_id = '2c918085842e69ae018432d22ccb212f' # str | The outlier id # str | The outlier id @@ -709,7 +709,7 @@ from sailpoint.v2024.api_client import ApiClient from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') diff --git a/docs/tools/sdk/python/Reference/V2024/Methods/IAIPeerGroupStrategiesApi.md b/docs/tools/sdk/python/Reference/V2024/Methods/IAIPeerGroupStrategiesApi.md index 39b51af0c..c169d0f08 100644 --- a/docs/tools/sdk/python/Reference/V2024/Methods/IAIPeerGroupStrategiesApi.md +++ b/docs/tools/sdk/python/Reference/V2024/Methods/IAIPeerGroupStrategiesApi.md @@ -74,7 +74,7 @@ from sailpoint.v2024.models.peer_group_member import PeerGroupMember from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True 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. diff --git a/docs/tools/sdk/python/Reference/V2024/Methods/IAIRecommendationsApi.md b/docs/tools/sdk/python/Reference/V2024/Methods/IAIRecommendationsApi.md index 46773e0c8..beaef5c68 100644 --- a/docs/tools/sdk/python/Reference/V2024/Methods/IAIRecommendationsApi.md +++ b/docs/tools/sdk/python/Reference/V2024/Methods/IAIRecommendationsApi.md @@ -71,7 +71,7 @@ from sailpoint.v2024.models.recommendation_response_dto import RecommendationRes from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -160,7 +160,7 @@ from sailpoint.v2024.models.recommendation_config_dto import RecommendationConfi from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -231,7 +231,7 @@ from sailpoint.v2024.models.recommendation_config_dto import RecommendationConfi from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') diff --git a/docs/tools/sdk/python/Reference/V2024/Methods/IAIRoleMiningApi.md b/docs/tools/sdk/python/Reference/V2024/Methods/IAIRoleMiningApi.md index c85fff2f5..cf6e99b87 100644 --- a/docs/tools/sdk/python/Reference/V2024/Methods/IAIRoleMiningApi.md +++ b/docs/tools/sdk/python/Reference/V2024/Methods/IAIRoleMiningApi.md @@ -97,7 +97,7 @@ from sailpoint.v2024.models.role_mining_potential_role_summary import RoleMining from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: session_id = '8c190e67-87aa-4ed9-a90b-d9d5344523fb' # str | The role mining session id # str | The role mining session id @@ -180,7 +180,7 @@ from sailpoint.v2024.models.role_mining_session_response import RoleMiningSessio from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -283,7 +283,7 @@ from sailpoint.v2024.api_client import ApiClient from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: session_id = '8c190e67-87aa-4ed9-a90b-d9d5344523fb' # str | The role mining session id # str | The role mining session id @@ -356,7 +356,7 @@ from sailpoint.v2024.api_client import ApiClient from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: session_id = '8c190e67-87aa-4ed9-a90b-d9d5344523fb' # str | The role mining session id # str | The role mining session id @@ -431,7 +431,7 @@ from sailpoint.v2024.models.role_mining_potential_role_export_response import Ro from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: session_id = '8c190e67-87aa-4ed9-a90b-d9d5344523fb' # str | The role mining session id # str | The role mining session id @@ -509,7 +509,7 @@ from sailpoint.v2024.models.role_mining_potential_role_export_response import Ro from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: session_id = '8c190e67-87aa-4ed9-a90b-d9d5344523fb' # str | The role mining session id # str | The role mining session id @@ -587,7 +587,7 @@ from sailpoint.v2024.models.role_mining_potential_role_summary import RoleMining from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -664,7 +664,7 @@ from sailpoint.v2024.api_client import ApiClient from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: session_id = '8c190e67-87aa-4ed9-a90b-d9d5344523fb' # str | The role mining session id # str | The role mining session id @@ -745,7 +745,7 @@ from sailpoint.v2024.models.role_mining_entitlement import RoleMiningEntitlement from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: session_id = '8c190e67-87aa-4ed9-a90b-d9d5344523fb' # str | The role mining session id # str | The role mining session id @@ -830,7 +830,7 @@ from sailpoint.v2024.models.role_mining_entitlement import RoleMiningEntitlement from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: session_id = '8c190e67-87aa-4ed9-a90b-d9d5344523fb' # str | The role mining session id # str | The role mining session id @@ -914,7 +914,7 @@ from sailpoint.v2024.models.role_mining_identity import RoleMiningIdentity from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: session_id = '8c190e67-87aa-4ed9-a90b-d9d5344523fb' # str | The role mining session id # str | The role mining session id @@ -994,7 +994,7 @@ from sailpoint.v2024.models.role_mining_potential_role import RoleMiningPotentia from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: session_id = '8c190e67-87aa-4ed9-a90b-d9d5344523fb' # str | The role mining session id # str | The role mining session id @@ -1072,7 +1072,7 @@ from sailpoint.v2024.models.role_mining_potential_role_application import RoleMi from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: session_id = '8c190e67-87aa-4ed9-a90b-d9d5344523fb' # str | The role mining session id # str | The role mining session id @@ -1155,7 +1155,7 @@ from sailpoint.v2024.models.role_mining_potential_role_entitlements import RoleM from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: session_id = '8c190e67-87aa-4ed9-a90b-d9d5344523fb' # str | The role mining session id # str | The role mining session id @@ -1238,7 +1238,7 @@ from sailpoint.v2024.models.role_mining_potential_role_source_usage import RoleM from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: potential_role_id = 'e0cc5d7d-bf7f-4f81-b2af-8885b09d9923' # str | A potential role id # str | A potential role id @@ -1321,7 +1321,7 @@ from sailpoint.v2024.models.role_mining_potential_role_summary import RoleMining from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: session_id = '8c190e67-87aa-4ed9-a90b-d9d5344523fb' # str | The role mining session id # str | The role mining session id @@ -1399,7 +1399,7 @@ from sailpoint.v2024.models.role_mining_potential_role import RoleMiningPotentia from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: potential_role_id = '8c190e67-87aa-4ed9-a90b-d9d5344523fb' # str | A potential role id # str | A potential role id @@ -1472,7 +1472,7 @@ from sailpoint.v2024.models.role_mining_session_response import RoleMiningSessio from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: session_id = '8c190e67-87aa-4ed9-a90b-d9d5344523fb' # str | The role mining session id to be retrieved. # str | The role mining session id to be retrieved. @@ -1543,7 +1543,7 @@ from sailpoint.v2024.models.role_mining_session_status import RoleMiningSessionS from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: session_id = '8c190e67-87aa-4ed9-a90b-d9d5344523fb' # str | The role mining session id # str | The role mining session id @@ -1619,7 +1619,7 @@ from sailpoint.v2024.models.role_mining_session_dto import RoleMiningSessionDto from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -1699,7 +1699,7 @@ from sailpoint.v2024.models.role_mining_session_draft_role_dto import RoleMining from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -1790,7 +1790,7 @@ from sailpoint.v2024.models.patch_potential_role_request_inner import PatchPoten from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: session_id = '8c190e67-87aa-4ed9-a90b-d9d5344523fb' # str | The role mining session id # str | The role mining session id @@ -1879,7 +1879,7 @@ from sailpoint.v2024.models.patch_potential_role_request_inner import PatchPoten from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: session_id = '8c190e67-87aa-4ed9-a90b-d9d5344523fb' # str | The role mining session id # str | The role mining session id @@ -1955,7 +1955,7 @@ from sailpoint.v2024.models.json_patch_operation import JsonPatchOperation from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: session_id = '8c190e67-87aa-4ed9-a90b-d9d5344523fb' # str | The role mining session id to be patched # str | The role mining session id to be patched @@ -2030,7 +2030,7 @@ from sailpoint.v2024.models.role_mining_potential_role_edit_entitlements import from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: session_id = '8c190e67-87aa-4ed9-a90b-d9d5344523fb' # str | The role mining session id # str | The role mining session id diff --git a/docs/tools/sdk/python/Reference/V2024/Methods/IconsApi.md b/docs/tools/sdk/python/Reference/V2024/Methods/IconsApi.md index 39f08369a..8997ea118 100644 --- a/docs/tools/sdk/python/Reference/V2024/Methods/IconsApi.md +++ b/docs/tools/sdk/python/Reference/V2024/Methods/IconsApi.md @@ -72,7 +72,7 @@ from sailpoint.v2024.api_client import ApiClient from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: object_type = 'application' # str | Object type. Available options ['application'] # str | Object type. Available options ['application'] @@ -146,7 +146,7 @@ from sailpoint.v2024.models.set_icon200_response import SetIcon200Response from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: object_type = 'application' # str | Object type. Available options ['application'] # str | Object type. Available options ['application'] diff --git a/docs/tools/sdk/python/Reference/V2024/Methods/IdentitiesApi.md b/docs/tools/sdk/python/Reference/V2024/Methods/IdentitiesApi.md index 8dd8e7501..c1c21a163 100644 --- a/docs/tools/sdk/python/Reference/V2024/Methods/IdentitiesApi.md +++ b/docs/tools/sdk/python/Reference/V2024/Methods/IdentitiesApi.md @@ -93,7 +93,7 @@ from sailpoint.v2024.api_client import ApiClient from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: id = 'ef38f94347e94562b5bb8424a56397d8' # str | Identity Id # str | Identity Id @@ -164,7 +164,7 @@ from sailpoint.v2024.models.identity import Identity from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: id = 'ef38f94347e94562b5bb8424a56397d8' # str | Identity Id # str | Identity Id @@ -239,7 +239,7 @@ from sailpoint.v2024.models.identity_ownership_association_details import Identi from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: identity_id = 'ff8081814d2a8036014d701f3fbf53fa' # str | Identity ID. # str | Identity ID. @@ -313,7 +313,7 @@ from sailpoint.v2024.models.role_assignment_dto import RoleAssignmentDto from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: identity_id = 'ef38f94347e94562b5bb8424a56397d8' # str | Identity Id # str | Identity Id @@ -389,7 +389,7 @@ from sailpoint.v2024.models.get_role_assignments200_response_inner import GetRol from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: identity_id = 'ef38f94347e94562b5bb8424a56397d8' # str | Identity Id to get the role assignments for # str | Identity Id to get the role assignments for @@ -469,7 +469,7 @@ from sailpoint.v2024.models.identity import Identity from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -547,7 +547,7 @@ from sailpoint.v2024.api_client import ApiClient from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: identity_id = 'ef38f94347e94562b5bb8424a56397d8' # str | Identity Id # str | Identity Id @@ -620,7 +620,7 @@ from sailpoint.v2024.models.send_account_verification_request import SendAccount from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -701,7 +701,7 @@ from sailpoint.v2024.models.task_status import TaskStatus from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -785,7 +785,7 @@ from sailpoint.v2024.models.task_result_response import TaskResultResponse from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -860,7 +860,7 @@ from sailpoint.v2024.models.identity_sync_job import IdentitySyncJob from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: identity_id = 'identity_id_example' # str | The Identity id # str | The Identity id diff --git a/docs/tools/sdk/python/Reference/V2024/Methods/IdentityAttributesApi.md b/docs/tools/sdk/python/Reference/V2024/Methods/IdentityAttributesApi.md index 76d010e2e..7de807ad8 100644 --- a/docs/tools/sdk/python/Reference/V2024/Methods/IdentityAttributesApi.md +++ b/docs/tools/sdk/python/Reference/V2024/Methods/IdentityAttributesApi.md @@ -74,7 +74,7 @@ from sailpoint.v2024.models.identity_attribute import IdentityAttribute from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -167,7 +167,7 @@ from sailpoint.v2024.api_client import ApiClient from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: name = 'displayName' # str | The attribute's technical name. # str | The attribute's technical name. @@ -238,7 +238,7 @@ from sailpoint.v2024.models.identity_attribute_names import IdentityAttributeNam from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -311,7 +311,7 @@ from sailpoint.v2024.models.identity_attribute import IdentityAttribute from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: name = 'displayName' # str | The attribute's technical name. # str | The attribute's technical name. @@ -386,7 +386,7 @@ from sailpoint.v2024.models.identity_attribute import IdentityAttribute from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -464,7 +464,7 @@ from sailpoint.v2024.models.identity_attribute import IdentityAttribute from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: name = 'displayName' # str | The attribute's technical name. # str | The attribute's technical name. diff --git a/docs/tools/sdk/python/Reference/V2024/Methods/IdentityHistoryApi.md b/docs/tools/sdk/python/Reference/V2024/Methods/IdentityHistoryApi.md index 6909110f7..fc2930927 100644 --- a/docs/tools/sdk/python/Reference/V2024/Methods/IdentityHistoryApi.md +++ b/docs/tools/sdk/python/Reference/V2024/Methods/IdentityHistoryApi.md @@ -84,7 +84,7 @@ from sailpoint.v2024.models.identity_compare_response import IdentityCompareResp from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: id = '8c190e6787aa4ed9a90bd9d5344523fb' # str | The identity id # str | The identity id @@ -170,7 +170,7 @@ from sailpoint.v2024.models.access_item_diff import AccessItemDiff from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: id = '8c190e6787aa4ed9a90bd9d5344523fb' # str | The identity id # str | The identity id @@ -250,7 +250,7 @@ from sailpoint.v2024.models.identity_history_response import IdentityHistoryResp from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: id = '8c190e6787aa4ed9a90bd9d5344523fb' # str | The identity id # str | The identity id @@ -329,7 +329,7 @@ from sailpoint.v2024.models.get_historical_identity_events200_response_inner imp from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: id = '8c190e6787aa4ed9a90bd9d5344523fb' # str | The identity id # str | The identity id @@ -409,7 +409,7 @@ from sailpoint.v2024.models.identity_history_response import IdentityHistoryResp from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: id = '8c190e6787aa4ed9a90bd9d5344523fb' # str | The identity id # str | The identity id @@ -488,7 +488,7 @@ from sailpoint.v2024.models.metric_response import MetricResponse from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: id = '8c190e6787aa4ed9a90bd9d5344523fb' # str | The identity id # str | The identity id @@ -566,7 +566,7 @@ from sailpoint.v2024.api_client import ApiClient from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: id = '8c190e6787aa4ed9a90bd9d5344523fb' # str | The identity id # str | The identity id @@ -642,7 +642,7 @@ from sailpoint.v2024.models.identity_list_item import IdentityListItem from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -725,7 +725,7 @@ from sailpoint.v2024.models.list_identity_access_items200_response_inner import from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: id = '8c190e6787aa4ed9a90bd9d5344523fb' # str | The identity id # str | The identity id @@ -804,7 +804,7 @@ from sailpoint.v2024.models.list_identity_access_items200_response_inner import from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: id = '8c190e6787aa4ed9a90bd9d5344523fb' # str | The identity id # str | The identity id @@ -884,7 +884,7 @@ from sailpoint.v2024.models.identity_snapshot_summary_response import IdentitySn from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: id = '8c190e6787aa4ed9a90bd9d5344523fb' # str | The identity id # str | The identity id diff --git a/docs/tools/sdk/python/Reference/V2024/Methods/IdentityProfilesApi.md b/docs/tools/sdk/python/Reference/V2024/Methods/IdentityProfilesApi.md index 8594ec3f3..894dc1179 100644 --- a/docs/tools/sdk/python/Reference/V2024/Methods/IdentityProfilesApi.md +++ b/docs/tools/sdk/python/Reference/V2024/Methods/IdentityProfilesApi.md @@ -384,7 +384,7 @@ from sailpoint.v2024.models.identity_preview_response import IdentityPreviewResp from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') diff --git a/docs/tools/sdk/python/Reference/V2024/Methods/MachineAccountsApi.md b/docs/tools/sdk/python/Reference/V2024/Methods/MachineAccountsApi.md index 1d6aca07f..8d84e6ff0 100644 --- a/docs/tools/sdk/python/Reference/V2024/Methods/MachineAccountsApi.md +++ b/docs/tools/sdk/python/Reference/V2024/Methods/MachineAccountsApi.md @@ -71,7 +71,7 @@ from sailpoint.v2024.models.machine_account import MachineAccount from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: id = 'ef38f94347e94562b5bb8424a56397d8' # str | Machine Account ID. # str | Machine Account ID. @@ -148,7 +148,7 @@ from sailpoint.v2024.models.machine_account import MachineAccount from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -228,7 +228,7 @@ from sailpoint.v2024.models.machine_account import MachineAccount from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: id = 'ef38f94347e94562b5bb8424a56397d8' # str | Machine Account ID. # str | Machine Account ID. diff --git a/docs/tools/sdk/python/Reference/V2024/Methods/MachineIdentitiesApi.md b/docs/tools/sdk/python/Reference/V2024/Methods/MachineIdentitiesApi.md index a16b6ef7c..15fc9a7f3 100644 --- a/docs/tools/sdk/python/Reference/V2024/Methods/MachineIdentitiesApi.md +++ b/docs/tools/sdk/python/Reference/V2024/Methods/MachineIdentitiesApi.md @@ -74,7 +74,7 @@ from sailpoint.v2024.models.machine_identity import MachineIdentity from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -155,7 +155,7 @@ from sailpoint.v2024.api_client import ApiClient from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: id = 'ef38f94347e94562b5bb8424a56397d8' # str | Machine Identity ID # str | Machine Identity ID @@ -226,7 +226,7 @@ from sailpoint.v2024.models.machine_identity import MachineIdentity from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: id = 'ef38f94347e94562b5bb8424a56397d8' # str | Machine Identity ID # str | Machine Identity ID @@ -303,7 +303,7 @@ from sailpoint.v2024.models.machine_identity import MachineIdentity from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -383,7 +383,7 @@ from sailpoint.v2024.models.machine_identity import MachineIdentity from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: id = 'ef38f94347e94562b5bb8424a56397d8' # str | Machine Identity ID. # str | Machine Identity ID. diff --git a/docs/tools/sdk/python/Reference/V2024/Methods/NotificationsApi.md b/docs/tools/sdk/python/Reference/V2024/Methods/NotificationsApi.md index 7caf4b3f1..b18e0d16a 100644 --- a/docs/tools/sdk/python/Reference/V2024/Methods/NotificationsApi.md +++ b/docs/tools/sdk/python/Reference/V2024/Methods/NotificationsApi.md @@ -84,7 +84,7 @@ from sailpoint.v2024.models.domain_status_dto import DomainStatusDto from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -160,7 +160,7 @@ from sailpoint.v2024.models.template_dto import TemplateDto from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -249,7 +249,7 @@ from sailpoint.v2024.models.email_status_dto import EmailStatusDto from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -326,7 +326,7 @@ from sailpoint.v2024.models.template_bulk_delete_dto import TemplateBulkDeleteDt from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -396,7 +396,7 @@ from sailpoint.v2024.api_client import ApiClient from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: id = 'id_example' # str | # str | @@ -465,7 +465,7 @@ from sailpoint.v2024.models.dkim_attributes import DkimAttributes from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -537,7 +537,7 @@ from sailpoint.v2024.models.mail_from_attributes import MailFromAttributes from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: id = 'bobsmith@sailpoint.com' # str | Returns the MX and TXT record to be put in your DNS, as well as the MAIL FROM domain status # str | Returns the MX and TXT record to be put in your DNS, as well as the MAIL FROM domain status @@ -609,7 +609,7 @@ from sailpoint.v2024.models.template_dto import TemplateDto from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: id = 'c17bea3a-574d-453c-9e04-4365fbf5af0b' # str | Id of the Notification Template # str | Id of the Notification Template @@ -681,7 +681,7 @@ from sailpoint.v2024.models.notification_template_context import NotificationTem from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -755,7 +755,7 @@ from sailpoint.v2024.models.email_status_dto import EmailStatusDto from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -832,7 +832,7 @@ from sailpoint.v2024.models.preferences_dto import PreferencesDto from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -905,7 +905,7 @@ from sailpoint.v2024.models.template_dto_default import TemplateDtoDefault from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -982,7 +982,7 @@ from sailpoint.v2024.models.template_dto import TemplateDto from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -1058,7 +1058,7 @@ from sailpoint.v2024.models.mail_from_attributes_dto import MailFromAttributesDt from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -1134,7 +1134,7 @@ from sailpoint.v2024.models.send_test_notification_request_dto import SendTestNo from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') diff --git a/docs/tools/sdk/python/Reference/V2024/Methods/OrgConfigApi.md b/docs/tools/sdk/python/Reference/V2024/Methods/OrgConfigApi.md index 7d1485f9d..09e52079b 100644 --- a/docs/tools/sdk/python/Reference/V2024/Methods/OrgConfigApi.md +++ b/docs/tools/sdk/python/Reference/V2024/Methods/OrgConfigApi.md @@ -72,7 +72,7 @@ from sailpoint.v2024.models.org_config import OrgConfig from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -144,7 +144,7 @@ from sailpoint.v2024.api_client import ApiClient from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -221,7 +221,7 @@ from sailpoint.v2024.models.org_config import OrgConfig from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') diff --git a/docs/tools/sdk/python/Reference/V2024/Methods/PasswordManagementApi.md b/docs/tools/sdk/python/Reference/V2024/Methods/PasswordManagementApi.md index bd02d467d..6d3dcc663 100644 --- a/docs/tools/sdk/python/Reference/V2024/Methods/PasswordManagementApi.md +++ b/docs/tools/sdk/python/Reference/V2024/Methods/PasswordManagementApi.md @@ -96,7 +96,7 @@ from sailpoint.v2024.models.password_digit_token_reset import PasswordDigitToken from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') diff --git a/docs/tools/sdk/python/Reference/V2024/Methods/RoleInsightsApi.md b/docs/tools/sdk/python/Reference/V2024/Methods/RoleInsightsApi.md index a7242c555..2275372c9 100644 --- a/docs/tools/sdk/python/Reference/V2024/Methods/RoleInsightsApi.md +++ b/docs/tools/sdk/python/Reference/V2024/Methods/RoleInsightsApi.md @@ -78,7 +78,7 @@ from sailpoint.v2024.models.role_insights_response import RoleInsightsResponse from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -149,7 +149,7 @@ from sailpoint.v2024.api_client import ApiClient from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: insight_id = '8c190e67-87aa-4ed9-a90b-d9d5344523fb' # str | The role insight id # str | The role insight id @@ -229,7 +229,7 @@ from sailpoint.v2024.models.role_insights_identities import RoleInsightsIdentiti from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: insight_id = '8c190e67-87aa-4ed9-a90b-d9d5344523fb' # str | The role insight id # str | The role insight id @@ -308,7 +308,7 @@ from sailpoint.v2024.models.role_insight import RoleInsight from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: insight_id = '8c190e67-87aa-4ed9-a90b-d9d5344523fb' # str | The role insight id # str | The role insight id @@ -383,7 +383,7 @@ from sailpoint.v2024.models.role_insight import RoleInsight from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -460,7 +460,7 @@ from sailpoint.v2024.models.role_insights_entitlement import RoleInsightsEntitle from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: insight_id = '8c190e67-87aa-4ed9-a90b-d9d5344523fb' # str | The role insight id # str | The role insight id @@ -535,7 +535,7 @@ from sailpoint.v2024.models.role_insights_entitlement_changes import RoleInsight from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: insight_id = '8c190e67-87aa-4ed9-a90b-d9d5344523fb' # str | The role insight id # str | The role insight id @@ -613,7 +613,7 @@ from sailpoint.v2024.models.role_insights_response import RoleInsightsResponse from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: id = '8c190e67-87aa-4ed9-a90b-d9d5344523fb' # str | The role insights request id # str | The role insights request id @@ -683,7 +683,7 @@ from sailpoint.v2024.models.role_insights_summary import RoleInsightsSummary from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') diff --git a/docs/tools/sdk/python/Reference/V2024/Methods/RolesApi.md b/docs/tools/sdk/python/Reference/V2024/Methods/RolesApi.md index 8eb895a24..eb1f4eab7 100644 --- a/docs/tools/sdk/python/Reference/V2024/Methods/RolesApi.md +++ b/docs/tools/sdk/python/Reference/V2024/Methods/RolesApi.md @@ -770,7 +770,7 @@ from sailpoint.v2024.models.entitlement import Entitlement from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: id = '2c91808a7813090a017814121919ecca' # str | Containing role's ID. # str | Containing role's ID. diff --git a/docs/tools/sdk/python/Reference/V2024/Methods/SIMIntegrationsApi.md b/docs/tools/sdk/python/Reference/V2024/Methods/SIMIntegrationsApi.md index 779da7c9f..edf0ef35a 100644 --- a/docs/tools/sdk/python/Reference/V2024/Methods/SIMIntegrationsApi.md +++ b/docs/tools/sdk/python/Reference/V2024/Methods/SIMIntegrationsApi.md @@ -83,7 +83,7 @@ from sailpoint.v2024.models.sim_integration_details import SimIntegrationDetails from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -172,7 +172,7 @@ from sailpoint.v2024.api_client import ApiClient from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: id = '12345' # str | The id of the integration to delete. # str | The id of the integration to delete. @@ -243,7 +243,7 @@ from sailpoint.v2024.models.service_desk_integration_dto import ServiceDeskInteg from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: id = '12345' # str | The id of the integration. # str | The id of the integration. @@ -315,7 +315,7 @@ from sailpoint.v2024.models.service_desk_integration_dto import ServiceDeskInteg from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -390,7 +390,7 @@ from sailpoint.v2024.models.service_desk_integration_dto import ServiceDeskInteg from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: id = '12345' # str | SIM integration id # str | SIM integration id @@ -476,7 +476,7 @@ from sailpoint.v2024.models.service_desk_integration_dto import ServiceDeskInteg from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: id = '12345' # str | SIM integration id # str | SIM integration id @@ -562,7 +562,7 @@ from sailpoint.v2024.models.sim_integration_details import SimIntegrationDetails from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: id = '12345' # str | The id of the integration. # str | The id of the integration. diff --git a/docs/tools/sdk/python/Reference/V2024/Methods/SearchAttributeConfigurationApi.md b/docs/tools/sdk/python/Reference/V2024/Methods/SearchAttributeConfigurationApi.md index eaf25c05a..cfbc8ba68 100644 --- a/docs/tools/sdk/python/Reference/V2024/Methods/SearchAttributeConfigurationApi.md +++ b/docs/tools/sdk/python/Reference/V2024/Methods/SearchAttributeConfigurationApi.md @@ -92,7 +92,7 @@ from sailpoint.v2024.models.search_attribute_config import SearchAttributeConfig from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -170,7 +170,7 @@ from sailpoint.v2024.api_client import ApiClient from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: name = 'newMailAttribute' # str | Name of the extended search attribute configuration to delete. # str | Name of the extended search attribute configuration to delete. @@ -241,7 +241,7 @@ from sailpoint.v2024.models.search_attribute_config import SearchAttributeConfig from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -316,7 +316,7 @@ from sailpoint.v2024.models.search_attribute_config import SearchAttributeConfig from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: name = 'newMailAttribute' # str | Name of the extended search attribute configuration to get. # str | Name of the extended search attribute configuration to get. @@ -393,7 +393,7 @@ from sailpoint.v2024.models.search_attribute_config import SearchAttributeConfig from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: name = 'promotedMailAttribute' # str | Name of the search attribute configuration to patch. # str | Name of the search attribute configuration to patch. diff --git a/docs/tools/sdk/python/Reference/V2024/Methods/SourcesApi.md b/docs/tools/sdk/python/Reference/V2024/Methods/SourcesApi.md index 8cadc35f3..24509f2a0 100644 --- a/docs/tools/sdk/python/Reference/V2024/Methods/SourcesApi.md +++ b/docs/tools/sdk/python/Reference/V2024/Methods/SourcesApi.md @@ -546,7 +546,7 @@ from sailpoint.v2024.models.task_result_dto import TaskResultDto from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: id = 'ebbf35756e1140699ce52b233121384a' # str | The source id # str | The source id @@ -618,7 +618,7 @@ from sailpoint.v2024.api_client import ApiClient from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: id = '2c9180835d191a86015d28455b4a2329' # str | The source id # str | The source id @@ -1100,7 +1100,7 @@ from sailpoint.v2024.models.native_change_detection_config import NativeChangeDe from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: id = '2c9180835d191a86015d28455b4a2329' # str | The source id # str | The source id @@ -1294,7 +1294,7 @@ from sailpoint.v2024.models.attr_sync_source_config import AttrSyncSourceConfig from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: id = '2c9180835d191a86015d28455b4a2329' # str | The source id # str | The source id @@ -1489,7 +1489,7 @@ from sailpoint.v2024.models.source_entitlement_request_config import SourceEntit from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -1879,7 +1879,7 @@ from sailpoint.v2024.models.load_accounts_task import LoadAccountsTask from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: id = 'ef38f94347e94562b5bb8424a56397d8' # str | Source Id # str | Source Id @@ -2148,7 +2148,7 @@ from sailpoint.v2024.models.load_uncorrelated_accounts_task import LoadUncorrela from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: id = '75dbec1ebe154d5785da27b95e1dd5d7' # str | Source Id # str | Source Id @@ -2495,7 +2495,7 @@ from sailpoint.v2024.models.native_change_detection_config import NativeChangeDe from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: id = '2c9180835d191a86015d28455b4a2329' # str | The source id # str | The source id @@ -2838,7 +2838,7 @@ from sailpoint.v2024.models.attr_sync_source_config import AttrSyncSourceConfig from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: id = '2c9180835d191a86015d28455b4a2329' # str | The source id # str | The source id @@ -3067,7 +3067,7 @@ from sailpoint.v2024.models.source_sync_job import SourceSyncJob from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: id = 'id_example' # str | The Source id # str | The Source id @@ -3531,7 +3531,7 @@ from sailpoint.v2024.models.source_entitlement_request_config import SourceEntit from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') diff --git a/docs/tools/sdk/python/Reference/V2024/Methods/TaskManagementApi.md b/docs/tools/sdk/python/Reference/V2024/Methods/TaskManagementApi.md index e98ababce..0494c5f85 100644 --- a/docs/tools/sdk/python/Reference/V2024/Methods/TaskManagementApi.md +++ b/docs/tools/sdk/python/Reference/V2024/Methods/TaskManagementApi.md @@ -74,7 +74,7 @@ from sailpoint.v2024.api_client import ApiClient from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -149,7 +149,7 @@ from sailpoint.v2024.models.task_status import TaskStatus from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -225,7 +225,7 @@ from sailpoint.v2024.models.task_status import TaskStatus from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: id = '00eebcf881994e419d72e757fd30dc0e' # str | Task ID. # str | Task ID. @@ -303,7 +303,7 @@ from sailpoint.v2024.models.task_status import TaskStatus from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -383,7 +383,7 @@ from sailpoint.v2024.models.task_status import TaskStatus from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: id = '00eebcf881994e419d72e757fd30dc0e' # str | Task ID. # str | Task ID. diff --git a/docs/tools/sdk/python/Reference/V2024/Methods/TenantContextApi.md b/docs/tools/sdk/python/Reference/V2024/Methods/TenantContextApi.md index b2fcc91fb..fe528bd4b 100644 --- a/docs/tools/sdk/python/Reference/V2024/Methods/TenantContextApi.md +++ b/docs/tools/sdk/python/Reference/V2024/Methods/TenantContextApi.md @@ -71,7 +71,7 @@ from sailpoint.v2024.models.get_tenant_context200_response_inner import GetTenan from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -149,7 +149,7 @@ from sailpoint.v2024.models.json_patch_operation import JsonPatchOperation from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') diff --git a/docs/tools/sdk/python/Reference/V2024/Methods/TriggersApi.md b/docs/tools/sdk/python/Reference/V2024/Methods/TriggersApi.md index 980404a38..87b91f9be 100644 --- a/docs/tools/sdk/python/Reference/V2024/Methods/TriggersApi.md +++ b/docs/tools/sdk/python/Reference/V2024/Methods/TriggersApi.md @@ -119,7 +119,7 @@ from sailpoint.v2024.models.complete_invocation import CompleteInvocation from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: id = '0f11f2a4-7c94-4bf3-a2bd-742580fe3bde' # str | The ID of the invocation to complete. # str | The ID of the invocation to complete. @@ -199,7 +199,7 @@ from sailpoint.v2024.models.subscription_post_request import SubscriptionPostReq from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -295,7 +295,7 @@ from sailpoint.v2024.api_client import ApiClient from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: id = '0f11f2a4-7c94-4bf3-a2bd-742580fe3bde' # str | Subscription ID # str | Subscription ID @@ -369,7 +369,7 @@ from sailpoint.v2024.models.subscription import Subscription from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -452,7 +452,7 @@ from sailpoint.v2024.models.invocation_status import InvocationStatus from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -533,7 +533,7 @@ from sailpoint.v2024.models.trigger import Trigger from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -615,7 +615,7 @@ from sailpoint.v2024.models.subscription_patch_request_inner import Subscription from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: id = '0f11f2a4-7c94-4bf3-a2bd-742580fe3bde' # str | ID of the Subscription to patch # str | ID of the Subscription to patch @@ -690,7 +690,7 @@ from sailpoint.v2024.models.test_invocation import TestInvocation from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -774,7 +774,7 @@ from sailpoint.v2024.models.validate_filter_output_dto import ValidateFilterOutp from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -863,7 +863,7 @@ from sailpoint.v2024.models.subscription_put_request import SubscriptionPutReque from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: id = '0f11f2a4-7c94-4bf3-a2bd-742580fe3bde' # str | Subscription ID # str | Subscription ID diff --git a/docs/tools/sdk/python/Reference/V2024/Methods/UIMetadataApi.md b/docs/tools/sdk/python/Reference/V2024/Methods/UIMetadataApi.md index 51c6e6798..0ef846c8f 100644 --- a/docs/tools/sdk/python/Reference/V2024/Methods/UIMetadataApi.md +++ b/docs/tools/sdk/python/Reference/V2024/Methods/UIMetadataApi.md @@ -70,7 +70,7 @@ from sailpoint.v2024.models.tenant_ui_metadata_item_response import TenantUiMeta from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -143,7 +143,7 @@ from sailpoint.v2024.models.tenant_ui_metadata_item_update_request import Tenant from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') diff --git a/docs/tools/sdk/python/Reference/V2024/Methods/WorkItemsApi.md b/docs/tools/sdk/python/Reference/V2024/Methods/WorkItemsApi.md index bdc447643..a3206abda 100644 --- a/docs/tools/sdk/python/Reference/V2024/Methods/WorkItemsApi.md +++ b/docs/tools/sdk/python/Reference/V2024/Methods/WorkItemsApi.md @@ -276,7 +276,7 @@ from sailpoint.v2024.models.work_item_forward import WorkItemForward from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: id = 'ef38f94347e94562b5bb8424a56397d8' # str | The ID of the work item # str | The ID of the work item @@ -414,7 +414,7 @@ from sailpoint.v2024.models.work_items_count import WorkItemsCount from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') diff --git a/docs/tools/sdk/python/Reference/V2024/Methods/WorkReassignmentApi.md b/docs/tools/sdk/python/Reference/V2024/Methods/WorkReassignmentApi.md index 157dfc40d..b7f695173 100644 --- a/docs/tools/sdk/python/Reference/V2024/Methods/WorkReassignmentApi.md +++ b/docs/tools/sdk/python/Reference/V2024/Methods/WorkReassignmentApi.md @@ -87,7 +87,7 @@ from sailpoint.v2024.models.configuration_item_response import ConfigurationItem from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -166,7 +166,7 @@ from sailpoint.v2024.models.config_type_enum import ConfigTypeEnum from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: identity_id = '2c91808781a71ddb0181b9090b5c504e' # str | unique identity id # str | unique identity id @@ -240,7 +240,7 @@ from sailpoint.v2024.models.evaluate_response import EvaluateResponse from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: identity_id = '2c91808781a71ddb0181b9090b5c504e' # str | unique identity id # str | unique identity id @@ -314,7 +314,7 @@ from sailpoint.v2024.models.config_type import ConfigType from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -387,7 +387,7 @@ from sailpoint.v2024.models.configuration_response import ConfigurationResponse from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: identity_id = '2c91808781a71ddb0181b9090b5c504f' # str | unique identity id # str | unique identity id @@ -459,7 +459,7 @@ from sailpoint.v2024.models.tenant_configuration_response import TenantConfigura from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -530,7 +530,7 @@ from sailpoint.v2024.models.configuration_response import ConfigurationResponse from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -604,7 +604,7 @@ from sailpoint.v2024.models.configuration_item_response import ConfigurationItem from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: identity_id = '2c91808781a71ddb0181b9090b5c504e' # str | unique identity id # str | unique identity id @@ -684,7 +684,7 @@ from sailpoint.v2024.models.tenant_configuration_response import TenantConfigura from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') diff --git a/docs/tools/sdk/python/Reference/V2024/Models/AccountUsage.md b/docs/tools/sdk/python/Reference/V2024/Models/AccountUsage.md index 5353898b1..442faa748 100644 --- a/docs/tools/sdk/python/Reference/V2024/Models/AccountUsage.md +++ b/docs/tools/sdk/python/Reference/V2024/Models/AccountUsage.md @@ -26,7 +26,7 @@ Name | Type | Description | Notes from sailpoint.v2024.models.account_usage import AccountUsage account_usage = AccountUsage( -var_date='Fri Apr 21 00:00:00 UTC 2023', +var_date='Thu Apr 20 20:00:00 EDT 2023', count=10 ) diff --git a/docs/tools/sdk/python/Reference/V2024/Models/NonEmployeeRequestWithoutApprovalItem.md b/docs/tools/sdk/python/Reference/V2024/Models/NonEmployeeRequestWithoutApprovalItem.md index db5a37930..a37f38fea 100644 --- a/docs/tools/sdk/python/Reference/V2024/Models/NonEmployeeRequestWithoutApprovalItem.md +++ b/docs/tools/sdk/python/Reference/V2024/Models/NonEmployeeRequestWithoutApprovalItem.md @@ -56,8 +56,8 @@ data={description=Auditing}, approval_status='APPROVED', comment='approved', completion_date='2020-03-24T11:11:41.139-05:00', -start_date='Tue Mar 24 00:00:00 UTC 2020', -end_date='Thu Mar 25 00:00:00 UTC 2021', +start_date='Mon Mar 23 20:00:00 EDT 2020', +end_date='Wed Mar 24 20:00:00 EDT 2021', modified='2020-03-24T11:11:41.139-05:00', created='2020-03-24T11:11:41.139-05:00' ) diff --git a/docs/tools/sdk/python/Reference/V2024/Models/SourceUsage.md b/docs/tools/sdk/python/Reference/V2024/Models/SourceUsage.md index c57393c0d..ea8523f54 100644 --- a/docs/tools/sdk/python/Reference/V2024/Models/SourceUsage.md +++ b/docs/tools/sdk/python/Reference/V2024/Models/SourceUsage.md @@ -26,7 +26,7 @@ Name | Type | Description | Notes from sailpoint.v2024.models.source_usage import SourceUsage source_usage = SourceUsage( -var_date='Fri Apr 21 00:00:00 UTC 2023', +var_date='Thu Apr 20 20:00:00 EDT 2023', count=10.45 ) diff --git a/docs/tools/sdk/python/Reference/V2025/Methods/AccessModelMetadataApi.md b/docs/tools/sdk/python/Reference/V2025/Methods/AccessModelMetadataApi.md index 2782bcd64..ed042a74d 100644 --- a/docs/tools/sdk/python/Reference/V2025/Methods/AccessModelMetadataApi.md +++ b/docs/tools/sdk/python/Reference/V2025/Methods/AccessModelMetadataApi.md @@ -81,7 +81,7 @@ from sailpoint.v2025.models.attribute_dto import AttributeDTO from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: key = 'iscPrivacy' # str | Technical name of the Attribute. # str | Technical name of the Attribute. @@ -154,7 +154,7 @@ from sailpoint.v2025.models.attribute_value_dto import AttributeValueDTO from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: key = 'iscPrivacy' # str | Technical name of the Attribute. # str | Technical name of the Attribute. @@ -227,7 +227,7 @@ from sailpoint.v2025.models.attribute_dto import AttributeDTO from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -300,7 +300,7 @@ from sailpoint.v2025.models.attribute_value_dto import AttributeValueDTO from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: key = 'iscPrivacy' # str | Technical name of the Attribute. # str | Technical name of the Attribute. diff --git a/docs/tools/sdk/python/Reference/V2025/Methods/AccessProfilesApi.md b/docs/tools/sdk/python/Reference/V2025/Methods/AccessProfilesApi.md index 94a99b1bc..44928f4d4 100644 --- a/docs/tools/sdk/python/Reference/V2025/Methods/AccessProfilesApi.md +++ b/docs/tools/sdk/python/Reference/V2025/Methods/AccessProfilesApi.md @@ -681,7 +681,7 @@ from sailpoint.v2025.models.access_profile_update_item import AccessProfileUpdat from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') diff --git a/docs/tools/sdk/python/Reference/V2025/Methods/AccessRequestsApi.md b/docs/tools/sdk/python/Reference/V2025/Methods/AccessRequestsApi.md index 414c1d18c..50f63a3d8 100644 --- a/docs/tools/sdk/python/Reference/V2025/Methods/AccessRequestsApi.md +++ b/docs/tools/sdk/python/Reference/V2025/Methods/AccessRequestsApi.md @@ -292,7 +292,7 @@ from sailpoint.v2025.models.close_access_request import CloseAccessRequest from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -696,7 +696,7 @@ from sailpoint.v2025.models.identity_entitlement_details import IdentityEntitlem from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') diff --git a/docs/tools/sdk/python/Reference/V2025/Methods/AccountAggregationsApi.md b/docs/tools/sdk/python/Reference/V2025/Methods/AccountAggregationsApi.md index ced4213dd..7d8230414 100644 --- a/docs/tools/sdk/python/Reference/V2025/Methods/AccountAggregationsApi.md +++ b/docs/tools/sdk/python/Reference/V2025/Methods/AccountAggregationsApi.md @@ -85,7 +85,7 @@ from sailpoint.v2025.models.account_aggregation_status import AccountAggregation from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: id = '2c91808477a6b0c60177a81146b8110b' # str | The account aggregation id # str | The account aggregation id diff --git a/docs/tools/sdk/python/Reference/V2025/Methods/AccountsApi.md b/docs/tools/sdk/python/Reference/V2025/Methods/AccountsApi.md index 496e7ebf3..ea1c23b9e 100644 --- a/docs/tools/sdk/python/Reference/V2025/Methods/AccountsApi.md +++ b/docs/tools/sdk/python/Reference/V2025/Methods/AccountsApi.md @@ -257,7 +257,7 @@ from sailpoint.v2025.models.task_result_dto import TaskResultDto from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: id = 'c350d6aa4f104c61b062cb632421ad10' # str | The account id # str | The account id @@ -394,7 +394,7 @@ from sailpoint.v2025.api_client import ApiClient from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: id = '2c91808384203c2d018437e631158309' # str | The identity id. # str | The identity id. @@ -467,7 +467,7 @@ from sailpoint.v2025.models.identities_accounts_bulk_request import IdentitiesAc from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -607,7 +607,7 @@ from sailpoint.v2025.api_client import ApiClient from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: id = '2c91808384203c2d018437e631158309' # str | The identity id. # str | The identity id. @@ -680,7 +680,7 @@ from sailpoint.v2025.models.identities_accounts_bulk_request import IdentitiesAc from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') diff --git a/docs/tools/sdk/python/Reference/V2025/Methods/ApprovalsApi.md b/docs/tools/sdk/python/Reference/V2025/Methods/ApprovalsApi.md index d7a816774..f4193e06f 100644 --- a/docs/tools/sdk/python/Reference/V2025/Methods/ApprovalsApi.md +++ b/docs/tools/sdk/python/Reference/V2025/Methods/ApprovalsApi.md @@ -72,7 +72,7 @@ from sailpoint.v2025.models.approval import Approval from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: id = '38453251-6be2-5f8f-df93-5ce19e295837' # str | ID of the approval that is to be returned # str | ID of the approval that is to be returned @@ -147,7 +147,7 @@ from sailpoint.v2025.models.approval import Approval from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') diff --git a/docs/tools/sdk/python/Reference/V2025/Methods/AppsApi.md b/docs/tools/sdk/python/Reference/V2025/Methods/AppsApi.md index 0ef47ac97..a2946d0b3 100644 --- a/docs/tools/sdk/python/Reference/V2025/Methods/AppsApi.md +++ b/docs/tools/sdk/python/Reference/V2025/Methods/AppsApi.md @@ -84,7 +84,7 @@ from sailpoint.v2025.models.source_app_create_dto import SourceAppCreateDto from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -167,7 +167,7 @@ from sailpoint.v2025.models.access_profile_details import AccessProfileDetails from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: id = '2c91808a7813090a017814121e121518' # str | ID of the source app # str | ID of the source app @@ -242,7 +242,7 @@ from sailpoint.v2025.models.source_app import SourceApp from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: id = '2c9180835d191a86015d28455b4a2329' # str | source app ID. # str | source app ID. @@ -315,7 +315,7 @@ from sailpoint.v2025.models.source_app import SourceApp from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: id = '2c91808a7813090a017814121e121518' # str | ID of the source app # str | ID of the source app @@ -390,7 +390,7 @@ from sailpoint.v2025.models.access_profile_details import AccessProfileDetails from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: id = '2c91808a7813090a017814121e121518' # str | ID of the source app # str | ID of the source app @@ -470,7 +470,7 @@ from sailpoint.v2025.models.source_app import SourceApp from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -551,7 +551,7 @@ from sailpoint.v2025.models.user_app import UserApp from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: filters = 'name eq \"user app name\"' # str | Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **id**: *eq* **ownerId**: *eq* **ownerName**: *eq, sw* **ownerAlias**: *eq, sw* **accountId**: *eq* **sourceAppId**: *eq* # str | Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **id**: *eq* **ownerId**: *eq* **ownerName**: *eq, sw* **ownerAlias**: *eq, sw* **accountId**: *eq* **sourceAppId**: *eq* @@ -631,7 +631,7 @@ from sailpoint.v2025.models.source_app import SourceApp from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -710,7 +710,7 @@ from sailpoint.v2025.models.app_account_details import AppAccountDetails from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: id = '2c91808a7813090a017814121e121518' # str | ID of the user app # str | ID of the user app @@ -789,7 +789,7 @@ from sailpoint.v2025.models.source_app import SourceApp from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -869,7 +869,7 @@ from sailpoint.v2025.models.user_app import UserApp from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -950,7 +950,7 @@ from sailpoint.v2025.models.source_app_patch_dto import SourceAppPatchDto from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: id = '2c91808a7813090a017814121e121518' # str | ID of the source app to patch # str | ID of the source app to patch @@ -1027,7 +1027,7 @@ from sailpoint.v2025.models.user_app import UserApp from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: id = '2c91808a7813090a017814121e121518' # str | ID of the user app to patch # str | ID of the user app to patch @@ -1103,7 +1103,7 @@ from sailpoint.v2025.models.source_app_bulk_update_request import SourceAppBulkU from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') diff --git a/docs/tools/sdk/python/Reference/V2025/Methods/AuthProfileApi.md b/docs/tools/sdk/python/Reference/V2025/Methods/AuthProfileApi.md index 132f725c3..29fd3801f 100644 --- a/docs/tools/sdk/python/Reference/V2025/Methods/AuthProfileApi.md +++ b/docs/tools/sdk/python/Reference/V2025/Methods/AuthProfileApi.md @@ -77,7 +77,7 @@ from sailpoint.v2025.models.auth_profile import AuthProfile from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -148,7 +148,7 @@ from sailpoint.v2025.models.auth_profile_summary import AuthProfileSummary from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -223,7 +223,7 @@ from sailpoint.v2025.models.json_patch_operation import JsonPatchOperation from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: id = '2c91808a7813090a017814121919ecca' # str | ID of the Auth Profile to patch. # str | ID of the Auth Profile to patch. diff --git a/docs/tools/sdk/python/Reference/V2025/Methods/CustomPasswordInstructionsApi.md b/docs/tools/sdk/python/Reference/V2025/Methods/CustomPasswordInstructionsApi.md index fd222d6ce..5ceefa692 100644 --- a/docs/tools/sdk/python/Reference/V2025/Methods/CustomPasswordInstructionsApi.md +++ b/docs/tools/sdk/python/Reference/V2025/Methods/CustomPasswordInstructionsApi.md @@ -79,7 +79,7 @@ from sailpoint.v2025.models.custom_password_instruction import CustomPasswordIns from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -154,7 +154,7 @@ from sailpoint.v2025.api_client import ApiClient from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: page_id = 'mfa:select' # str | The page ID of custom password instructions to delete. # str | The page ID of custom password instructions to delete. @@ -225,7 +225,7 @@ from sailpoint.v2025.models.custom_password_instruction import CustomPasswordIns from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: page_id = 'mfa:select' # str | The page ID of custom password instructions to query. # str | The page ID of custom password instructions to query. diff --git a/docs/tools/sdk/python/Reference/V2025/Methods/DataSegmentationApi.md b/docs/tools/sdk/python/Reference/V2025/Methods/DataSegmentationApi.md index 2e31bc3d2..5f0947a5a 100644 --- a/docs/tools/sdk/python/Reference/V2025/Methods/DataSegmentationApi.md +++ b/docs/tools/sdk/python/Reference/V2025/Methods/DataSegmentationApi.md @@ -137,7 +137,7 @@ from sailpoint.v2025.api_client import ApiClient from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: id = 'ef38f943-47e9-4562-b5bb-8424a56397d8' # str | The segment ID to delete. # str | The segment ID to delete. @@ -209,7 +209,7 @@ from sailpoint.v2025.models.data_segment import DataSegment from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: id = 'ef38f943-47e9-4562-b5bb-8424a56397d8' # str | The segment ID to retrieve. # str | The segment ID to retrieve. @@ -281,7 +281,7 @@ from sailpoint.v2025.api_client import ApiClient from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: identity_id = 'ef38f943-47e9-4562-b5bb-8424a56397d8' # str | The identity ID to retrieve the segments they are in. # str | The identity ID to retrieve the segments they are in. @@ -353,7 +353,7 @@ from sailpoint.v2025.api_client import ApiClient from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: identity_id = 'ef38f943-47e9-4562-b5bb-8424a56397d8' # str | The identity ID to retrieve if segmentation is enabled for the identity. # str | The identity ID to retrieve if segmentation is enabled for the identity. @@ -432,7 +432,7 @@ from sailpoint.v2025.models.data_segment import DataSegment from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -513,7 +513,7 @@ from sailpoint.v2025.models.data_segment import DataSegment from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: id = 'ef38f943-47e9-4562-b5bb-8424a56397d8' # str | The segment ID to modify. # str | The segment ID to modify. @@ -587,7 +587,7 @@ from sailpoint.v2025.api_client import ApiClient from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') diff --git a/docs/tools/sdk/python/Reference/V2025/Methods/EntitlementsApi.md b/docs/tools/sdk/python/Reference/V2025/Methods/EntitlementsApi.md index bfefc3a1f..969516035 100644 --- a/docs/tools/sdk/python/Reference/V2025/Methods/EntitlementsApi.md +++ b/docs/tools/sdk/python/Reference/V2025/Methods/EntitlementsApi.md @@ -130,7 +130,7 @@ from sailpoint.v2025.models.entitlement import Entitlement from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: id = '2c91808c74ff913f0175097daa9d59cd' # str | The entitlement id. # str | The entitlement id. @@ -205,7 +205,7 @@ from sailpoint.v2025.api_client import ApiClient from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: id = '2c91808c74ff913f0175097daa9d59cd' # str | The entitlement id. # str | The entitlement id. @@ -278,7 +278,7 @@ from sailpoint.v2025.models.entitlement import Entitlement from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: id = '2c91808874ff91550175097daaec161c' # str | The entitlement ID # str | The entitlement ID @@ -351,7 +351,7 @@ from sailpoint.v2025.models.entitlement_request_config import EntitlementRequest from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: id = '2c91808874ff91550175097daaec161c' # str | Entitlement Id # str | Entitlement Id @@ -431,7 +431,7 @@ from sailpoint.v2025.models.load_entitlement_task import LoadEntitlementTask from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: id = 'ef38f94347e94562b5bb8424a56397d8' # str | Source Id # str | Source Id @@ -510,7 +510,7 @@ from sailpoint.v2025.models.entitlement import Entitlement from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: id = '2c91808874ff91550175097daaec161c' # str | Entitlement Id # str | Entitlement Id @@ -594,7 +594,7 @@ from sailpoint.v2025.models.entitlement import Entitlement from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: id = '2c91808c74ff913f0175097daa9d59cd' # str | Entitlement Id # str | Entitlement Id @@ -684,7 +684,7 @@ from sailpoint.v2025.models.entitlement import Entitlement from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -772,7 +772,7 @@ from sailpoint.v2025.models.json_patch_operation import JsonPatchOperation from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: id = '2c91808a7813090a017814121e121518' # str | ID of the entitlement to patch # str | ID of the entitlement to patch @@ -847,7 +847,7 @@ from sailpoint.v2025.models.entitlement_request_config import EntitlementRequest from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: id = '2c91808a7813090a017814121e121518' # str | Entitlement ID # str | Entitlement ID @@ -926,7 +926,7 @@ from sailpoint.v2025.models.entitlement_source_reset_base_reference_dto import E from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: id = '2c91808a7813090a017814121919ecca' # str | ID of source for the entitlement reset # str | ID of source for the entitlement reset @@ -1004,7 +1004,7 @@ from sailpoint.v2025.models.entitlement_bulk_update_request import EntitlementBu from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') diff --git a/docs/tools/sdk/python/Reference/V2025/Methods/GovernanceGroupsApi.md b/docs/tools/sdk/python/Reference/V2025/Methods/GovernanceGroupsApi.md index 92116b4e0..813976afb 100644 --- a/docs/tools/sdk/python/Reference/V2025/Methods/GovernanceGroupsApi.md +++ b/docs/tools/sdk/python/Reference/V2025/Methods/GovernanceGroupsApi.md @@ -82,7 +82,7 @@ from sailpoint.v2025.models.workgroup_dto import WorkgroupDto from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -168,7 +168,7 @@ from sailpoint.v2025.api_client import ApiClient from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: id = '2c9180837ca6693d017ca8d097500149' # str | ID of the Governance Group # str | ID of the Governance Group @@ -243,7 +243,7 @@ from sailpoint.v2025.models.workgroup_member_delete_item import WorkgroupMemberD from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: workgroup_id = '2c91808a7813090a017814121919ecca' # str | ID of the Governance Group. # str | ID of the Governance Group. @@ -329,7 +329,7 @@ from sailpoint.v2025.models.workgroup_delete_item import WorkgroupDeleteItem from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -404,7 +404,7 @@ from sailpoint.v2025.models.workgroup_dto import WorkgroupDto from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: id = '2c9180837ca6693d017ca8d097500149' # str | ID of the Governance Group # str | ID of the Governance Group @@ -480,7 +480,7 @@ from sailpoint.v2025.models.workgroup_connection_dto import WorkgroupConnectionD from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: workgroup_id = '2c91808a7813090a017814121919ecca' # str | ID of the Governance Group. # str | ID of the Governance Group. @@ -561,7 +561,7 @@ from sailpoint.v2025.models.list_workgroup_members200_response_inner import List from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: workgroup_id = '2c91808a7813090a017814121919ecca' # str | ID of the Governance Group. # str | ID of the Governance Group. @@ -642,7 +642,7 @@ from sailpoint.v2025.models.workgroup_dto import WorkgroupDto from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -724,7 +724,7 @@ from sailpoint.v2025.models.workgroup_dto import WorkgroupDto from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: id = '2c9180837ca6693d017ca8d097500149' # str | ID of the Governance Group # str | ID of the Governance Group @@ -803,7 +803,7 @@ from sailpoint.v2025.models.workgroup_member_add_item import WorkgroupMemberAddI from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: workgroup_id = '2c91808a7813090a017814121919ecca' # str | ID of the Governance Group. # str | ID of the Governance Group. diff --git a/docs/tools/sdk/python/Reference/V2025/Methods/IAIAccessRequestRecommendationsApi.md b/docs/tools/sdk/python/Reference/V2025/Methods/IAIAccessRequestRecommendationsApi.md index 06fc82052..be157d7cc 100644 --- a/docs/tools/sdk/python/Reference/V2025/Methods/IAIAccessRequestRecommendationsApi.md +++ b/docs/tools/sdk/python/Reference/V2025/Methods/IAIAccessRequestRecommendationsApi.md @@ -78,7 +78,7 @@ from sailpoint.v2025.models.access_request_recommendation_action_item_response_d from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -157,7 +157,7 @@ from sailpoint.v2025.models.access_request_recommendation_action_item_response_d from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -236,7 +236,7 @@ from sailpoint.v2025.models.access_request_recommendation_action_item_response_d from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -315,7 +315,7 @@ from sailpoint.v2025.models.access_request_recommendation_action_item_response_d from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -394,7 +394,7 @@ from sailpoint.v2025.models.access_request_recommendation_item_detail import Acc from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -472,7 +472,7 @@ from sailpoint.v2025.models.access_request_recommendation_config_dto import Acce from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -547,7 +547,7 @@ from sailpoint.v2025.models.access_request_recommendation_action_item_response_d from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -628,7 +628,7 @@ from sailpoint.v2025.models.access_request_recommendation_action_item_response_d from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -709,7 +709,7 @@ from sailpoint.v2025.models.access_request_recommendation_action_item_response_d from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -786,7 +786,7 @@ from sailpoint.v2025.models.access_request_recommendation_config_dto import Acce from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') diff --git a/docs/tools/sdk/python/Reference/V2025/Methods/IAICommonAccessApi.md b/docs/tools/sdk/python/Reference/V2025/Methods/IAICommonAccessApi.md index febaf3831..34bc9f4c2 100644 --- a/docs/tools/sdk/python/Reference/V2025/Methods/IAICommonAccessApi.md +++ b/docs/tools/sdk/python/Reference/V2025/Methods/IAICommonAccessApi.md @@ -71,7 +71,7 @@ from sailpoint.v2025.models.common_access_item_response import CommonAccessItemR from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -156,7 +156,7 @@ from sailpoint.v2025.models.common_access_response import CommonAccessResponse from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -233,7 +233,7 @@ from sailpoint.v2025.models.common_access_id_status import CommonAccessIDStatus from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') diff --git a/docs/tools/sdk/python/Reference/V2025/Methods/IAIOutliersApi.md b/docs/tools/sdk/python/Reference/V2025/Methods/IAIOutliersApi.md index d87fda828..f342c9071 100644 --- a/docs/tools/sdk/python/Reference/V2025/Methods/IAIOutliersApi.md +++ b/docs/tools/sdk/python/Reference/V2025/Methods/IAIOutliersApi.md @@ -78,7 +78,7 @@ from sailpoint.v2025.api_client import ApiClient from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -155,7 +155,7 @@ from sailpoint.v2025.models.outlier_summary import OutlierSummary from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -237,7 +237,7 @@ from sailpoint.v2025.models.outlier import Outlier from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -316,7 +316,7 @@ from sailpoint.v2025.models.latest_outlier_summary import LatestOutlierSummary from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -393,7 +393,7 @@ from sailpoint.v2025.models.outlier_feature_summary import OutlierFeatureSummary from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: outlier_feature_id = '04654b66-7561-4090-94f9-abee0722a1af' # str | Contributing feature id # str | Contributing feature id @@ -474,7 +474,7 @@ from sailpoint.v2025.models.outlier_contributing_feature import OutlierContribut from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: outlier_id = '2c918085842e69ae018432d22ccb212f' # str | The outlier id # str | The outlier id @@ -551,7 +551,7 @@ from sailpoint.v2025.api_client import ApiClient from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -631,7 +631,7 @@ from sailpoint.v2025.models.outliers_contributing_feature_access_items import Ou from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: outlier_id = '2c918085842e69ae018432d22ccb212f' # str | The outlier id # str | The outlier id @@ -709,7 +709,7 @@ from sailpoint.v2025.api_client import ApiClient from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') diff --git a/docs/tools/sdk/python/Reference/V2025/Methods/IAIPeerGroupStrategiesApi.md b/docs/tools/sdk/python/Reference/V2025/Methods/IAIPeerGroupStrategiesApi.md index 15093b5d7..36f366065 100644 --- a/docs/tools/sdk/python/Reference/V2025/Methods/IAIPeerGroupStrategiesApi.md +++ b/docs/tools/sdk/python/Reference/V2025/Methods/IAIPeerGroupStrategiesApi.md @@ -74,7 +74,7 @@ from sailpoint.v2025.models.peer_group_member import PeerGroupMember from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True 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. diff --git a/docs/tools/sdk/python/Reference/V2025/Methods/IAIRecommendationsApi.md b/docs/tools/sdk/python/Reference/V2025/Methods/IAIRecommendationsApi.md index 84995152d..942621bbc 100644 --- a/docs/tools/sdk/python/Reference/V2025/Methods/IAIRecommendationsApi.md +++ b/docs/tools/sdk/python/Reference/V2025/Methods/IAIRecommendationsApi.md @@ -71,7 +71,7 @@ from sailpoint.v2025.models.recommendation_response_dto import RecommendationRes from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -160,7 +160,7 @@ from sailpoint.v2025.models.recommendation_config_dto import RecommendationConfi from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -231,7 +231,7 @@ from sailpoint.v2025.models.recommendation_config_dto import RecommendationConfi from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') diff --git a/docs/tools/sdk/python/Reference/V2025/Methods/IAIRoleMiningApi.md b/docs/tools/sdk/python/Reference/V2025/Methods/IAIRoleMiningApi.md index 16696cd70..0059be7cf 100644 --- a/docs/tools/sdk/python/Reference/V2025/Methods/IAIRoleMiningApi.md +++ b/docs/tools/sdk/python/Reference/V2025/Methods/IAIRoleMiningApi.md @@ -97,7 +97,7 @@ from sailpoint.v2025.models.role_mining_potential_role_summary import RoleMining from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: session_id = '8c190e67-87aa-4ed9-a90b-d9d5344523fb' # str | The role mining session id # str | The role mining session id @@ -180,7 +180,7 @@ from sailpoint.v2025.models.role_mining_session_response import RoleMiningSessio from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -283,7 +283,7 @@ from sailpoint.v2025.api_client import ApiClient from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: session_id = '8c190e67-87aa-4ed9-a90b-d9d5344523fb' # str | The role mining session id # str | The role mining session id @@ -356,7 +356,7 @@ from sailpoint.v2025.api_client import ApiClient from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: session_id = '8c190e67-87aa-4ed9-a90b-d9d5344523fb' # str | The role mining session id # str | The role mining session id @@ -431,7 +431,7 @@ from sailpoint.v2025.models.role_mining_potential_role_export_response import Ro from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: session_id = '8c190e67-87aa-4ed9-a90b-d9d5344523fb' # str | The role mining session id # str | The role mining session id @@ -509,7 +509,7 @@ from sailpoint.v2025.models.role_mining_potential_role_export_response import Ro from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: session_id = '8c190e67-87aa-4ed9-a90b-d9d5344523fb' # str | The role mining session id # str | The role mining session id @@ -587,7 +587,7 @@ from sailpoint.v2025.models.role_mining_potential_role_summary import RoleMining from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -664,7 +664,7 @@ from sailpoint.v2025.api_client import ApiClient from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: session_id = '8c190e67-87aa-4ed9-a90b-d9d5344523fb' # str | The role mining session id # str | The role mining session id @@ -745,7 +745,7 @@ from sailpoint.v2025.models.role_mining_entitlement import RoleMiningEntitlement from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: session_id = '8c190e67-87aa-4ed9-a90b-d9d5344523fb' # str | The role mining session id # str | The role mining session id @@ -830,7 +830,7 @@ from sailpoint.v2025.models.role_mining_entitlement import RoleMiningEntitlement from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: session_id = '8c190e67-87aa-4ed9-a90b-d9d5344523fb' # str | The role mining session id # str | The role mining session id @@ -914,7 +914,7 @@ from sailpoint.v2025.models.role_mining_identity import RoleMiningIdentity from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: session_id = '8c190e67-87aa-4ed9-a90b-d9d5344523fb' # str | The role mining session id # str | The role mining session id @@ -994,7 +994,7 @@ from sailpoint.v2025.models.role_mining_potential_role import RoleMiningPotentia from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: session_id = '8c190e67-87aa-4ed9-a90b-d9d5344523fb' # str | The role mining session id # str | The role mining session id @@ -1072,7 +1072,7 @@ from sailpoint.v2025.models.role_mining_potential_role_application import RoleMi from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: session_id = '8c190e67-87aa-4ed9-a90b-d9d5344523fb' # str | The role mining session id # str | The role mining session id @@ -1155,7 +1155,7 @@ from sailpoint.v2025.models.role_mining_potential_role_entitlements import RoleM from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: session_id = '8c190e67-87aa-4ed9-a90b-d9d5344523fb' # str | The role mining session id # str | The role mining session id @@ -1238,7 +1238,7 @@ from sailpoint.v2025.models.role_mining_potential_role_source_usage import RoleM from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: potential_role_id = 'e0cc5d7d-bf7f-4f81-b2af-8885b09d9923' # str | A potential role id # str | A potential role id @@ -1321,7 +1321,7 @@ from sailpoint.v2025.models.role_mining_potential_role_summary import RoleMining from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: session_id = '8c190e67-87aa-4ed9-a90b-d9d5344523fb' # str | The role mining session id # str | The role mining session id @@ -1399,7 +1399,7 @@ from sailpoint.v2025.models.role_mining_potential_role import RoleMiningPotentia from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: potential_role_id = '8c190e67-87aa-4ed9-a90b-d9d5344523fb' # str | A potential role id # str | A potential role id @@ -1472,7 +1472,7 @@ from sailpoint.v2025.models.role_mining_session_response import RoleMiningSessio from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: session_id = '8c190e67-87aa-4ed9-a90b-d9d5344523fb' # str | The role mining session id to be retrieved. # str | The role mining session id to be retrieved. @@ -1543,7 +1543,7 @@ from sailpoint.v2025.models.role_mining_session_status import RoleMiningSessionS from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: session_id = '8c190e67-87aa-4ed9-a90b-d9d5344523fb' # str | The role mining session id # str | The role mining session id @@ -1619,7 +1619,7 @@ from sailpoint.v2025.models.role_mining_session_dto import RoleMiningSessionDto from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -1699,7 +1699,7 @@ from sailpoint.v2025.models.role_mining_session_draft_role_dto import RoleMining from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -1790,7 +1790,7 @@ from sailpoint.v2025.models.patch_potential_role_request_inner import PatchPoten from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: session_id = '8c190e67-87aa-4ed9-a90b-d9d5344523fb' # str | The role mining session id # str | The role mining session id @@ -1879,7 +1879,7 @@ from sailpoint.v2025.models.patch_potential_role_request_inner import PatchPoten from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: session_id = '8c190e67-87aa-4ed9-a90b-d9d5344523fb' # str | The role mining session id # str | The role mining session id @@ -1955,7 +1955,7 @@ from sailpoint.v2025.models.json_patch_operation import JsonPatchOperation from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: session_id = '8c190e67-87aa-4ed9-a90b-d9d5344523fb' # str | The role mining session id to be patched # str | The role mining session id to be patched @@ -2030,7 +2030,7 @@ from sailpoint.v2025.models.role_mining_potential_role_edit_entitlements import from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: session_id = '8c190e67-87aa-4ed9-a90b-d9d5344523fb' # str | The role mining session id # str | The role mining session id diff --git a/docs/tools/sdk/python/Reference/V2025/Methods/IconsApi.md b/docs/tools/sdk/python/Reference/V2025/Methods/IconsApi.md index 0eefeba15..fb75615e3 100644 --- a/docs/tools/sdk/python/Reference/V2025/Methods/IconsApi.md +++ b/docs/tools/sdk/python/Reference/V2025/Methods/IconsApi.md @@ -72,7 +72,7 @@ from sailpoint.v2025.api_client import ApiClient from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: object_type = 'application' # str | Object type. Available options ['application'] # str | Object type. Available options ['application'] @@ -146,7 +146,7 @@ from sailpoint.v2025.models.set_icon200_response import SetIcon200Response from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: object_type = 'application' # str | Object type. Available options ['application'] # str | Object type. Available options ['application'] diff --git a/docs/tools/sdk/python/Reference/V2025/Methods/IdentitiesApi.md b/docs/tools/sdk/python/Reference/V2025/Methods/IdentitiesApi.md index 748eeec82..79ca2ed87 100644 --- a/docs/tools/sdk/python/Reference/V2025/Methods/IdentitiesApi.md +++ b/docs/tools/sdk/python/Reference/V2025/Methods/IdentitiesApi.md @@ -93,7 +93,7 @@ from sailpoint.v2025.api_client import ApiClient from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: id = 'ef38f94347e94562b5bb8424a56397d8' # str | Identity Id # str | Identity Id @@ -164,7 +164,7 @@ from sailpoint.v2025.models.identity import Identity from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: id = 'ef38f94347e94562b5bb8424a56397d8' # str | Identity Id # str | Identity Id @@ -239,7 +239,7 @@ from sailpoint.v2025.models.identity_ownership_association_details import Identi from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: identity_id = 'ff8081814d2a8036014d701f3fbf53fa' # str | Identity ID. # str | Identity ID. @@ -313,7 +313,7 @@ from sailpoint.v2025.models.role_assignment_dto import RoleAssignmentDto from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: identity_id = 'ef38f94347e94562b5bb8424a56397d8' # str | Identity Id # str | Identity Id @@ -389,7 +389,7 @@ from sailpoint.v2025.models.get_role_assignments200_response_inner import GetRol from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: identity_id = 'ef38f94347e94562b5bb8424a56397d8' # str | Identity Id to get the role assignments for # str | Identity Id to get the role assignments for @@ -469,7 +469,7 @@ from sailpoint.v2025.models.identity import Identity from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -547,7 +547,7 @@ from sailpoint.v2025.api_client import ApiClient from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: identity_id = 'ef38f94347e94562b5bb8424a56397d8' # str | Identity Id # str | Identity Id @@ -620,7 +620,7 @@ from sailpoint.v2025.models.send_account_verification_request import SendAccount from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -701,7 +701,7 @@ from sailpoint.v2025.models.task_status import TaskStatus from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -785,7 +785,7 @@ from sailpoint.v2025.models.task_result_response import TaskResultResponse from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -860,7 +860,7 @@ from sailpoint.v2025.models.identity_sync_job import IdentitySyncJob from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: identity_id = 'identity_id_example' # str | The Identity id # str | The Identity id diff --git a/docs/tools/sdk/python/Reference/V2025/Methods/IdentityAttributesApi.md b/docs/tools/sdk/python/Reference/V2025/Methods/IdentityAttributesApi.md index 9c850deaa..51bb8907b 100644 --- a/docs/tools/sdk/python/Reference/V2025/Methods/IdentityAttributesApi.md +++ b/docs/tools/sdk/python/Reference/V2025/Methods/IdentityAttributesApi.md @@ -74,7 +74,7 @@ from sailpoint.v2025.models.identity_attribute import IdentityAttribute from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -167,7 +167,7 @@ from sailpoint.v2025.api_client import ApiClient from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: name = 'displayName' # str | The attribute's technical name. # str | The attribute's technical name. @@ -238,7 +238,7 @@ from sailpoint.v2025.models.identity_attribute_names import IdentityAttributeNam from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -311,7 +311,7 @@ from sailpoint.v2025.models.identity_attribute import IdentityAttribute from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: name = 'displayName' # str | The attribute's technical name. # str | The attribute's technical name. @@ -386,7 +386,7 @@ from sailpoint.v2025.models.identity_attribute import IdentityAttribute from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -464,7 +464,7 @@ from sailpoint.v2025.models.identity_attribute import IdentityAttribute from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: name = 'displayName' # str | The attribute's technical name. # str | The attribute's technical name. diff --git a/docs/tools/sdk/python/Reference/V2025/Methods/IdentityHistoryApi.md b/docs/tools/sdk/python/Reference/V2025/Methods/IdentityHistoryApi.md index 389f83945..c264e88f4 100644 --- a/docs/tools/sdk/python/Reference/V2025/Methods/IdentityHistoryApi.md +++ b/docs/tools/sdk/python/Reference/V2025/Methods/IdentityHistoryApi.md @@ -84,7 +84,7 @@ from sailpoint.v2025.models.identity_compare_response import IdentityCompareResp from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: id = '8c190e6787aa4ed9a90bd9d5344523fb' # str | The identity id # str | The identity id @@ -170,7 +170,7 @@ from sailpoint.v2025.models.access_item_diff import AccessItemDiff from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: id = '8c190e6787aa4ed9a90bd9d5344523fb' # str | The identity id # str | The identity id @@ -250,7 +250,7 @@ from sailpoint.v2025.models.identity_history_response import IdentityHistoryResp from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: id = '8c190e6787aa4ed9a90bd9d5344523fb' # str | The identity id # str | The identity id @@ -329,7 +329,7 @@ from sailpoint.v2025.models.get_historical_identity_events200_response_inner imp from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: id = '8c190e6787aa4ed9a90bd9d5344523fb' # str | The identity id # str | The identity id @@ -409,7 +409,7 @@ from sailpoint.v2025.models.identity_history_response import IdentityHistoryResp from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: id = '8c190e6787aa4ed9a90bd9d5344523fb' # str | The identity id # str | The identity id @@ -488,7 +488,7 @@ from sailpoint.v2025.models.metric_response import MetricResponse from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: id = '8c190e6787aa4ed9a90bd9d5344523fb' # str | The identity id # str | The identity id @@ -566,7 +566,7 @@ from sailpoint.v2025.api_client import ApiClient from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: id = '8c190e6787aa4ed9a90bd9d5344523fb' # str | The identity id # str | The identity id @@ -642,7 +642,7 @@ from sailpoint.v2025.models.identity_list_item import IdentityListItem from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -725,7 +725,7 @@ from sailpoint.v2025.models.list_identity_access_items200_response_inner import from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: id = '8c190e6787aa4ed9a90bd9d5344523fb' # str | The identity id # str | The identity id @@ -804,7 +804,7 @@ from sailpoint.v2025.models.list_identity_access_items200_response_inner import from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: id = '8c190e6787aa4ed9a90bd9d5344523fb' # str | The identity id # str | The identity id @@ -884,7 +884,7 @@ from sailpoint.v2025.models.identity_snapshot_summary_response import IdentitySn from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: id = '8c190e6787aa4ed9a90bd9d5344523fb' # str | The identity id # str | The identity id diff --git a/docs/tools/sdk/python/Reference/V2025/Methods/IdentityProfilesApi.md b/docs/tools/sdk/python/Reference/V2025/Methods/IdentityProfilesApi.md index 7c20e9f5d..2194e9232 100644 --- a/docs/tools/sdk/python/Reference/V2025/Methods/IdentityProfilesApi.md +++ b/docs/tools/sdk/python/Reference/V2025/Methods/IdentityProfilesApi.md @@ -384,7 +384,7 @@ from sailpoint.v2025.models.identity_preview_response import IdentityPreviewResp from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') diff --git a/docs/tools/sdk/python/Reference/V2025/Methods/MachineAccountsApi.md b/docs/tools/sdk/python/Reference/V2025/Methods/MachineAccountsApi.md index 2232330ef..b7a7c0978 100644 --- a/docs/tools/sdk/python/Reference/V2025/Methods/MachineAccountsApi.md +++ b/docs/tools/sdk/python/Reference/V2025/Methods/MachineAccountsApi.md @@ -71,7 +71,7 @@ from sailpoint.v2025.models.machine_account import MachineAccount from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: id = 'ef38f94347e94562b5bb8424a56397d8' # str | Machine Account ID. # str | Machine Account ID. @@ -148,7 +148,7 @@ from sailpoint.v2025.models.machine_account import MachineAccount from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -228,7 +228,7 @@ from sailpoint.v2025.models.machine_account import MachineAccount from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: id = 'ef38f94347e94562b5bb8424a56397d8' # str | Machine Account ID. # str | Machine Account ID. diff --git a/docs/tools/sdk/python/Reference/V2025/Methods/MachineIdentitiesApi.md b/docs/tools/sdk/python/Reference/V2025/Methods/MachineIdentitiesApi.md index 0a2db8c3e..d6fb93287 100644 --- a/docs/tools/sdk/python/Reference/V2025/Methods/MachineIdentitiesApi.md +++ b/docs/tools/sdk/python/Reference/V2025/Methods/MachineIdentitiesApi.md @@ -74,7 +74,7 @@ from sailpoint.v2025.models.machine_identity import MachineIdentity from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -155,7 +155,7 @@ from sailpoint.v2025.api_client import ApiClient from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: id = 'ef38f94347e94562b5bb8424a56397d8' # str | Machine Identity ID # str | Machine Identity ID @@ -226,7 +226,7 @@ from sailpoint.v2025.models.machine_identity import MachineIdentity from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: id = 'ef38f94347e94562b5bb8424a56397d8' # str | Machine Identity ID # str | Machine Identity ID @@ -303,7 +303,7 @@ from sailpoint.v2025.models.machine_identity import MachineIdentity from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -383,7 +383,7 @@ from sailpoint.v2025.models.machine_identity import MachineIdentity from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: id = 'ef38f94347e94562b5bb8424a56397d8' # str | Machine Identity ID. # str | Machine Identity ID. diff --git a/docs/tools/sdk/python/Reference/V2025/Methods/NotificationsApi.md b/docs/tools/sdk/python/Reference/V2025/Methods/NotificationsApi.md index cf94205a0..f1220d285 100644 --- a/docs/tools/sdk/python/Reference/V2025/Methods/NotificationsApi.md +++ b/docs/tools/sdk/python/Reference/V2025/Methods/NotificationsApi.md @@ -84,7 +84,7 @@ from sailpoint.v2025.models.domain_status_dto import DomainStatusDto from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -160,7 +160,7 @@ from sailpoint.v2025.models.template_dto import TemplateDto from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -249,7 +249,7 @@ from sailpoint.v2025.models.email_status_dto import EmailStatusDto from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -326,7 +326,7 @@ from sailpoint.v2025.models.template_bulk_delete_dto import TemplateBulkDeleteDt from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -396,7 +396,7 @@ from sailpoint.v2025.api_client import ApiClient from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: id = 'id_example' # str | # str | @@ -465,7 +465,7 @@ from sailpoint.v2025.models.dkim_attributes import DkimAttributes from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -537,7 +537,7 @@ from sailpoint.v2025.models.mail_from_attributes import MailFromAttributes from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: id = 'bobsmith@sailpoint.com' # str | Returns the MX and TXT record to be put in your DNS, as well as the MAIL FROM domain status # str | Returns the MX and TXT record to be put in your DNS, as well as the MAIL FROM domain status @@ -609,7 +609,7 @@ from sailpoint.v2025.models.template_dto import TemplateDto from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: id = 'c17bea3a-574d-453c-9e04-4365fbf5af0b' # str | Id of the Notification Template # str | Id of the Notification Template @@ -681,7 +681,7 @@ from sailpoint.v2025.models.notification_template_context import NotificationTem from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -755,7 +755,7 @@ from sailpoint.v2025.models.email_status_dto import EmailStatusDto from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -832,7 +832,7 @@ from sailpoint.v2025.models.preferences_dto import PreferencesDto from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -905,7 +905,7 @@ from sailpoint.v2025.models.template_dto_default import TemplateDtoDefault from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -982,7 +982,7 @@ from sailpoint.v2025.models.template_dto import TemplateDto from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -1058,7 +1058,7 @@ from sailpoint.v2025.models.mail_from_attributes_dto import MailFromAttributesDt from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -1134,7 +1134,7 @@ from sailpoint.v2025.models.send_test_notification_request_dto import SendTestNo from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') diff --git a/docs/tools/sdk/python/Reference/V2025/Methods/OrgConfigApi.md b/docs/tools/sdk/python/Reference/V2025/Methods/OrgConfigApi.md index 2fc2a20af..442fbc13b 100644 --- a/docs/tools/sdk/python/Reference/V2025/Methods/OrgConfigApi.md +++ b/docs/tools/sdk/python/Reference/V2025/Methods/OrgConfigApi.md @@ -72,7 +72,7 @@ from sailpoint.v2025.models.org_config import OrgConfig from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -144,7 +144,7 @@ from sailpoint.v2025.api_client import ApiClient from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -221,7 +221,7 @@ from sailpoint.v2025.models.org_config import OrgConfig from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') diff --git a/docs/tools/sdk/python/Reference/V2025/Methods/PasswordManagementApi.md b/docs/tools/sdk/python/Reference/V2025/Methods/PasswordManagementApi.md index e217f8d7d..93cd668f0 100644 --- a/docs/tools/sdk/python/Reference/V2025/Methods/PasswordManagementApi.md +++ b/docs/tools/sdk/python/Reference/V2025/Methods/PasswordManagementApi.md @@ -96,7 +96,7 @@ from sailpoint.v2025.models.password_digit_token_reset import PasswordDigitToken from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') diff --git a/docs/tools/sdk/python/Reference/V2025/Methods/RoleInsightsApi.md b/docs/tools/sdk/python/Reference/V2025/Methods/RoleInsightsApi.md index 73536c434..ebaa1de10 100644 --- a/docs/tools/sdk/python/Reference/V2025/Methods/RoleInsightsApi.md +++ b/docs/tools/sdk/python/Reference/V2025/Methods/RoleInsightsApi.md @@ -78,7 +78,7 @@ from sailpoint.v2025.models.role_insights_response import RoleInsightsResponse from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -149,7 +149,7 @@ from sailpoint.v2025.api_client import ApiClient from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: insight_id = '8c190e67-87aa-4ed9-a90b-d9d5344523fb' # str | The role insight id # str | The role insight id @@ -229,7 +229,7 @@ from sailpoint.v2025.models.role_insights_identities import RoleInsightsIdentiti from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: insight_id = '8c190e67-87aa-4ed9-a90b-d9d5344523fb' # str | The role insight id # str | The role insight id @@ -308,7 +308,7 @@ from sailpoint.v2025.models.role_insight import RoleInsight from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: insight_id = '8c190e67-87aa-4ed9-a90b-d9d5344523fb' # str | The role insight id # str | The role insight id @@ -383,7 +383,7 @@ from sailpoint.v2025.models.role_insight import RoleInsight from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -460,7 +460,7 @@ from sailpoint.v2025.models.role_insights_entitlement import RoleInsightsEntitle from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: insight_id = '8c190e67-87aa-4ed9-a90b-d9d5344523fb' # str | The role insight id # str | The role insight id @@ -535,7 +535,7 @@ from sailpoint.v2025.models.role_insights_entitlement_changes import RoleInsight from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: insight_id = '8c190e67-87aa-4ed9-a90b-d9d5344523fb' # str | The role insight id # str | The role insight id @@ -613,7 +613,7 @@ from sailpoint.v2025.models.role_insights_response import RoleInsightsResponse from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: id = '8c190e67-87aa-4ed9-a90b-d9d5344523fb' # str | The role insights request id # str | The role insights request id @@ -683,7 +683,7 @@ from sailpoint.v2025.models.role_insights_summary import RoleInsightsSummary from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') diff --git a/docs/tools/sdk/python/Reference/V2025/Methods/RolesApi.md b/docs/tools/sdk/python/Reference/V2025/Methods/RolesApi.md index 40c24cab7..6eca10a82 100644 --- a/docs/tools/sdk/python/Reference/V2025/Methods/RolesApi.md +++ b/docs/tools/sdk/python/Reference/V2025/Methods/RolesApi.md @@ -770,7 +770,7 @@ from sailpoint.v2025.models.entitlement import Entitlement from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: id = '2c91808a7813090a017814121919ecca' # str | Containing role's ID. # str | Containing role's ID. diff --git a/docs/tools/sdk/python/Reference/V2025/Methods/SIMIntegrationsApi.md b/docs/tools/sdk/python/Reference/V2025/Methods/SIMIntegrationsApi.md index 8e6a3345e..d70668deb 100644 --- a/docs/tools/sdk/python/Reference/V2025/Methods/SIMIntegrationsApi.md +++ b/docs/tools/sdk/python/Reference/V2025/Methods/SIMIntegrationsApi.md @@ -83,7 +83,7 @@ from sailpoint.v2025.models.sim_integration_details import SimIntegrationDetails from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -172,7 +172,7 @@ from sailpoint.v2025.api_client import ApiClient from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: id = '12345' # str | The id of the integration to delete. # str | The id of the integration to delete. @@ -243,7 +243,7 @@ from sailpoint.v2025.models.service_desk_integration_dto import ServiceDeskInteg from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: id = '12345' # str | The id of the integration. # str | The id of the integration. @@ -315,7 +315,7 @@ from sailpoint.v2025.models.service_desk_integration_dto import ServiceDeskInteg from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -390,7 +390,7 @@ from sailpoint.v2025.models.service_desk_integration_dto import ServiceDeskInteg from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: id = '12345' # str | SIM integration id # str | SIM integration id @@ -476,7 +476,7 @@ from sailpoint.v2025.models.service_desk_integration_dto import ServiceDeskInteg from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: id = '12345' # str | SIM integration id # str | SIM integration id @@ -562,7 +562,7 @@ from sailpoint.v2025.models.sim_integration_details import SimIntegrationDetails from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: id = '12345' # str | The id of the integration. # str | The id of the integration. diff --git a/docs/tools/sdk/python/Reference/V2025/Methods/SearchAttributeConfigurationApi.md b/docs/tools/sdk/python/Reference/V2025/Methods/SearchAttributeConfigurationApi.md index 88b772262..5ed54960c 100644 --- a/docs/tools/sdk/python/Reference/V2025/Methods/SearchAttributeConfigurationApi.md +++ b/docs/tools/sdk/python/Reference/V2025/Methods/SearchAttributeConfigurationApi.md @@ -92,7 +92,7 @@ from sailpoint.v2025.models.search_attribute_config import SearchAttributeConfig from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -170,7 +170,7 @@ from sailpoint.v2025.api_client import ApiClient from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: name = 'newMailAttribute' # str | Name of the extended search attribute configuration to delete. # str | Name of the extended search attribute configuration to delete. @@ -241,7 +241,7 @@ from sailpoint.v2025.models.search_attribute_config import SearchAttributeConfig from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -316,7 +316,7 @@ from sailpoint.v2025.models.search_attribute_config import SearchAttributeConfig from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: name = 'newMailAttribute' # str | Name of the extended search attribute configuration to get. # str | Name of the extended search attribute configuration to get. @@ -393,7 +393,7 @@ from sailpoint.v2025.models.search_attribute_config import SearchAttributeConfig from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: name = 'promotedMailAttribute' # str | Name of the search attribute configuration to patch. # str | Name of the search attribute configuration to patch. diff --git a/docs/tools/sdk/python/Reference/V2025/Methods/SourcesApi.md b/docs/tools/sdk/python/Reference/V2025/Methods/SourcesApi.md index 6522af83d..63e94ef60 100644 --- a/docs/tools/sdk/python/Reference/V2025/Methods/SourcesApi.md +++ b/docs/tools/sdk/python/Reference/V2025/Methods/SourcesApi.md @@ -546,7 +546,7 @@ from sailpoint.v2025.models.task_result_dto import TaskResultDto from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: id = 'ebbf35756e1140699ce52b233121384a' # str | The source id # str | The source id @@ -618,7 +618,7 @@ from sailpoint.v2025.api_client import ApiClient from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: id = '2c9180835d191a86015d28455b4a2329' # str | The source id # str | The source id @@ -1100,7 +1100,7 @@ from sailpoint.v2025.models.native_change_detection_config import NativeChangeDe from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: id = '2c9180835d191a86015d28455b4a2329' # str | The source id # str | The source id @@ -1294,7 +1294,7 @@ from sailpoint.v2025.models.attr_sync_source_config import AttrSyncSourceConfig from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: id = '2c9180835d191a86015d28455b4a2329' # str | The source id # str | The source id @@ -1489,7 +1489,7 @@ from sailpoint.v2025.models.source_entitlement_request_config import SourceEntit from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -1879,7 +1879,7 @@ from sailpoint.v2025.models.load_accounts_task import LoadAccountsTask from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: id = 'ef38f94347e94562b5bb8424a56397d8' # str | Source Id # str | Source Id @@ -2148,7 +2148,7 @@ from sailpoint.v2025.models.load_uncorrelated_accounts_task import LoadUncorrela from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: id = '75dbec1ebe154d5785da27b95e1dd5d7' # str | Source Id # str | Source Id @@ -2495,7 +2495,7 @@ from sailpoint.v2025.models.native_change_detection_config import NativeChangeDe from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: id = '2c9180835d191a86015d28455b4a2329' # str | The source id # str | The source id @@ -2838,7 +2838,7 @@ from sailpoint.v2025.models.attr_sync_source_config import AttrSyncSourceConfig from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: id = '2c9180835d191a86015d28455b4a2329' # str | The source id # str | The source id @@ -3067,7 +3067,7 @@ from sailpoint.v2025.models.source_sync_job import SourceSyncJob from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: id = 'id_example' # str | The Source id # str | The Source id @@ -3531,7 +3531,7 @@ from sailpoint.v2025.models.source_entitlement_request_config import SourceEntit from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') diff --git a/docs/tools/sdk/python/Reference/V2025/Methods/TaskManagementApi.md b/docs/tools/sdk/python/Reference/V2025/Methods/TaskManagementApi.md index f241a3c72..513b2ea5c 100644 --- a/docs/tools/sdk/python/Reference/V2025/Methods/TaskManagementApi.md +++ b/docs/tools/sdk/python/Reference/V2025/Methods/TaskManagementApi.md @@ -74,7 +74,7 @@ from sailpoint.v2025.api_client import ApiClient from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -149,7 +149,7 @@ from sailpoint.v2025.models.task_status import TaskStatus from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -225,7 +225,7 @@ from sailpoint.v2025.models.task_status import TaskStatus from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: id = '00eebcf881994e419d72e757fd30dc0e' # str | Task ID. # str | Task ID. @@ -303,7 +303,7 @@ from sailpoint.v2025.models.task_status import TaskStatus from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -383,7 +383,7 @@ from sailpoint.v2025.models.task_status import TaskStatus from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: id = '00eebcf881994e419d72e757fd30dc0e' # str | Task ID. # str | Task ID. diff --git a/docs/tools/sdk/python/Reference/V2025/Methods/TenantContextApi.md b/docs/tools/sdk/python/Reference/V2025/Methods/TenantContextApi.md index b9e35c288..8b44de4b4 100644 --- a/docs/tools/sdk/python/Reference/V2025/Methods/TenantContextApi.md +++ b/docs/tools/sdk/python/Reference/V2025/Methods/TenantContextApi.md @@ -71,7 +71,7 @@ from sailpoint.v2025.models.get_tenant_context200_response_inner import GetTenan from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -149,7 +149,7 @@ from sailpoint.v2025.models.json_patch_operation import JsonPatchOperation from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') diff --git a/docs/tools/sdk/python/Reference/V2025/Methods/TriggersApi.md b/docs/tools/sdk/python/Reference/V2025/Methods/TriggersApi.md index a05008a26..086216b16 100644 --- a/docs/tools/sdk/python/Reference/V2025/Methods/TriggersApi.md +++ b/docs/tools/sdk/python/Reference/V2025/Methods/TriggersApi.md @@ -119,7 +119,7 @@ from sailpoint.v2025.models.complete_invocation import CompleteInvocation from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: id = '0f11f2a4-7c94-4bf3-a2bd-742580fe3bde' # str | The ID of the invocation to complete. # str | The ID of the invocation to complete. @@ -199,7 +199,7 @@ from sailpoint.v2025.models.subscription_post_request import SubscriptionPostReq from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -295,7 +295,7 @@ from sailpoint.v2025.api_client import ApiClient from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: id = '0f11f2a4-7c94-4bf3-a2bd-742580fe3bde' # str | Subscription ID # str | Subscription ID @@ -369,7 +369,7 @@ from sailpoint.v2025.models.subscription import Subscription from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -452,7 +452,7 @@ from sailpoint.v2025.models.invocation_status import InvocationStatus from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -533,7 +533,7 @@ from sailpoint.v2025.models.trigger import Trigger from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -615,7 +615,7 @@ from sailpoint.v2025.models.subscription_patch_request_inner import Subscription from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: id = '0f11f2a4-7c94-4bf3-a2bd-742580fe3bde' # str | ID of the Subscription to patch # str | ID of the Subscription to patch @@ -690,7 +690,7 @@ from sailpoint.v2025.models.test_invocation import TestInvocation from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -774,7 +774,7 @@ from sailpoint.v2025.models.validate_filter_output_dto import ValidateFilterOutp from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -863,7 +863,7 @@ from sailpoint.v2025.models.subscription_put_request import SubscriptionPutReque from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: id = '0f11f2a4-7c94-4bf3-a2bd-742580fe3bde' # str | Subscription ID # str | Subscription ID diff --git a/docs/tools/sdk/python/Reference/V2025/Methods/UIMetadataApi.md b/docs/tools/sdk/python/Reference/V2025/Methods/UIMetadataApi.md index 3255901c7..bec17846b 100644 --- a/docs/tools/sdk/python/Reference/V2025/Methods/UIMetadataApi.md +++ b/docs/tools/sdk/python/Reference/V2025/Methods/UIMetadataApi.md @@ -70,7 +70,7 @@ from sailpoint.v2025.models.tenant_ui_metadata_item_response import TenantUiMeta from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -143,7 +143,7 @@ from sailpoint.v2025.models.tenant_ui_metadata_item_update_request import Tenant from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') diff --git a/docs/tools/sdk/python/Reference/V2025/Methods/WorkItemsApi.md b/docs/tools/sdk/python/Reference/V2025/Methods/WorkItemsApi.md index 0cc3a6ee2..439afdf2c 100644 --- a/docs/tools/sdk/python/Reference/V2025/Methods/WorkItemsApi.md +++ b/docs/tools/sdk/python/Reference/V2025/Methods/WorkItemsApi.md @@ -276,7 +276,7 @@ from sailpoint.v2025.models.work_item_forward import WorkItemForward from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: id = 'ef38f94347e94562b5bb8424a56397d8' # str | The ID of the work item # str | The ID of the work item @@ -414,7 +414,7 @@ from sailpoint.v2025.models.work_items_count import WorkItemsCount from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') diff --git a/docs/tools/sdk/python/Reference/V2025/Methods/WorkReassignmentApi.md b/docs/tools/sdk/python/Reference/V2025/Methods/WorkReassignmentApi.md index fa837f5b3..a3a234b3b 100644 --- a/docs/tools/sdk/python/Reference/V2025/Methods/WorkReassignmentApi.md +++ b/docs/tools/sdk/python/Reference/V2025/Methods/WorkReassignmentApi.md @@ -87,7 +87,7 @@ from sailpoint.v2025.models.configuration_item_response import ConfigurationItem from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -166,7 +166,7 @@ from sailpoint.v2025.models.config_type_enum import ConfigTypeEnum from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: identity_id = '2c91808781a71ddb0181b9090b5c504e' # str | unique identity id # str | unique identity id @@ -240,7 +240,7 @@ from sailpoint.v2025.models.evaluate_response import EvaluateResponse from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: identity_id = '2c91808781a71ddb0181b9090b5c504e' # str | unique identity id # str | unique identity id @@ -314,7 +314,7 @@ from sailpoint.v2025.models.config_type import ConfigType from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -387,7 +387,7 @@ from sailpoint.v2025.models.configuration_response import ConfigurationResponse from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: identity_id = '2c91808781a71ddb0181b9090b5c504f' # str | unique identity id # str | unique identity id @@ -459,7 +459,7 @@ from sailpoint.v2025.models.tenant_configuration_response import TenantConfigura from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -530,7 +530,7 @@ from sailpoint.v2025.models.configuration_response import ConfigurationResponse from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -604,7 +604,7 @@ from sailpoint.v2025.models.configuration_item_response import ConfigurationItem from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: identity_id = '2c91808781a71ddb0181b9090b5c504e' # str | unique identity id # str | unique identity id @@ -684,7 +684,7 @@ from sailpoint.v2025.models.tenant_configuration_response import TenantConfigura from sailpoint.configuration import Configuration configuration = Configuration() -configuration.experimental = true +configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') diff --git a/docs/tools/sdk/python/Reference/V2025/Models/AccountUsage.md b/docs/tools/sdk/python/Reference/V2025/Models/AccountUsage.md index 626e62e2b..8403e7986 100644 --- a/docs/tools/sdk/python/Reference/V2025/Models/AccountUsage.md +++ b/docs/tools/sdk/python/Reference/V2025/Models/AccountUsage.md @@ -26,7 +26,7 @@ Name | Type | Description | Notes from sailpoint.v2025.models.account_usage import AccountUsage account_usage = AccountUsage( -var_date='Fri Apr 21 00:00:00 UTC 2023', +var_date='Thu Apr 20 20:00:00 EDT 2023', count=10 ) diff --git a/docs/tools/sdk/python/Reference/V2025/Models/NonEmployeeRequestWithoutApprovalItem.md b/docs/tools/sdk/python/Reference/V2025/Models/NonEmployeeRequestWithoutApprovalItem.md index 33437e264..960d4b101 100644 --- a/docs/tools/sdk/python/Reference/V2025/Models/NonEmployeeRequestWithoutApprovalItem.md +++ b/docs/tools/sdk/python/Reference/V2025/Models/NonEmployeeRequestWithoutApprovalItem.md @@ -56,8 +56,8 @@ data={description=Auditing}, approval_status='APPROVED', comment='approved', completion_date='2020-03-24T11:11:41.139-05:00', -start_date='Tue Mar 24 00:00:00 UTC 2020', -end_date='Thu Mar 25 00:00:00 UTC 2021', +start_date='Mon Mar 23 20:00:00 EDT 2020', +end_date='Wed Mar 24 20:00:00 EDT 2021', modified='2020-03-24T11:11:41.139-05:00', created='2020-03-24T11:11:41.139-05:00' ) diff --git a/docs/tools/sdk/python/Reference/V2025/Models/SourceUsage.md b/docs/tools/sdk/python/Reference/V2025/Models/SourceUsage.md index 3091b3a26..3f731dad1 100644 --- a/docs/tools/sdk/python/Reference/V2025/Models/SourceUsage.md +++ b/docs/tools/sdk/python/Reference/V2025/Models/SourceUsage.md @@ -26,7 +26,7 @@ Name | Type | Description | Notes from sailpoint.v2025.models.source_usage import SourceUsage source_usage = SourceUsage( -var_date='Fri Apr 21 00:00:00 UTC 2023', +var_date='Thu Apr 20 20:00:00 EDT 2023', count=10.45 ) diff --git a/docs/tools/sdk/python/Reference/V3/Models/AccountUsage.md b/docs/tools/sdk/python/Reference/V3/Models/AccountUsage.md index 211d1a3d1..a1615a57b 100644 --- a/docs/tools/sdk/python/Reference/V3/Models/AccountUsage.md +++ b/docs/tools/sdk/python/Reference/V3/Models/AccountUsage.md @@ -26,7 +26,7 @@ Name | Type | Description | Notes from sailpoint.v3.models.account_usage import AccountUsage account_usage = AccountUsage( -var_date='Fri Apr 21 00:00:00 UTC 2023', +var_date='Thu Apr 20 20:00:00 EDT 2023', count=10 ) diff --git a/docs/tools/sdk/python/Reference/V3/Models/NonEmployeeRequestWithoutApprovalItem.md b/docs/tools/sdk/python/Reference/V3/Models/NonEmployeeRequestWithoutApprovalItem.md index 049a9aafe..a80904ad9 100644 --- a/docs/tools/sdk/python/Reference/V3/Models/NonEmployeeRequestWithoutApprovalItem.md +++ b/docs/tools/sdk/python/Reference/V3/Models/NonEmployeeRequestWithoutApprovalItem.md @@ -56,8 +56,8 @@ data={description=Auditing}, approval_status='APPROVED', comment='approved', completion_date='2020-03-24T11:11:41.139-05:00', -start_date='Tue Mar 24 00:00:00 UTC 2020', -end_date='Thu Mar 25 00:00:00 UTC 2021', +start_date='Mon Mar 23 20:00:00 EDT 2020', +end_date='Wed Mar 24 20:00:00 EDT 2021', modified='2020-03-24T11:11:41.139-05:00', created='2020-03-24T11:11:41.139-05:00' ) diff --git a/docs/tools/sdk/python/Reference/V3/Models/SourceUsage.md b/docs/tools/sdk/python/Reference/V3/Models/SourceUsage.md index 4d3443864..159a7ebe0 100644 --- a/docs/tools/sdk/python/Reference/V3/Models/SourceUsage.md +++ b/docs/tools/sdk/python/Reference/V3/Models/SourceUsage.md @@ -26,7 +26,7 @@ Name | Type | Description | Notes from sailpoint.v3.models.source_usage import SourceUsage source_usage = SourceUsage( -var_date='Fri Apr 21 00:00:00 UTC 2023', +var_date='Thu Apr 20 20:00:00 EDT 2023', count=10.45 ) diff --git a/static/code-examples/beta/python_code_examples_overlay.yaml b/static/code-examples/beta/python_code_examples_overlay.yaml index 07a699304..a14d2bfad 100644 --- a/static/code-examples/beta/python_code_examples_overlay.yaml +++ b/static/code-examples/beta/python_code_examples_overlay.yaml @@ -1082,36 +1082,6 @@ print(results.model_dump_json(by_alias=True, indent=4)) except Exception as e: print("Exception when calling AccountAggregationsApi->get_account_aggregation_status: %s\n" % e) -- path: /account-usages/{accountId}/summaries - method: GET - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/beta/methods/account-usages#get-usages-by-account-id - source: | - from sailpoint.beta.api.account_usages_api import AccountUsagesApi - from sailpoint.beta.api_client import ApiClient - from sailpoint.beta.models.account_usage import AccountUsage - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - account_id = 'ef38f94347e94562b5bb8424a56397d8' # str | ID of IDN account # str | ID of IDN account - 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) - offset = 0 # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) - count = False # bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to False) # bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to False) - sorters = '-date' # str | Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **date** (optional) # str | Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **date** (optional) - try: - # Returns account usage insights - - results = AccountUsagesApi(api_client).get_usages_by_account_id(account_id=account_id) - # Below is a request that includes all optional parameters - # results = AccountUsagesApi(api_client).get_usages_by_account_id(account_id, limit, offset, count, sorters) - print("The response of AccountUsagesApi->get_usages_by_account_id:\n") - for item in results: - print(item.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling AccountUsagesApi->get_usages_by_account_id: %s\n" % e) - path: /accounts method: POST xCodeSample: @@ -1564,6 +1534,36 @@ print(results.model_dump_json(by_alias=True, indent=4)) except Exception as e: print("Exception when calling AccountsApi->update_account: %s\n" % e) +- path: /account-usages/{accountId}/summaries + method: GET + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/beta/methods/account-usages#get-usages-by-account-id + source: | + from sailpoint.beta.api.account_usages_api import AccountUsagesApi + from sailpoint.beta.api_client import ApiClient + from sailpoint.beta.models.account_usage import AccountUsage + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + account_id = 'ef38f94347e94562b5bb8424a56397d8' # str | ID of IDN account # str | ID of IDN account + 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) + offset = 0 # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) + count = False # bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to False) # bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to False) + sorters = '-date' # str | Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **date** (optional) # str | Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **date** (optional) + try: + # Returns account usage insights + + results = AccountUsagesApi(api_client).get_usages_by_account_id(account_id=account_id) + # Below is a request that includes all optional parameters + # results = AccountUsagesApi(api_client).get_usages_by_account_id(account_id, limit, offset, count, sorters) + print("The response of AccountUsagesApi->get_usages_by_account_id:\n") + for item in results: + print(item.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling AccountUsagesApi->get_usages_by_account_id: %s\n" % e) - path: /discovered-applications/{id} method: GET xCodeSample: @@ -7862,6 +7862,196 @@ print(results.model_dump_json(by_alias=True, indent=4)) except Exception as e: print("Exception when calling LifecycleStatesApi->update_lifecycle_states: %s\n" % e) +- path: /managed-clients/{id}/status + method: GET + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/beta/methods/managed-clients#get-managed-client-status + source: | + from sailpoint.beta.api.managed_clients_api import ManagedClientsApi + from sailpoint.beta.api_client import ApiClient + from sailpoint.beta.models.managed_client_status import ManagedClientStatus + from sailpoint.beta.models.managed_client_type import ManagedClientType + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + id = 'aClientId' # str | ID of the Managed Client Status to get # str | ID of the Managed Client Status to get + type = sailpoint.beta.ManagedClientType() # ManagedClientType | Type of the Managed Client Status to get # ManagedClientType | Type of the Managed Client Status to get + try: + # Specified Managed Client Status. + + results = ManagedClientsApi(api_client).get_managed_client_status(id=id, type=type) + # Below is a request that includes all optional parameters + # results = ManagedClientsApi(api_client).get_managed_client_status(id, type) + print("The response of ManagedClientsApi->get_managed_client_status:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling ManagedClientsApi->get_managed_client_status: %s\n" % e) +- path: /managed-clients/{id}/status + method: POST + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/beta/methods/managed-clients#update-managed-client-status + source: | + from sailpoint.beta.api.managed_clients_api import ManagedClientsApi + from sailpoint.beta.api_client import ApiClient + from sailpoint.beta.models.managed_client_status import ManagedClientStatus + from sailpoint.beta.models.managed_client_status_agg_response import ManagedClientStatusAggResponse + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + id = 'aClientId' # str | ID of the Managed Client Status to update # str | ID of the Managed Client Status to update + managed_client_status = '''{ + "body" : { + "alertKey" : "", + "id" : "5678", + "clusterId" : "1234", + "ccg_etag" : "ccg_etag123xyz456", + "ccg_pin" : "NONE", + "cookbook_etag" : "20210420125956-20210511144538", + "hostname" : "megapod-useast1-secret-hostname.sailpoint.com", + "internal_ip" : "127.0.0.1", + "lastSeen" : "1620843964604", + "sinceSeen" : "14708", + "sinceSeenMillis" : "14708", + "localDev" : false, + "stacktrace" : "", + "status" : "NORMAL", + "product" : "idn", + "platform_version" : "2", + "os_version" : "2345.3.1", + "os_type" : "flatcar", + "hypervisor" : "unknown" + }, + "type" : "CCG", + "status" : "NORMAL", + "timestamp" : "2020-01-01T00:00:00Z" + }''' # ManagedClientStatus | + try: + # Handle status request from client + new_managed_client_status = ManagedClientStatus.from_json(managed_client_status) + results = ManagedClientsApi(api_client).update_managed_client_status(id=id, managed_client_status=new_managed_client_status) + # Below is a request that includes all optional parameters + # results = ManagedClientsApi(api_client).update_managed_client_status(id, new_managed_client_status) + print("The response of ManagedClientsApi->update_managed_client_status:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling ManagedClientsApi->update_managed_client_status: %s\n" % e) +- path: /managed-clusters/{id}/log-config + method: GET + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/beta/methods/managed-clusters#get-client-log-configuration + source: | + from sailpoint.beta.api.managed_clusters_api import ManagedClustersApi + from sailpoint.beta.api_client import ApiClient + from sailpoint.beta.models.client_log_configuration import ClientLogConfiguration + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + id = 'aClusterId' # str | ID of ManagedCluster to get log configuration for # str | ID of ManagedCluster to get log configuration for + try: + # Get managed cluster's log configuration + + results = ManagedClustersApi(api_client).get_client_log_configuration(id=id) + # Below is a request that includes all optional parameters + # results = ManagedClustersApi(api_client).get_client_log_configuration(id) + print("The response of ManagedClustersApi->get_client_log_configuration:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling ManagedClustersApi->get_client_log_configuration: %s\n" % e) +- path: /managed-clusters/{id} + method: GET + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/beta/methods/managed-clusters#get-managed-cluster + source: | + from sailpoint.beta.api.managed_clusters_api import ManagedClustersApi + from sailpoint.beta.api_client import ApiClient + from sailpoint.beta.models.managed_cluster import ManagedCluster + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + id = 'aClusterId' # str | ID of the ManagedCluster to get # str | ID of the ManagedCluster to get + try: + # Get a specified ManagedCluster. + + results = ManagedClustersApi(api_client).get_managed_cluster(id=id) + # Below is a request that includes all optional parameters + # results = ManagedClustersApi(api_client).get_managed_cluster(id) + print("The response of ManagedClustersApi->get_managed_cluster:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling ManagedClustersApi->get_managed_cluster: %s\n" % e) +- path: /managed-clusters + method: GET + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/beta/methods/managed-clusters#get-managed-clusters + source: | + from sailpoint.beta.api.managed_clusters_api import ManagedClustersApi + from sailpoint.beta.api_client import ApiClient + from sailpoint.beta.models.managed_cluster import ManagedCluster + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + offset = 0 # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) + 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) + count = False # bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to False) # bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to False) + filters = 'operational eq operation' # str | Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **operational**: *eq* (optional) # str | Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **operational**: *eq* (optional) + try: + # Retrieve all Managed Clusters. + + results = ManagedClustersApi(api_client).get_managed_clusters() + # Below is a request that includes all optional parameters + # results = ManagedClustersApi(api_client).get_managed_clusters(offset, limit, count, filters) + print("The response of ManagedClustersApi->get_managed_clusters:\n") + for item in results: + print(item.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling ManagedClustersApi->get_managed_clusters: %s\n" % e) +- path: /managed-clusters/{id}/log-config + method: PUT + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/beta/methods/managed-clusters#put-client-log-configuration + source: | + from sailpoint.beta.api.managed_clusters_api import ManagedClustersApi + from sailpoint.beta.api_client import ApiClient + from sailpoint.beta.models.client_log_configuration import ClientLogConfiguration + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + id = 'aClusterId' # str | ID of ManagedCluster to update log configuration for # str | ID of ManagedCluster to update log configuration for + client_log_configuration = '''{ + "durationMinutes" : 120, + "rootLevel" : "INFO", + "clientId" : "aClientId", + "expiration" : "2020-12-15T19:13:36.079Z", + "logLevels" : "INFO" + }''' # ClientLogConfiguration | ClientLogConfiguration for given ManagedCluster + try: + # Update managed cluster's log configuration + + results = ManagedClustersApi(api_client).put_client_log_configuration(id=id, client_log_configuration=new_client_log_configuration) + # Below is a request that includes all optional parameters + # results = ManagedClustersApi(api_client).put_client_log_configuration(id, new_client_log_configuration) + print("The response of ManagedClustersApi->put_client_log_configuration:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling ManagedClustersApi->put_client_log_configuration: %s\n" % e) - path: /mfa/{method}/delete method: DELETE xCodeSample: @@ -8250,196 +8440,6 @@ print(results.model_dump_json(by_alias=True, indent=4)) except Exception as e: print("Exception when calling MFAControllerApi->send_token_auth_request: %s\n" % e) -- path: /managed-clients/{id}/status - method: GET - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/beta/methods/managed-clients#get-managed-client-status - source: | - from sailpoint.beta.api.managed_clients_api import ManagedClientsApi - from sailpoint.beta.api_client import ApiClient - from sailpoint.beta.models.managed_client_status import ManagedClientStatus - from sailpoint.beta.models.managed_client_type import ManagedClientType - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - id = 'aClientId' # str | ID of the Managed Client Status to get # str | ID of the Managed Client Status to get - type = sailpoint.beta.ManagedClientType() # ManagedClientType | Type of the Managed Client Status to get # ManagedClientType | Type of the Managed Client Status to get - try: - # Specified Managed Client Status. - - results = ManagedClientsApi(api_client).get_managed_client_status(id=id, type=type) - # Below is a request that includes all optional parameters - # results = ManagedClientsApi(api_client).get_managed_client_status(id, type) - print("The response of ManagedClientsApi->get_managed_client_status:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling ManagedClientsApi->get_managed_client_status: %s\n" % e) -- path: /managed-clients/{id}/status - method: POST - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/beta/methods/managed-clients#update-managed-client-status - source: | - from sailpoint.beta.api.managed_clients_api import ManagedClientsApi - from sailpoint.beta.api_client import ApiClient - from sailpoint.beta.models.managed_client_status import ManagedClientStatus - from sailpoint.beta.models.managed_client_status_agg_response import ManagedClientStatusAggResponse - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - id = 'aClientId' # str | ID of the Managed Client Status to update # str | ID of the Managed Client Status to update - managed_client_status = '''{ - "body" : { - "alertKey" : "", - "id" : "5678", - "clusterId" : "1234", - "ccg_etag" : "ccg_etag123xyz456", - "ccg_pin" : "NONE", - "cookbook_etag" : "20210420125956-20210511144538", - "hostname" : "megapod-useast1-secret-hostname.sailpoint.com", - "internal_ip" : "127.0.0.1", - "lastSeen" : "1620843964604", - "sinceSeen" : "14708", - "sinceSeenMillis" : "14708", - "localDev" : false, - "stacktrace" : "", - "status" : "NORMAL", - "product" : "idn", - "platform_version" : "2", - "os_version" : "2345.3.1", - "os_type" : "flatcar", - "hypervisor" : "unknown" - }, - "type" : "CCG", - "status" : "NORMAL", - "timestamp" : "2020-01-01T00:00:00Z" - }''' # ManagedClientStatus | - try: - # Handle status request from client - new_managed_client_status = ManagedClientStatus.from_json(managed_client_status) - results = ManagedClientsApi(api_client).update_managed_client_status(id=id, managed_client_status=new_managed_client_status) - # Below is a request that includes all optional parameters - # results = ManagedClientsApi(api_client).update_managed_client_status(id, new_managed_client_status) - print("The response of ManagedClientsApi->update_managed_client_status:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling ManagedClientsApi->update_managed_client_status: %s\n" % e) -- path: /managed-clusters/{id}/log-config - method: GET - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/beta/methods/managed-clusters#get-client-log-configuration - source: | - from sailpoint.beta.api.managed_clusters_api import ManagedClustersApi - from sailpoint.beta.api_client import ApiClient - from sailpoint.beta.models.client_log_configuration import ClientLogConfiguration - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - id = 'aClusterId' # str | ID of ManagedCluster to get log configuration for # str | ID of ManagedCluster to get log configuration for - try: - # Get managed cluster's log configuration - - results = ManagedClustersApi(api_client).get_client_log_configuration(id=id) - # Below is a request that includes all optional parameters - # results = ManagedClustersApi(api_client).get_client_log_configuration(id) - print("The response of ManagedClustersApi->get_client_log_configuration:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling ManagedClustersApi->get_client_log_configuration: %s\n" % e) -- path: /managed-clusters/{id} - method: GET - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/beta/methods/managed-clusters#get-managed-cluster - source: | - from sailpoint.beta.api.managed_clusters_api import ManagedClustersApi - from sailpoint.beta.api_client import ApiClient - from sailpoint.beta.models.managed_cluster import ManagedCluster - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - id = 'aClusterId' # str | ID of the ManagedCluster to get # str | ID of the ManagedCluster to get - try: - # Get a specified ManagedCluster. - - results = ManagedClustersApi(api_client).get_managed_cluster(id=id) - # Below is a request that includes all optional parameters - # results = ManagedClustersApi(api_client).get_managed_cluster(id) - print("The response of ManagedClustersApi->get_managed_cluster:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling ManagedClustersApi->get_managed_cluster: %s\n" % e) -- path: /managed-clusters - method: GET - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/beta/methods/managed-clusters#get-managed-clusters - source: | - from sailpoint.beta.api.managed_clusters_api import ManagedClustersApi - from sailpoint.beta.api_client import ApiClient - from sailpoint.beta.models.managed_cluster import ManagedCluster - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - offset = 0 # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) - 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) - count = False # bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to False) # bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to False) - filters = 'operational eq operation' # str | Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **operational**: *eq* (optional) # str | Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **operational**: *eq* (optional) - try: - # Retrieve all Managed Clusters. - - results = ManagedClustersApi(api_client).get_managed_clusters() - # Below is a request that includes all optional parameters - # results = ManagedClustersApi(api_client).get_managed_clusters(offset, limit, count, filters) - print("The response of ManagedClustersApi->get_managed_clusters:\n") - for item in results: - print(item.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling ManagedClustersApi->get_managed_clusters: %s\n" % e) -- path: /managed-clusters/{id}/log-config - method: PUT - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/beta/methods/managed-clusters#put-client-log-configuration - source: | - from sailpoint.beta.api.managed_clusters_api import ManagedClustersApi - from sailpoint.beta.api_client import ApiClient - from sailpoint.beta.models.client_log_configuration import ClientLogConfiguration - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - id = 'aClusterId' # str | ID of ManagedCluster to update log configuration for # str | ID of ManagedCluster to update log configuration for - client_log_configuration = '''{ - "durationMinutes" : 120, - "rootLevel" : "INFO", - "clientId" : "aClientId", - "expiration" : "2020-12-15T19:13:36.079Z", - "logLevels" : "INFO" - }''' # ClientLogConfiguration | ClientLogConfiguration for given ManagedCluster - try: - # Update managed cluster's log configuration - - results = ManagedClustersApi(api_client).put_client_log_configuration(id=id, client_log_configuration=new_client_log_configuration) - # Below is a request that includes all optional parameters - # results = ManagedClustersApi(api_client).put_client_log_configuration(id, new_client_log_configuration) - print("The response of ManagedClustersApi->put_client_log_configuration:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling ManagedClustersApi->put_client_log_configuration: %s\n" % e) - path: /multihosts method: POST xCodeSample: @@ -11725,6 +11725,606 @@ print(results.model_dump_json(by_alias=True, indent=4)) except Exception as e: print("Exception when calling RolesApi->patch_role: %s\n" % e) +- path: /accounts/search-attribute-config + method: POST + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/beta/methods/search-attribute-configuration#create-search-attribute-config + source: | + from sailpoint.beta.api.search_attribute_configuration_api import SearchAttributeConfigurationApi + from sailpoint.beta.api_client import ApiClient + from sailpoint.beta.models.search_attribute_config import SearchAttributeConfig + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + search_attribute_config = '''{ + "displayName" : "New Mail Attribute", + "name" : "newMailAttribute", + "applicationAttributes" : { + "2c91808b79fd2422017a0b35d30f3968" : "employeeNumber", + "2c91808b79fd2422017a0b36008f396b" : "employeeNumber" + } + }''' # SearchAttributeConfig | + try: + # Create Extended Search Attributes + new_search_attribute_config = SearchAttributeConfig.from_json(search_attribute_config) + results = SearchAttributeConfigurationApi(api_client).create_search_attribute_config(search_attribute_config=new_search_attribute_config) + # Below is a request that includes all optional parameters + # results = SearchAttributeConfigurationApi(api_client).create_search_attribute_config(new_search_attribute_config) + print("The response of SearchAttributeConfigurationApi->create_search_attribute_config:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling SearchAttributeConfigurationApi->create_search_attribute_config: %s\n" % e) +- path: /accounts/search-attribute-config/{name} + method: DELETE + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/beta/methods/search-attribute-configuration#delete-search-attribute-config + source: | + from sailpoint.beta.api.search_attribute_configuration_api import SearchAttributeConfigurationApi + from sailpoint.beta.api_client import ApiClient + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + name = 'newMailAttribute' # str | Name of the extended search attribute configuration to delete. # str | Name of the extended search attribute configuration to delete. + try: + # Delete Extended Search Attribute + + SearchAttributeConfigurationApi(api_client).delete_search_attribute_config(name=name) + # Below is a request that includes all optional parameters + # SearchAttributeConfigurationApi(api_client).delete_search_attribute_config(name) + except Exception as e: + print("Exception when calling SearchAttributeConfigurationApi->delete_search_attribute_config: %s\n" % e) +- path: /accounts/search-attribute-config + method: GET + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/beta/methods/search-attribute-configuration#get-search-attribute-config + source: | + from sailpoint.beta.api.search_attribute_configuration_api import SearchAttributeConfigurationApi + from sailpoint.beta.api_client import ApiClient + from sailpoint.beta.models.search_attribute_config import SearchAttributeConfig + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + 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) + offset = 0 # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) + try: + # List Extended Search Attributes + + results = SearchAttributeConfigurationApi(api_client).get_search_attribute_config() + # Below is a request that includes all optional parameters + # results = SearchAttributeConfigurationApi(api_client).get_search_attribute_config(limit, offset) + print("The response of SearchAttributeConfigurationApi->get_search_attribute_config:\n") + for item in results: + print(item.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling SearchAttributeConfigurationApi->get_search_attribute_config: %s\n" % e) +- path: /accounts/search-attribute-config/{name} + method: GET + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/beta/methods/search-attribute-configuration#get-single-search-attribute-config + source: | + from sailpoint.beta.api.search_attribute_configuration_api import SearchAttributeConfigurationApi + from sailpoint.beta.api_client import ApiClient + from sailpoint.beta.models.search_attribute_config import SearchAttributeConfig + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + name = 'newMailAttribute' # str | Name of the extended search attribute configuration to get. # str | Name of the extended search attribute configuration to get. + try: + # Get Extended Search Attribute + + results = SearchAttributeConfigurationApi(api_client).get_single_search_attribute_config(name=name) + # Below is a request that includes all optional parameters + # results = SearchAttributeConfigurationApi(api_client).get_single_search_attribute_config(name) + print("The response of SearchAttributeConfigurationApi->get_single_search_attribute_config:\n") + for item in results: + print(item.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling SearchAttributeConfigurationApi->get_single_search_attribute_config: %s\n" % e) +- path: /accounts/search-attribute-config/{name} + method: PATCH + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/beta/methods/search-attribute-configuration#patch-search-attribute-config + source: | + from sailpoint.beta.api.search_attribute_configuration_api import SearchAttributeConfigurationApi + from sailpoint.beta.api_client import ApiClient + from sailpoint.beta.models.json_patch_operation import JsonPatchOperation + from sailpoint.beta.models.search_attribute_config import SearchAttributeConfig + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + name = 'promotedMailAttribute' # str | Name of the extended search attribute configuration to patch. # str | Name of the extended search attribute configuration to patch. + json_patch_operation = '''[{op=replace, path=/name, value=newAttributeName}, {op=replace, path=/displayName, value=new attribute display name}, {op=add, path=/applicationAttributes, value={2c91808b79fd2422017a0b35d30f3968=employeeNumber}}]''' # List[JsonPatchOperation] | + try: + # Update Extended Search Attribute + new_json_patch_operation = JsonPatchOperation.from_json(json_patch_operation) + results = SearchAttributeConfigurationApi(api_client).patch_search_attribute_config(name=name, json_patch_operation=new_json_patch_operation) + # Below is a request that includes all optional parameters + # results = SearchAttributeConfigurationApi(api_client).patch_search_attribute_config(name, new_json_patch_operation) + print("The response of SearchAttributeConfigurationApi->patch_search_attribute_config:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling SearchAttributeConfigurationApi->patch_search_attribute_config: %s\n" % e) +- path: /segments + method: POST + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/beta/methods/segments#create-segment + source: | + from sailpoint.beta.api.segments_api import SegmentsApi + from sailpoint.beta.api_client import ApiClient + from sailpoint.beta.models.segment import Segment + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + segment = '''{ + "owner" : { + "name" : "support", + "id" : "2c9180a46faadee4016fb4e018c20639", + "type" : "IDENTITY" + }, + "created" : "2020-01-01T00:00:00Z", + "visibilityCriteria" : { + "expression" : { + "children" : [ ], + "attribute" : "location", + "value" : { + "type" : "STRING", + "value" : "Austin" + }, + "operator" : "EQUALS" + } + }, + "name" : "segment-xyz", + "modified" : "2020-01-01T00:00:00Z", + "description" : "This segment represents xyz", + "active" : true, + "id" : "0f11f2a4-7c94-4bf3-a2bd-742580fe3bde" + }''' # Segment | + try: + # Create Segment + new_segment = Segment.from_json(segment) + results = SegmentsApi(api_client).create_segment(segment=new_segment) + # Below is a request that includes all optional parameters + # results = SegmentsApi(api_client).create_segment(new_segment) + print("The response of SegmentsApi->create_segment:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling SegmentsApi->create_segment: %s\n" % e) +- path: /segments/{id} + method: DELETE + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/beta/methods/segments#delete-segment + source: | + from sailpoint.beta.api.segments_api import SegmentsApi + from sailpoint.beta.api_client import ApiClient + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + id = 'ef38f94347e94562b5bb8424a56397d8' # str | The segment ID to delete. # str | The segment ID to delete. + try: + # Delete Segment by ID + + SegmentsApi(api_client).delete_segment(id=id) + # Below is a request that includes all optional parameters + # SegmentsApi(api_client).delete_segment(id) + except Exception as e: + print("Exception when calling SegmentsApi->delete_segment: %s\n" % e) +- path: /segments/{id} + method: GET + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/beta/methods/segments#get-segment + source: | + from sailpoint.beta.api.segments_api import SegmentsApi + from sailpoint.beta.api_client import ApiClient + from sailpoint.beta.models.segment import Segment + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + id = 'ef38f94347e94562b5bb8424a56397d8' # str | The segment ID to retrieve. # str | The segment ID to retrieve. + try: + # Get Segment by ID + + results = SegmentsApi(api_client).get_segment(id=id) + # Below is a request that includes all optional parameters + # results = SegmentsApi(api_client).get_segment(id) + print("The response of SegmentsApi->get_segment:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling SegmentsApi->get_segment: %s\n" % e) +- path: /segments + method: GET + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/beta/methods/segments#list-segments + source: | + from sailpoint.beta.api.segments_api import SegmentsApi + from sailpoint.beta.api_client import ApiClient + from sailpoint.beta.models.segment import Segment + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + 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) + offset = 0 # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) + count = False # bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to False) # bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to False) + try: + # List Segments + + results = SegmentsApi(api_client).list_segments() + # Below is a request that includes all optional parameters + # results = SegmentsApi(api_client).list_segments(limit, offset, count) + print("The response of SegmentsApi->list_segments:\n") + for item in results: + print(item.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling SegmentsApi->list_segments: %s\n" % e) +- path: /segments/{id} + method: PATCH + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/beta/methods/segments#patch-segment + source: | + from sailpoint.beta.api.segments_api import SegmentsApi + from sailpoint.beta.api_client import ApiClient + from sailpoint.beta.models.segment import Segment + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + id = 'ef38f94347e94562b5bb8424a56397d8' # str | The segment ID to modify. # str | The segment ID to modify. + request_body = '''[{op=replace, path=/visibilityCriteria, value={expression={operator=AND, children=[{operator=EQUALS, attribute=location, value={type=STRING, value=Philadelphia}}, {operator=EQUALS, attribute=department, value={type=STRING, value=HR}}]}}}]''' # List[object] | A list of segment update operations according to the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard. The following fields are patchable: * name * description * owner * visibilityCriteria * active + try: + # Update Segment + new_request_body = RequestBody.from_json(request_body) + results = SegmentsApi(api_client).patch_segment(id=id, request_body=new_request_body) + # Below is a request that includes all optional parameters + # results = SegmentsApi(api_client).patch_segment(id, new_request_body) + print("The response of SegmentsApi->patch_segment:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling SegmentsApi->patch_segment: %s\n" % e) +- path: /service-desk-integrations + method: POST + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/beta/methods/service-desk-integration#create-service-desk-integration + source: | + from sailpoint.beta.api.service_desk_integration_api import ServiceDeskIntegrationApi + from sailpoint.beta.api_client import ApiClient + from sailpoint.beta.models.service_desk_integration_dto import ServiceDeskIntegrationDto + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + service_desk_integration_dto = '''{ + "ownerRef" : "", + "cluster" : "xyzzy999", + "managedSources" : [ "2c9180835d191a86015d28455b4a2329", "2c5680835d191a85765d28455b4a9823" ], + "provisioningConfig" : { + "managedResourceRefs" : [ { + "type" : "SOURCE", + "id" : "2c9180855d191c59015d291ceb051111", + "name" : "My Source 1" + }, { + "type" : "SOURCE", + "id" : "2c9180855d191c59015d291ceb052222", + "name" : "My Source 2" + } ], + "provisioningRequestExpiration" : 7, + "noProvisioningRequests" : true, + "universalManager" : true, + "planInitializerScript" : { + "source" : "\\r\\n\\r\\n\\r\\n Before Provisioning Rule which changes disables and enables to a modify.\\r\\n \n" + } + }, + "name" : "Service Desk Integration Name", + "description" : "A very nice Service Desk integration", + "attributes" : { + "property" : "value", + "key" : "value" + }, + "clusterRef" : "", + "type" : "ServiceNowSDIM", + "beforeProvisioningRule" : "" + }''' # ServiceDeskIntegrationDto | The specifics of a new integration to create + try: + # Create new Service Desk integration + new_service_desk_integration_dto = ServiceDeskIntegrationDto.from_json(service_desk_integration_dto) + results = ServiceDeskIntegrationApi(api_client).create_service_desk_integration(service_desk_integration_dto=new_service_desk_integration_dto) + # Below is a request that includes all optional parameters + # results = ServiceDeskIntegrationApi(api_client).create_service_desk_integration(new_service_desk_integration_dto) + print("The response of ServiceDeskIntegrationApi->create_service_desk_integration:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling ServiceDeskIntegrationApi->create_service_desk_integration: %s\n" % e) +- path: /service-desk-integrations/{id} + method: DELETE + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/beta/methods/service-desk-integration#delete-service-desk-integration + source: | + from sailpoint.beta.api.service_desk_integration_api import ServiceDeskIntegrationApi + from sailpoint.beta.api_client import ApiClient + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + id = 'anId' # str | ID of Service Desk integration to delete # str | ID of Service Desk integration to delete + try: + # Delete a Service Desk integration + + ServiceDeskIntegrationApi(api_client).delete_service_desk_integration(id=id) + # Below is a request that includes all optional parameters + # ServiceDeskIntegrationApi(api_client).delete_service_desk_integration(id) + except Exception as e: + print("Exception when calling ServiceDeskIntegrationApi->delete_service_desk_integration: %s\n" % e) +- path: /service-desk-integrations/{id} + method: GET + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/beta/methods/service-desk-integration#get-service-desk-integration + source: | + from sailpoint.beta.api.service_desk_integration_api import ServiceDeskIntegrationApi + from sailpoint.beta.api_client import ApiClient + from sailpoint.beta.models.service_desk_integration_dto import ServiceDeskIntegrationDto + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + id = 'anId' # str | ID of the Service Desk integration to get # str | ID of the Service Desk integration to get + try: + # Get a Service Desk integration + + results = ServiceDeskIntegrationApi(api_client).get_service_desk_integration(id=id) + # Below is a request that includes all optional parameters + # results = ServiceDeskIntegrationApi(api_client).get_service_desk_integration(id) + print("The response of ServiceDeskIntegrationApi->get_service_desk_integration:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling ServiceDeskIntegrationApi->get_service_desk_integration: %s\n" % e) +- path: /service-desk-integrations + method: GET + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/beta/methods/service-desk-integration#get-service-desk-integration-list + source: | + from sailpoint.beta.api.service_desk_integration_api import ServiceDeskIntegrationApi + from sailpoint.beta.api_client import ApiClient + from sailpoint.beta.models.service_desk_integration_dto import ServiceDeskIntegrationDto + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + offset = 0 # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) + 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) + sorters = 'name' # str | Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **name** (optional) # str | Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **name** (optional) + filters = 'id eq 2c91808b6ef1d43e016efba0ce470904' # str | Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **id**: *eq, in* **name**: *eq* **type**: *eq, in* **cluster**: *eq, in* (optional) # str | Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **id**: *eq, in* **name**: *eq* **type**: *eq, in* **cluster**: *eq, in* (optional) + count = False # bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to False) # bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to False) + try: + # List existing Service Desk integrations + + results = ServiceDeskIntegrationApi(api_client).get_service_desk_integration_list() + # Below is a request that includes all optional parameters + # results = ServiceDeskIntegrationApi(api_client).get_service_desk_integration_list(offset, limit, sorters, filters, count) + print("The response of ServiceDeskIntegrationApi->get_service_desk_integration_list:\n") + for item in results: + print(item.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling ServiceDeskIntegrationApi->get_service_desk_integration_list: %s\n" % e) +- path: /service-desk-integrations/templates/{scriptName} + method: GET + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/beta/methods/service-desk-integration#get-service-desk-integration-template + source: | + from sailpoint.beta.api.service_desk_integration_api import ServiceDeskIntegrationApi + from sailpoint.beta.api_client import ApiClient + from sailpoint.beta.models.service_desk_integration_template_dto import ServiceDeskIntegrationTemplateDto + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + script_name = 'aScriptName' # str | The scriptName value of the Service Desk integration template to get # str | The scriptName value of the Service Desk integration template to get + try: + # Service Desk integration template by scriptName + + results = ServiceDeskIntegrationApi(api_client).get_service_desk_integration_template(script_name=script_name) + # Below is a request that includes all optional parameters + # results = ServiceDeskIntegrationApi(api_client).get_service_desk_integration_template(script_name) + print("The response of ServiceDeskIntegrationApi->get_service_desk_integration_template:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling ServiceDeskIntegrationApi->get_service_desk_integration_template: %s\n" % e) +- path: /service-desk-integrations/types + method: GET + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/beta/methods/service-desk-integration#get-service-desk-integration-types + source: | + from sailpoint.beta.api.service_desk_integration_api import ServiceDeskIntegrationApi + from sailpoint.beta.api_client import ApiClient + from sailpoint.beta.models.service_desk_integration_template_type import ServiceDeskIntegrationTemplateType + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + try: + # List Service Desk integration types + + results = ServiceDeskIntegrationApi(api_client).get_service_desk_integration_types() + # Below is a request that includes all optional parameters + # results = ServiceDeskIntegrationApi(api_client).get_service_desk_integration_types() + print("The response of ServiceDeskIntegrationApi->get_service_desk_integration_types:\n") + for item in results: + print(item.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling ServiceDeskIntegrationApi->get_service_desk_integration_types: %s\n" % e) +- path: /service-desk-integrations/status-check-configuration + method: GET + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/beta/methods/service-desk-integration#get-status-check-details + source: | + from sailpoint.beta.api.service_desk_integration_api import ServiceDeskIntegrationApi + from sailpoint.beta.api_client import ApiClient + from sailpoint.beta.models.queued_check_config_details import QueuedCheckConfigDetails + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + try: + # Get the time check configuration + + results = ServiceDeskIntegrationApi(api_client).get_status_check_details() + # Below is a request that includes all optional parameters + # results = ServiceDeskIntegrationApi(api_client).get_status_check_details() + print("The response of ServiceDeskIntegrationApi->get_status_check_details:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling ServiceDeskIntegrationApi->get_status_check_details: %s\n" % e) +- path: /service-desk-integrations/{id} + method: PATCH + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/beta/methods/service-desk-integration#patch-service-desk-integration + source: | + from sailpoint.beta.api.service_desk_integration_api import ServiceDeskIntegrationApi + from sailpoint.beta.api_client import ApiClient + from sailpoint.beta.models.patch_service_desk_integration_request import PatchServiceDeskIntegrationRequest + from sailpoint.beta.models.service_desk_integration_dto import ServiceDeskIntegrationDto + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + id = 'anId' # str | ID of the Service Desk integration to update # str | ID of the Service Desk integration to update + patch_service_desk_integration_request = '''sailpoint.beta.PatchServiceDeskIntegrationRequest()''' # PatchServiceDeskIntegrationRequest | A list of SDIM update operations according to the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard. Only `replace` operations are accepted by this endpoint. A 403 Forbidden Error indicates that a PATCH operation was attempted that is not allowed. + try: + # Patch a Service Desk Integration + new_patch_service_desk_integration_request = PatchServiceDeskIntegrationRequest.from_json(patch_service_desk_integration_request) + results = ServiceDeskIntegrationApi(api_client).patch_service_desk_integration(id=id, patch_service_desk_integration_request=new_patch_service_desk_integration_request) + # Below is a request that includes all optional parameters + # results = ServiceDeskIntegrationApi(api_client).patch_service_desk_integration(id, new_patch_service_desk_integration_request) + print("The response of ServiceDeskIntegrationApi->patch_service_desk_integration:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling ServiceDeskIntegrationApi->patch_service_desk_integration: %s\n" % e) +- path: /service-desk-integrations/{id} + method: PUT + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/beta/methods/service-desk-integration#put-service-desk-integration + source: | + from sailpoint.beta.api.service_desk_integration_api import ServiceDeskIntegrationApi + from sailpoint.beta.api_client import ApiClient + from sailpoint.beta.models.service_desk_integration_dto import ServiceDeskIntegrationDto + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + id = 'anId' # str | ID of the Service Desk integration to update # str | ID of the Service Desk integration to update + service_desk_integration_dto = '''{ + "ownerRef" : "", + "cluster" : "xyzzy999", + "managedSources" : [ "2c9180835d191a86015d28455b4a2329", "2c5680835d191a85765d28455b4a9823" ], + "provisioningConfig" : { + "managedResourceRefs" : [ { + "type" : "SOURCE", + "id" : "2c9180855d191c59015d291ceb051111", + "name" : "My Source 1" + }, { + "type" : "SOURCE", + "id" : "2c9180855d191c59015d291ceb052222", + "name" : "My Source 2" + } ], + "provisioningRequestExpiration" : 7, + "noProvisioningRequests" : true, + "universalManager" : true, + "planInitializerScript" : { + "source" : "\\r\\n\\r\\n\\r\\n Before Provisioning Rule which changes disables and enables to a modify.\\r\\n \n" + } + }, + "name" : "Service Desk Integration Name", + "description" : "A very nice Service Desk integration", + "attributes" : { + "property" : "value", + "key" : "value" + }, + "clusterRef" : "", + "type" : "ServiceNowSDIM", + "beforeProvisioningRule" : "" + }''' # ServiceDeskIntegrationDto | The specifics of the integration to update + try: + # Update a Service Desk integration + new_service_desk_integration_dto = ServiceDeskIntegrationDto.from_json(service_desk_integration_dto) + results = ServiceDeskIntegrationApi(api_client).put_service_desk_integration(id=id, service_desk_integration_dto=new_service_desk_integration_dto) + # Below is a request that includes all optional parameters + # results = ServiceDeskIntegrationApi(api_client).put_service_desk_integration(id, new_service_desk_integration_dto) + print("The response of ServiceDeskIntegrationApi->put_service_desk_integration:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling ServiceDeskIntegrationApi->put_service_desk_integration: %s\n" % e) +- path: /service-desk-integrations/status-check-configuration + method: PUT + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/beta/methods/service-desk-integration#update-status-check-details + source: | + from sailpoint.beta.api.service_desk_integration_api import ServiceDeskIntegrationApi + from sailpoint.beta.api_client import ApiClient + from sailpoint.beta.models.queued_check_config_details import QueuedCheckConfigDetails + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + queued_check_config_details = '''{ + "provisioningStatusCheckIntervalMinutes" : "30", + "provisioningMaxStatusCheckDays" : "2" + }''' # QueuedCheckConfigDetails | The modified time check configuration + try: + # Update the time check configuration + new_queued_check_config_details = QueuedCheckConfigDetails.from_json(queued_check_config_details) + results = ServiceDeskIntegrationApi(api_client).update_status_check_details(queued_check_config_details=new_queued_check_config_details) + # Below is a request that includes all optional parameters + # results = ServiceDeskIntegrationApi(api_client).update_status_check_details(new_queued_check_config_details) + print("The response of ServiceDeskIntegrationApi->update_status_check_details:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling ServiceDeskIntegrationApi->update_status_check_details: %s\n" % e) - path: /sim-integrations method: POST xCodeSample: @@ -12573,842 +13173,6 @@ print(results.model_dump_json(by_alias=True, indent=4)) except Exception as e: print("Exception when calling SODViolationsApi->start_predict_sod_violations: %s\n" % e) -- path: /sp-config/export - method: POST - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/beta/methods/sp-config#export-sp-config - source: | - from sailpoint.beta.api.sp_config_api import SPConfigApi - from sailpoint.beta.api_client import ApiClient - from sailpoint.beta.models.export_payload import ExportPayload - from sailpoint.beta.models.sp_config_export_job import SpConfigExportJob - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - export_payload = '''{ - "description" : "Export Job 1 Test" - }''' # ExportPayload | Export options control what will be included in the export. - try: - # Initiates configuration objects export job - new_export_payload = ExportPayload.from_json(export_payload) - results = SPConfigApi(api_client).export_sp_config(export_payload=new_export_payload) - # Below is a request that includes all optional parameters - # results = SPConfigApi(api_client).export_sp_config(new_export_payload) - print("The response of SPConfigApi->export_sp_config:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling SPConfigApi->export_sp_config: %s\n" % e) -- path: /sp-config/export/{id}/download - method: GET - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/beta/methods/sp-config#get-sp-config-export - source: | - from sailpoint.beta.api.sp_config_api import SPConfigApi - from sailpoint.beta.api_client import ApiClient - from sailpoint.beta.models.sp_config_export_results import SpConfigExportResults - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - id = 'ef38f94347e94562b5bb8424a56397d8' # str | The ID of the export job whose results will be downloaded. # str | The ID of the export job whose results will be downloaded. - try: - # Download export job result. - - results = SPConfigApi(api_client).get_sp_config_export(id=id) - # Below is a request that includes all optional parameters - # results = SPConfigApi(api_client).get_sp_config_export(id) - print("The response of SPConfigApi->get_sp_config_export:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling SPConfigApi->get_sp_config_export: %s\n" % e) -- path: /sp-config/export/{id} - method: GET - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/beta/methods/sp-config#get-sp-config-export-status - source: | - from sailpoint.beta.api.sp_config_api import SPConfigApi - from sailpoint.beta.api_client import ApiClient - from sailpoint.beta.models.sp_config_export_job_status import SpConfigExportJobStatus - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - id = 'ef38f94347e94562b5bb8424a56397d8' # str | The ID of the export job whose status will be returned. # str | The ID of the export job whose status will be returned. - try: - # Get export job status - - results = SPConfigApi(api_client).get_sp_config_export_status(id=id) - # Below is a request that includes all optional parameters - # results = SPConfigApi(api_client).get_sp_config_export_status(id) - print("The response of SPConfigApi->get_sp_config_export_status:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling SPConfigApi->get_sp_config_export_status: %s\n" % e) -- path: /sp-config/import/{id}/download - method: GET - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/beta/methods/sp-config#get-sp-config-import - source: | - from sailpoint.beta.api.sp_config_api import SPConfigApi - from sailpoint.beta.api_client import ApiClient - from sailpoint.beta.models.sp_config_import_results import SpConfigImportResults - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - id = 'ef38f94347e94562b5bb8424a56397d8' # str | The ID of the import job whose results will be downloaded. # str | The ID of the import job whose results will be downloaded. - try: - # Download import job result - - results = SPConfigApi(api_client).get_sp_config_import(id=id) - # Below is a request that includes all optional parameters - # results = SPConfigApi(api_client).get_sp_config_import(id) - print("The response of SPConfigApi->get_sp_config_import:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling SPConfigApi->get_sp_config_import: %s\n" % e) -- path: /sp-config/import/{id} - method: GET - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/beta/methods/sp-config#get-sp-config-import-status - source: | - from sailpoint.beta.api.sp_config_api import SPConfigApi - from sailpoint.beta.api_client import ApiClient - from sailpoint.beta.models.sp_config_import_job_status import SpConfigImportJobStatus - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - id = 'ef38f94347e94562b5bb8424a56397d8' # str | The ID of the import job whose status will be returned. # str | The ID of the import job whose status will be returned. - try: - # Get import job status - - results = SPConfigApi(api_client).get_sp_config_import_status(id=id) - # Below is a request that includes all optional parameters - # results = SPConfigApi(api_client).get_sp_config_import_status(id) - print("The response of SPConfigApi->get_sp_config_import_status:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling SPConfigApi->get_sp_config_import_status: %s\n" % e) -- path: /sp-config/import - method: POST - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/beta/methods/sp-config#import-sp-config - source: | - from sailpoint.beta.api.sp_config_api import SPConfigApi - from sailpoint.beta.api_client import ApiClient - from sailpoint.beta.models.import_options import ImportOptions - from sailpoint.beta.models.sp_config_job import SpConfigJob - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - data = None # bytearray | JSON file containing the objects to be imported. # bytearray | JSON file containing the objects to be imported. - preview = False # bool | This option is intended to give the user information about how an import operation would proceed, without having any effect on the target tenant. If this parameter is \"true\", no objects will be imported. Instead, the import process will pre-process the import file and attempt to resolve references within imported objects. The import result file will contain messages pertaining to how specific references were resolved, any errors associated with the preprocessing, and messages indicating which objects would be imported. (optional) (default to False) # bool | This option is intended to give the user information about how an import operation would proceed, without having any effect on the target tenant. If this parameter is \"true\", no objects will be imported. Instead, the import process will pre-process the import file and attempt to resolve references within imported objects. The import result file will contain messages pertaining to how specific references were resolved, any errors associated with the preprocessing, and messages indicating which objects would be imported. (optional) (default to False) - options = '''sailpoint.beta.ImportOptions()''' # ImportOptions | (optional) - try: - # Initiates configuration objects import job - - results = SPConfigApi(api_client).import_sp_config(data=data) - # Below is a request that includes all optional parameters - # results = SPConfigApi(api_client).import_sp_config(data, preview, options) - print("The response of SPConfigApi->import_sp_config:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling SPConfigApi->import_sp_config: %s\n" % e) -- path: /sp-config/config-objects - method: GET - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/beta/methods/sp-config#list-sp-config-objects - source: | - from sailpoint.beta.api.sp_config_api import SPConfigApi - from sailpoint.beta.api_client import ApiClient - from sailpoint.beta.models.sp_config_object import SpConfigObject - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - try: - # List Config Objects - - results = SPConfigApi(api_client).list_sp_config_objects() - # Below is a request that includes all optional parameters - # results = SPConfigApi(api_client).list_sp_config_objects() - print("The response of SPConfigApi->list_sp_config_objects:\n") - for item in results: - print(item.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling SPConfigApi->list_sp_config_objects: %s\n" % e) -- path: /accounts/search-attribute-config - method: POST - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/beta/methods/search-attribute-configuration#create-search-attribute-config - source: | - from sailpoint.beta.api.search_attribute_configuration_api import SearchAttributeConfigurationApi - from sailpoint.beta.api_client import ApiClient - from sailpoint.beta.models.search_attribute_config import SearchAttributeConfig - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - search_attribute_config = '''{ - "displayName" : "New Mail Attribute", - "name" : "newMailAttribute", - "applicationAttributes" : { - "2c91808b79fd2422017a0b35d30f3968" : "employeeNumber", - "2c91808b79fd2422017a0b36008f396b" : "employeeNumber" - } - }''' # SearchAttributeConfig | - try: - # Create Extended Search Attributes - new_search_attribute_config = SearchAttributeConfig.from_json(search_attribute_config) - results = SearchAttributeConfigurationApi(api_client).create_search_attribute_config(search_attribute_config=new_search_attribute_config) - # Below is a request that includes all optional parameters - # results = SearchAttributeConfigurationApi(api_client).create_search_attribute_config(new_search_attribute_config) - print("The response of SearchAttributeConfigurationApi->create_search_attribute_config:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling SearchAttributeConfigurationApi->create_search_attribute_config: %s\n" % e) -- path: /accounts/search-attribute-config/{name} - method: DELETE - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/beta/methods/search-attribute-configuration#delete-search-attribute-config - source: | - from sailpoint.beta.api.search_attribute_configuration_api import SearchAttributeConfigurationApi - from sailpoint.beta.api_client import ApiClient - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - name = 'newMailAttribute' # str | Name of the extended search attribute configuration to delete. # str | Name of the extended search attribute configuration to delete. - try: - # Delete Extended Search Attribute - - SearchAttributeConfigurationApi(api_client).delete_search_attribute_config(name=name) - # Below is a request that includes all optional parameters - # SearchAttributeConfigurationApi(api_client).delete_search_attribute_config(name) - except Exception as e: - print("Exception when calling SearchAttributeConfigurationApi->delete_search_attribute_config: %s\n" % e) -- path: /accounts/search-attribute-config - method: GET - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/beta/methods/search-attribute-configuration#get-search-attribute-config - source: | - from sailpoint.beta.api.search_attribute_configuration_api import SearchAttributeConfigurationApi - from sailpoint.beta.api_client import ApiClient - from sailpoint.beta.models.search_attribute_config import SearchAttributeConfig - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - 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) - offset = 0 # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) - try: - # List Extended Search Attributes - - results = SearchAttributeConfigurationApi(api_client).get_search_attribute_config() - # Below is a request that includes all optional parameters - # results = SearchAttributeConfigurationApi(api_client).get_search_attribute_config(limit, offset) - print("The response of SearchAttributeConfigurationApi->get_search_attribute_config:\n") - for item in results: - print(item.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling SearchAttributeConfigurationApi->get_search_attribute_config: %s\n" % e) -- path: /accounts/search-attribute-config/{name} - method: GET - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/beta/methods/search-attribute-configuration#get-single-search-attribute-config - source: | - from sailpoint.beta.api.search_attribute_configuration_api import SearchAttributeConfigurationApi - from sailpoint.beta.api_client import ApiClient - from sailpoint.beta.models.search_attribute_config import SearchAttributeConfig - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - name = 'newMailAttribute' # str | Name of the extended search attribute configuration to get. # str | Name of the extended search attribute configuration to get. - try: - # Get Extended Search Attribute - - results = SearchAttributeConfigurationApi(api_client).get_single_search_attribute_config(name=name) - # Below is a request that includes all optional parameters - # results = SearchAttributeConfigurationApi(api_client).get_single_search_attribute_config(name) - print("The response of SearchAttributeConfigurationApi->get_single_search_attribute_config:\n") - for item in results: - print(item.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling SearchAttributeConfigurationApi->get_single_search_attribute_config: %s\n" % e) -- path: /accounts/search-attribute-config/{name} - method: PATCH - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/beta/methods/search-attribute-configuration#patch-search-attribute-config - source: | - from sailpoint.beta.api.search_attribute_configuration_api import SearchAttributeConfigurationApi - from sailpoint.beta.api_client import ApiClient - from sailpoint.beta.models.json_patch_operation import JsonPatchOperation - from sailpoint.beta.models.search_attribute_config import SearchAttributeConfig - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - name = 'promotedMailAttribute' # str | Name of the extended search attribute configuration to patch. # str | Name of the extended search attribute configuration to patch. - json_patch_operation = '''[{op=replace, path=/name, value=newAttributeName}, {op=replace, path=/displayName, value=new attribute display name}, {op=add, path=/applicationAttributes, value={2c91808b79fd2422017a0b35d30f3968=employeeNumber}}]''' # List[JsonPatchOperation] | - try: - # Update Extended Search Attribute - new_json_patch_operation = JsonPatchOperation.from_json(json_patch_operation) - results = SearchAttributeConfigurationApi(api_client).patch_search_attribute_config(name=name, json_patch_operation=new_json_patch_operation) - # Below is a request that includes all optional parameters - # results = SearchAttributeConfigurationApi(api_client).patch_search_attribute_config(name, new_json_patch_operation) - print("The response of SearchAttributeConfigurationApi->patch_search_attribute_config:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling SearchAttributeConfigurationApi->patch_search_attribute_config: %s\n" % e) -- path: /segments - method: POST - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/beta/methods/segments#create-segment - source: | - from sailpoint.beta.api.segments_api import SegmentsApi - from sailpoint.beta.api_client import ApiClient - from sailpoint.beta.models.segment import Segment - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - segment = '''{ - "owner" : { - "name" : "support", - "id" : "2c9180a46faadee4016fb4e018c20639", - "type" : "IDENTITY" - }, - "created" : "2020-01-01T00:00:00Z", - "visibilityCriteria" : { - "expression" : { - "children" : [ ], - "attribute" : "location", - "value" : { - "type" : "STRING", - "value" : "Austin" - }, - "operator" : "EQUALS" - } - }, - "name" : "segment-xyz", - "modified" : "2020-01-01T00:00:00Z", - "description" : "This segment represents xyz", - "active" : true, - "id" : "0f11f2a4-7c94-4bf3-a2bd-742580fe3bde" - }''' # Segment | - try: - # Create Segment - new_segment = Segment.from_json(segment) - results = SegmentsApi(api_client).create_segment(segment=new_segment) - # Below is a request that includes all optional parameters - # results = SegmentsApi(api_client).create_segment(new_segment) - print("The response of SegmentsApi->create_segment:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling SegmentsApi->create_segment: %s\n" % e) -- path: /segments/{id} - method: DELETE - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/beta/methods/segments#delete-segment - source: | - from sailpoint.beta.api.segments_api import SegmentsApi - from sailpoint.beta.api_client import ApiClient - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - id = 'ef38f94347e94562b5bb8424a56397d8' # str | The segment ID to delete. # str | The segment ID to delete. - try: - # Delete Segment by ID - - SegmentsApi(api_client).delete_segment(id=id) - # Below is a request that includes all optional parameters - # SegmentsApi(api_client).delete_segment(id) - except Exception as e: - print("Exception when calling SegmentsApi->delete_segment: %s\n" % e) -- path: /segments/{id} - method: GET - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/beta/methods/segments#get-segment - source: | - from sailpoint.beta.api.segments_api import SegmentsApi - from sailpoint.beta.api_client import ApiClient - from sailpoint.beta.models.segment import Segment - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - id = 'ef38f94347e94562b5bb8424a56397d8' # str | The segment ID to retrieve. # str | The segment ID to retrieve. - try: - # Get Segment by ID - - results = SegmentsApi(api_client).get_segment(id=id) - # Below is a request that includes all optional parameters - # results = SegmentsApi(api_client).get_segment(id) - print("The response of SegmentsApi->get_segment:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling SegmentsApi->get_segment: %s\n" % e) -- path: /segments - method: GET - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/beta/methods/segments#list-segments - source: | - from sailpoint.beta.api.segments_api import SegmentsApi - from sailpoint.beta.api_client import ApiClient - from sailpoint.beta.models.segment import Segment - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - 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) - offset = 0 # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) - count = False # bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to False) # bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to False) - try: - # List Segments - - results = SegmentsApi(api_client).list_segments() - # Below is a request that includes all optional parameters - # results = SegmentsApi(api_client).list_segments(limit, offset, count) - print("The response of SegmentsApi->list_segments:\n") - for item in results: - print(item.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling SegmentsApi->list_segments: %s\n" % e) -- path: /segments/{id} - method: PATCH - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/beta/methods/segments#patch-segment - source: | - from sailpoint.beta.api.segments_api import SegmentsApi - from sailpoint.beta.api_client import ApiClient - from sailpoint.beta.models.segment import Segment - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - id = 'ef38f94347e94562b5bb8424a56397d8' # str | The segment ID to modify. # str | The segment ID to modify. - request_body = '''[{op=replace, path=/visibilityCriteria, value={expression={operator=AND, children=[{operator=EQUALS, attribute=location, value={type=STRING, value=Philadelphia}}, {operator=EQUALS, attribute=department, value={type=STRING, value=HR}}]}}}]''' # List[object] | A list of segment update operations according to the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard. The following fields are patchable: * name * description * owner * visibilityCriteria * active - try: - # Update Segment - new_request_body = RequestBody.from_json(request_body) - results = SegmentsApi(api_client).patch_segment(id=id, request_body=new_request_body) - # Below is a request that includes all optional parameters - # results = SegmentsApi(api_client).patch_segment(id, new_request_body) - print("The response of SegmentsApi->patch_segment:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling SegmentsApi->patch_segment: %s\n" % e) -- path: /service-desk-integrations - method: POST - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/beta/methods/service-desk-integration#create-service-desk-integration - source: | - from sailpoint.beta.api.service_desk_integration_api import ServiceDeskIntegrationApi - from sailpoint.beta.api_client import ApiClient - from sailpoint.beta.models.service_desk_integration_dto import ServiceDeskIntegrationDto - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - service_desk_integration_dto = '''{ - "ownerRef" : "", - "cluster" : "xyzzy999", - "managedSources" : [ "2c9180835d191a86015d28455b4a2329", "2c5680835d191a85765d28455b4a9823" ], - "provisioningConfig" : { - "managedResourceRefs" : [ { - "type" : "SOURCE", - "id" : "2c9180855d191c59015d291ceb051111", - "name" : "My Source 1" - }, { - "type" : "SOURCE", - "id" : "2c9180855d191c59015d291ceb052222", - "name" : "My Source 2" - } ], - "provisioningRequestExpiration" : 7, - "noProvisioningRequests" : true, - "universalManager" : true, - "planInitializerScript" : { - "source" : "\\r\\n\\r\\n\\r\\n Before Provisioning Rule which changes disables and enables to a modify.\\r\\n \n" - } - }, - "name" : "Service Desk Integration Name", - "description" : "A very nice Service Desk integration", - "attributes" : { - "property" : "value", - "key" : "value" - }, - "clusterRef" : "", - "type" : "ServiceNowSDIM", - "beforeProvisioningRule" : "" - }''' # ServiceDeskIntegrationDto | The specifics of a new integration to create - try: - # Create new Service Desk integration - new_service_desk_integration_dto = ServiceDeskIntegrationDto.from_json(service_desk_integration_dto) - results = ServiceDeskIntegrationApi(api_client).create_service_desk_integration(service_desk_integration_dto=new_service_desk_integration_dto) - # Below is a request that includes all optional parameters - # results = ServiceDeskIntegrationApi(api_client).create_service_desk_integration(new_service_desk_integration_dto) - print("The response of ServiceDeskIntegrationApi->create_service_desk_integration:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling ServiceDeskIntegrationApi->create_service_desk_integration: %s\n" % e) -- path: /service-desk-integrations/{id} - method: DELETE - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/beta/methods/service-desk-integration#delete-service-desk-integration - source: | - from sailpoint.beta.api.service_desk_integration_api import ServiceDeskIntegrationApi - from sailpoint.beta.api_client import ApiClient - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - id = 'anId' # str | ID of Service Desk integration to delete # str | ID of Service Desk integration to delete - try: - # Delete a Service Desk integration - - ServiceDeskIntegrationApi(api_client).delete_service_desk_integration(id=id) - # Below is a request that includes all optional parameters - # ServiceDeskIntegrationApi(api_client).delete_service_desk_integration(id) - except Exception as e: - print("Exception when calling ServiceDeskIntegrationApi->delete_service_desk_integration: %s\n" % e) -- path: /service-desk-integrations/{id} - method: GET - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/beta/methods/service-desk-integration#get-service-desk-integration - source: | - from sailpoint.beta.api.service_desk_integration_api import ServiceDeskIntegrationApi - from sailpoint.beta.api_client import ApiClient - from sailpoint.beta.models.service_desk_integration_dto import ServiceDeskIntegrationDto - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - id = 'anId' # str | ID of the Service Desk integration to get # str | ID of the Service Desk integration to get - try: - # Get a Service Desk integration - - results = ServiceDeskIntegrationApi(api_client).get_service_desk_integration(id=id) - # Below is a request that includes all optional parameters - # results = ServiceDeskIntegrationApi(api_client).get_service_desk_integration(id) - print("The response of ServiceDeskIntegrationApi->get_service_desk_integration:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling ServiceDeskIntegrationApi->get_service_desk_integration: %s\n" % e) -- path: /service-desk-integrations - method: GET - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/beta/methods/service-desk-integration#get-service-desk-integration-list - source: | - from sailpoint.beta.api.service_desk_integration_api import ServiceDeskIntegrationApi - from sailpoint.beta.api_client import ApiClient - from sailpoint.beta.models.service_desk_integration_dto import ServiceDeskIntegrationDto - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - offset = 0 # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) - 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) - sorters = 'name' # str | Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **name** (optional) # str | Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **name** (optional) - filters = 'id eq 2c91808b6ef1d43e016efba0ce470904' # str | Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **id**: *eq, in* **name**: *eq* **type**: *eq, in* **cluster**: *eq, in* (optional) # str | Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **id**: *eq, in* **name**: *eq* **type**: *eq, in* **cluster**: *eq, in* (optional) - count = False # bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to False) # bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to False) - try: - # List existing Service Desk integrations - - results = ServiceDeskIntegrationApi(api_client).get_service_desk_integration_list() - # Below is a request that includes all optional parameters - # results = ServiceDeskIntegrationApi(api_client).get_service_desk_integration_list(offset, limit, sorters, filters, count) - print("The response of ServiceDeskIntegrationApi->get_service_desk_integration_list:\n") - for item in results: - print(item.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling ServiceDeskIntegrationApi->get_service_desk_integration_list: %s\n" % e) -- path: /service-desk-integrations/templates/{scriptName} - method: GET - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/beta/methods/service-desk-integration#get-service-desk-integration-template - source: | - from sailpoint.beta.api.service_desk_integration_api import ServiceDeskIntegrationApi - from sailpoint.beta.api_client import ApiClient - from sailpoint.beta.models.service_desk_integration_template_dto import ServiceDeskIntegrationTemplateDto - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - script_name = 'aScriptName' # str | The scriptName value of the Service Desk integration template to get # str | The scriptName value of the Service Desk integration template to get - try: - # Service Desk integration template by scriptName - - results = ServiceDeskIntegrationApi(api_client).get_service_desk_integration_template(script_name=script_name) - # Below is a request that includes all optional parameters - # results = ServiceDeskIntegrationApi(api_client).get_service_desk_integration_template(script_name) - print("The response of ServiceDeskIntegrationApi->get_service_desk_integration_template:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling ServiceDeskIntegrationApi->get_service_desk_integration_template: %s\n" % e) -- path: /service-desk-integrations/types - method: GET - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/beta/methods/service-desk-integration#get-service-desk-integration-types - source: | - from sailpoint.beta.api.service_desk_integration_api import ServiceDeskIntegrationApi - from sailpoint.beta.api_client import ApiClient - from sailpoint.beta.models.service_desk_integration_template_type import ServiceDeskIntegrationTemplateType - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - try: - # List Service Desk integration types - - results = ServiceDeskIntegrationApi(api_client).get_service_desk_integration_types() - # Below is a request that includes all optional parameters - # results = ServiceDeskIntegrationApi(api_client).get_service_desk_integration_types() - print("The response of ServiceDeskIntegrationApi->get_service_desk_integration_types:\n") - for item in results: - print(item.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling ServiceDeskIntegrationApi->get_service_desk_integration_types: %s\n" % e) -- path: /service-desk-integrations/status-check-configuration - method: GET - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/beta/methods/service-desk-integration#get-status-check-details - source: | - from sailpoint.beta.api.service_desk_integration_api import ServiceDeskIntegrationApi - from sailpoint.beta.api_client import ApiClient - from sailpoint.beta.models.queued_check_config_details import QueuedCheckConfigDetails - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - try: - # Get the time check configuration - - results = ServiceDeskIntegrationApi(api_client).get_status_check_details() - # Below is a request that includes all optional parameters - # results = ServiceDeskIntegrationApi(api_client).get_status_check_details() - print("The response of ServiceDeskIntegrationApi->get_status_check_details:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling ServiceDeskIntegrationApi->get_status_check_details: %s\n" % e) -- path: /service-desk-integrations/{id} - method: PATCH - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/beta/methods/service-desk-integration#patch-service-desk-integration - source: | - from sailpoint.beta.api.service_desk_integration_api import ServiceDeskIntegrationApi - from sailpoint.beta.api_client import ApiClient - from sailpoint.beta.models.patch_service_desk_integration_request import PatchServiceDeskIntegrationRequest - from sailpoint.beta.models.service_desk_integration_dto import ServiceDeskIntegrationDto - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - id = 'anId' # str | ID of the Service Desk integration to update # str | ID of the Service Desk integration to update - patch_service_desk_integration_request = '''sailpoint.beta.PatchServiceDeskIntegrationRequest()''' # PatchServiceDeskIntegrationRequest | A list of SDIM update operations according to the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard. Only `replace` operations are accepted by this endpoint. A 403 Forbidden Error indicates that a PATCH operation was attempted that is not allowed. - try: - # Patch a Service Desk Integration - new_patch_service_desk_integration_request = PatchServiceDeskIntegrationRequest.from_json(patch_service_desk_integration_request) - results = ServiceDeskIntegrationApi(api_client).patch_service_desk_integration(id=id, patch_service_desk_integration_request=new_patch_service_desk_integration_request) - # Below is a request that includes all optional parameters - # results = ServiceDeskIntegrationApi(api_client).patch_service_desk_integration(id, new_patch_service_desk_integration_request) - print("The response of ServiceDeskIntegrationApi->patch_service_desk_integration:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling ServiceDeskIntegrationApi->patch_service_desk_integration: %s\n" % e) -- path: /service-desk-integrations/{id} - method: PUT - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/beta/methods/service-desk-integration#put-service-desk-integration - source: | - from sailpoint.beta.api.service_desk_integration_api import ServiceDeskIntegrationApi - from sailpoint.beta.api_client import ApiClient - from sailpoint.beta.models.service_desk_integration_dto import ServiceDeskIntegrationDto - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - id = 'anId' # str | ID of the Service Desk integration to update # str | ID of the Service Desk integration to update - service_desk_integration_dto = '''{ - "ownerRef" : "", - "cluster" : "xyzzy999", - "managedSources" : [ "2c9180835d191a86015d28455b4a2329", "2c5680835d191a85765d28455b4a9823" ], - "provisioningConfig" : { - "managedResourceRefs" : [ { - "type" : "SOURCE", - "id" : "2c9180855d191c59015d291ceb051111", - "name" : "My Source 1" - }, { - "type" : "SOURCE", - "id" : "2c9180855d191c59015d291ceb052222", - "name" : "My Source 2" - } ], - "provisioningRequestExpiration" : 7, - "noProvisioningRequests" : true, - "universalManager" : true, - "planInitializerScript" : { - "source" : "\\r\\n\\r\\n\\r\\n Before Provisioning Rule which changes disables and enables to a modify.\\r\\n \n" - } - }, - "name" : "Service Desk Integration Name", - "description" : "A very nice Service Desk integration", - "attributes" : { - "property" : "value", - "key" : "value" - }, - "clusterRef" : "", - "type" : "ServiceNowSDIM", - "beforeProvisioningRule" : "" - }''' # ServiceDeskIntegrationDto | The specifics of the integration to update - try: - # Update a Service Desk integration - new_service_desk_integration_dto = ServiceDeskIntegrationDto.from_json(service_desk_integration_dto) - results = ServiceDeskIntegrationApi(api_client).put_service_desk_integration(id=id, service_desk_integration_dto=new_service_desk_integration_dto) - # Below is a request that includes all optional parameters - # results = ServiceDeskIntegrationApi(api_client).put_service_desk_integration(id, new_service_desk_integration_dto) - print("The response of ServiceDeskIntegrationApi->put_service_desk_integration:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling ServiceDeskIntegrationApi->put_service_desk_integration: %s\n" % e) -- path: /service-desk-integrations/status-check-configuration - method: PUT - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/beta/methods/service-desk-integration#update-status-check-details - source: | - from sailpoint.beta.api.service_desk_integration_api import ServiceDeskIntegrationApi - from sailpoint.beta.api_client import ApiClient - from sailpoint.beta.models.queued_check_config_details import QueuedCheckConfigDetails - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - queued_check_config_details = '''{ - "provisioningStatusCheckIntervalMinutes" : "30", - "provisioningMaxStatusCheckDays" : "2" - }''' # QueuedCheckConfigDetails | The modified time check configuration - try: - # Update the time check configuration - new_queued_check_config_details = QueuedCheckConfigDetails.from_json(queued_check_config_details) - results = ServiceDeskIntegrationApi(api_client).update_status_check_details(queued_check_config_details=new_queued_check_config_details) - # Below is a request that includes all optional parameters - # results = ServiceDeskIntegrationApi(api_client).update_status_check_details(new_queued_check_config_details) - print("The response of ServiceDeskIntegrationApi->update_status_check_details:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling ServiceDeskIntegrationApi->update_status_check_details: %s\n" % e) -- path: /source-usages/{sourceId}/status - method: GET - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/beta/methods/source-usages#get-status-by-source-id - source: | - from sailpoint.beta.api.source_usages_api import SourceUsagesApi - from sailpoint.beta.api_client import ApiClient - from sailpoint.beta.models.source_usage_status import SourceUsageStatus - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - source_id = '2c9180835d191a86015d28455b4a2329' # str | ID of IDN source # str | ID of IDN source - try: - # Finds status of source usage - - results = SourceUsagesApi(api_client).get_status_by_source_id(source_id=source_id) - # Below is a request that includes all optional parameters - # results = SourceUsagesApi(api_client).get_status_by_source_id(source_id) - print("The response of SourceUsagesApi->get_status_by_source_id:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling SourceUsagesApi->get_status_by_source_id: %s\n" % e) -- path: /source-usages/{sourceId}/summaries - method: GET - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/beta/methods/source-usages#get-usages-by-source-id - source: | - from sailpoint.beta.api.source_usages_api import SourceUsagesApi - from sailpoint.beta.api_client import ApiClient - from sailpoint.beta.models.source_usage import SourceUsage - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - source_id = '2c9180835d191a86015d28455b4a2329' # str | ID of IDN source # str | ID of IDN source - 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) - offset = 0 # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) - count = False # bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to False) # bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to False) - sorters = '-date' # str | Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **date** (optional) # str | Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **date** (optional) - try: - # Returns source usage insights - - results = SourceUsagesApi(api_client).get_usages_by_source_id(source_id=source_id) - # Below is a request that includes all optional parameters - # results = SourceUsagesApi(api_client).get_usages_by_source_id(source_id, limit, offset, count, sorters) - print("The response of SourceUsagesApi->get_usages_by_source_id:\n") - for item in results: - print(item.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling SourceUsagesApi->get_usages_by_source_id: %s\n" % e) - path: /sources/{sourceId}/provisioning-policies method: POST xCodeSample: @@ -14823,6 +14587,242 @@ print(results.model_dump_json(by_alias=True, indent=4)) except Exception as e: print("Exception when calling SourcesApi->update_source_schema: %s\n" % e) +- path: /source-usages/{sourceId}/status + method: GET + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/beta/methods/source-usages#get-status-by-source-id + source: | + from sailpoint.beta.api.source_usages_api import SourceUsagesApi + from sailpoint.beta.api_client import ApiClient + from sailpoint.beta.models.source_usage_status import SourceUsageStatus + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + source_id = '2c9180835d191a86015d28455b4a2329' # str | ID of IDN source # str | ID of IDN source + try: + # Finds status of source usage + + results = SourceUsagesApi(api_client).get_status_by_source_id(source_id=source_id) + # Below is a request that includes all optional parameters + # results = SourceUsagesApi(api_client).get_status_by_source_id(source_id) + print("The response of SourceUsagesApi->get_status_by_source_id:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling SourceUsagesApi->get_status_by_source_id: %s\n" % e) +- path: /source-usages/{sourceId}/summaries + method: GET + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/beta/methods/source-usages#get-usages-by-source-id + source: | + from sailpoint.beta.api.source_usages_api import SourceUsagesApi + from sailpoint.beta.api_client import ApiClient + from sailpoint.beta.models.source_usage import SourceUsage + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + source_id = '2c9180835d191a86015d28455b4a2329' # str | ID of IDN source # str | ID of IDN source + 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) + offset = 0 # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) + count = False # bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to False) # bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to False) + sorters = '-date' # str | Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **date** (optional) # str | Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **date** (optional) + try: + # Returns source usage insights + + results = SourceUsagesApi(api_client).get_usages_by_source_id(source_id=source_id) + # Below is a request that includes all optional parameters + # results = SourceUsagesApi(api_client).get_usages_by_source_id(source_id, limit, offset, count, sorters) + print("The response of SourceUsagesApi->get_usages_by_source_id:\n") + for item in results: + print(item.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling SourceUsagesApi->get_usages_by_source_id: %s\n" % e) +- path: /sp-config/export + method: POST + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/beta/methods/sp-config#export-sp-config + source: | + from sailpoint.beta.api.sp_config_api import SPConfigApi + from sailpoint.beta.api_client import ApiClient + from sailpoint.beta.models.export_payload import ExportPayload + from sailpoint.beta.models.sp_config_export_job import SpConfigExportJob + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + export_payload = '''{ + "description" : "Export Job 1 Test" + }''' # ExportPayload | Export options control what will be included in the export. + try: + # Initiates configuration objects export job + new_export_payload = ExportPayload.from_json(export_payload) + results = SPConfigApi(api_client).export_sp_config(export_payload=new_export_payload) + # Below is a request that includes all optional parameters + # results = SPConfigApi(api_client).export_sp_config(new_export_payload) + print("The response of SPConfigApi->export_sp_config:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling SPConfigApi->export_sp_config: %s\n" % e) +- path: /sp-config/export/{id}/download + method: GET + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/beta/methods/sp-config#get-sp-config-export + source: | + from sailpoint.beta.api.sp_config_api import SPConfigApi + from sailpoint.beta.api_client import ApiClient + from sailpoint.beta.models.sp_config_export_results import SpConfigExportResults + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + id = 'ef38f94347e94562b5bb8424a56397d8' # str | The ID of the export job whose results will be downloaded. # str | The ID of the export job whose results will be downloaded. + try: + # Download export job result. + + results = SPConfigApi(api_client).get_sp_config_export(id=id) + # Below is a request that includes all optional parameters + # results = SPConfigApi(api_client).get_sp_config_export(id) + print("The response of SPConfigApi->get_sp_config_export:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling SPConfigApi->get_sp_config_export: %s\n" % e) +- path: /sp-config/export/{id} + method: GET + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/beta/methods/sp-config#get-sp-config-export-status + source: | + from sailpoint.beta.api.sp_config_api import SPConfigApi + from sailpoint.beta.api_client import ApiClient + from sailpoint.beta.models.sp_config_export_job_status import SpConfigExportJobStatus + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + id = 'ef38f94347e94562b5bb8424a56397d8' # str | The ID of the export job whose status will be returned. # str | The ID of the export job whose status will be returned. + try: + # Get export job status + + results = SPConfigApi(api_client).get_sp_config_export_status(id=id) + # Below is a request that includes all optional parameters + # results = SPConfigApi(api_client).get_sp_config_export_status(id) + print("The response of SPConfigApi->get_sp_config_export_status:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling SPConfigApi->get_sp_config_export_status: %s\n" % e) +- path: /sp-config/import/{id}/download + method: GET + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/beta/methods/sp-config#get-sp-config-import + source: | + from sailpoint.beta.api.sp_config_api import SPConfigApi + from sailpoint.beta.api_client import ApiClient + from sailpoint.beta.models.sp_config_import_results import SpConfigImportResults + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + id = 'ef38f94347e94562b5bb8424a56397d8' # str | The ID of the import job whose results will be downloaded. # str | The ID of the import job whose results will be downloaded. + try: + # Download import job result + + results = SPConfigApi(api_client).get_sp_config_import(id=id) + # Below is a request that includes all optional parameters + # results = SPConfigApi(api_client).get_sp_config_import(id) + print("The response of SPConfigApi->get_sp_config_import:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling SPConfigApi->get_sp_config_import: %s\n" % e) +- path: /sp-config/import/{id} + method: GET + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/beta/methods/sp-config#get-sp-config-import-status + source: | + from sailpoint.beta.api.sp_config_api import SPConfigApi + from sailpoint.beta.api_client import ApiClient + from sailpoint.beta.models.sp_config_import_job_status import SpConfigImportJobStatus + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + id = 'ef38f94347e94562b5bb8424a56397d8' # str | The ID of the import job whose status will be returned. # str | The ID of the import job whose status will be returned. + try: + # Get import job status + + results = SPConfigApi(api_client).get_sp_config_import_status(id=id) + # Below is a request that includes all optional parameters + # results = SPConfigApi(api_client).get_sp_config_import_status(id) + print("The response of SPConfigApi->get_sp_config_import_status:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling SPConfigApi->get_sp_config_import_status: %s\n" % e) +- path: /sp-config/import + method: POST + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/beta/methods/sp-config#import-sp-config + source: | + from sailpoint.beta.api.sp_config_api import SPConfigApi + from sailpoint.beta.api_client import ApiClient + from sailpoint.beta.models.import_options import ImportOptions + from sailpoint.beta.models.sp_config_job import SpConfigJob + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + data = None # bytearray | JSON file containing the objects to be imported. # bytearray | JSON file containing the objects to be imported. + preview = False # bool | This option is intended to give the user information about how an import operation would proceed, without having any effect on the target tenant. If this parameter is \"true\", no objects will be imported. Instead, the import process will pre-process the import file and attempt to resolve references within imported objects. The import result file will contain messages pertaining to how specific references were resolved, any errors associated with the preprocessing, and messages indicating which objects would be imported. (optional) (default to False) # bool | This option is intended to give the user information about how an import operation would proceed, without having any effect on the target tenant. If this parameter is \"true\", no objects will be imported. Instead, the import process will pre-process the import file and attempt to resolve references within imported objects. The import result file will contain messages pertaining to how specific references were resolved, any errors associated with the preprocessing, and messages indicating which objects would be imported. (optional) (default to False) + options = '''sailpoint.beta.ImportOptions()''' # ImportOptions | (optional) + try: + # Initiates configuration objects import job + + results = SPConfigApi(api_client).import_sp_config(data=data) + # Below is a request that includes all optional parameters + # results = SPConfigApi(api_client).import_sp_config(data, preview, options) + print("The response of SPConfigApi->import_sp_config:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling SPConfigApi->import_sp_config: %s\n" % e) +- path: /sp-config/config-objects + method: GET + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/beta/methods/sp-config#list-sp-config-objects + source: | + from sailpoint.beta.api.sp_config_api import SPConfigApi + from sailpoint.beta.api_client import ApiClient + from sailpoint.beta.models.sp_config_object import SpConfigObject + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + try: + # List Config Objects + + results = SPConfigApi(api_client).list_sp_config_objects() + # Below is a request that includes all optional parameters + # results = SPConfigApi(api_client).list_sp_config_objects() + print("The response of SPConfigApi->list_sp_config_objects:\n") + for item in results: + print(item.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling SPConfigApi->list_sp_config_objects: %s\n" % e) - path: /suggested-entitlement-description-batches/{batchId}/stats method: GET xCodeSample: @@ -16185,6 +16185,518 @@ print(item.model_dump_json(by_alias=True, indent=4)) except Exception as e: print("Exception when calling VendorConnectorMappingsApi->get_vendor_connector_mappings: %s\n" % e) +- path: /workflow-executions/{id}/cancel + method: POST + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/beta/methods/workflows#cancel-workflow-execution + source: | + from sailpoint.beta.api.workflows_api import WorkflowsApi + from sailpoint.beta.api_client import ApiClient + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + id = 'c17bea3a-574d-453c-9e04-4365fbf5af0b' # str | The workflow execution ID # str | The workflow execution ID + try: + # Cancel Workflow Execution by ID + + WorkflowsApi(api_client).cancel_workflow_execution(id=id) + # Below is a request that includes all optional parameters + # WorkflowsApi(api_client).cancel_workflow_execution(id) + except Exception as e: + print("Exception when calling WorkflowsApi->cancel_workflow_execution: %s\n" % e) +- path: /workflows + method: POST + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/beta/methods/workflows#create-workflow + source: | + from sailpoint.beta.api.workflows_api import WorkflowsApi + from sailpoint.beta.api_client import ApiClient + from sailpoint.beta.models.create_workflow_request import CreateWorkflowRequest + from sailpoint.beta.models.workflow import Workflow + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + create_workflow_request = '''{name=Send Email, owner={type=IDENTITY, id=2c91808568c529c60168cca6f90c1313, name=William Wilson}, description=Send an email to the identity who's attributes changed., definition={start=Send Email Test, steps={Send Email={actionId=sp:send-email, attributes={body=This is a test, from=sailpoint@sailpoint.com, recipientId.$=$.identity.id, subject=test}, nextStep=success, selectResult=null, type=action}, success={type=success}}}, enabled=false, trigger={type=EVENT, attributes={id=idn:identity-attributes-changed, filter=$.changes[?(@.attribute == 'manager')]}}}''' # CreateWorkflowRequest | + try: + # Create Workflow + new_create_workflow_request = CreateWorkflowRequest.from_json(create_workflow_request) + results = WorkflowsApi(api_client).create_workflow(create_workflow_request=new_create_workflow_request) + # Below is a request that includes all optional parameters + # results = WorkflowsApi(api_client).create_workflow(new_create_workflow_request) + print("The response of WorkflowsApi->create_workflow:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling WorkflowsApi->create_workflow: %s\n" % e) +- path: /workflows/{id} + method: DELETE + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/beta/methods/workflows#delete-workflow + source: | + from sailpoint.beta.api.workflows_api import WorkflowsApi + from sailpoint.beta.api_client import ApiClient + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + id = 'c17bea3a-574d-453c-9e04-4365fbf5af0b' # str | Id of the Workflow # str | Id of the Workflow + try: + # Delete Workflow By Id + + WorkflowsApi(api_client).delete_workflow(id=id) + # Below is a request that includes all optional parameters + # WorkflowsApi(api_client).delete_workflow(id) + except Exception as e: + print("Exception when calling WorkflowsApi->delete_workflow: %s\n" % e) +- path: /workflows/{id} + method: GET + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/beta/methods/workflows#get-workflow + source: | + from sailpoint.beta.api.workflows_api import WorkflowsApi + from sailpoint.beta.api_client import ApiClient + from sailpoint.beta.models.workflow import Workflow + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + id = 'c17bea3a-574d-453c-9e04-4365fbf5af0b' # str | Id of the workflow # str | Id of the workflow + workflow_metrics = True # bool | disable workflow metrics (optional) (default to True) # bool | disable workflow metrics (optional) (default to True) + try: + # Get Workflow By Id + + results = WorkflowsApi(api_client).get_workflow(id=id) + # Below is a request that includes all optional parameters + # results = WorkflowsApi(api_client).get_workflow(id, workflow_metrics) + print("The response of WorkflowsApi->get_workflow:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling WorkflowsApi->get_workflow: %s\n" % e) +- path: /workflow-executions/{id} + method: GET + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/beta/methods/workflows#get-workflow-execution + source: | + from sailpoint.beta.api.workflows_api import WorkflowsApi + from sailpoint.beta.api_client import ApiClient + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + id = 'c17bea3a-574d-453c-9e04-4365fbf5af0b' # str | Workflow execution ID. # str | Workflow execution ID. + try: + # Get Workflow Execution + + results = WorkflowsApi(api_client).get_workflow_execution(id=id) + # Below is a request that includes all optional parameters + # results = WorkflowsApi(api_client).get_workflow_execution(id) + print("The response of WorkflowsApi->get_workflow_execution:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling WorkflowsApi->get_workflow_execution: %s\n" % e) +- path: /workflow-executions/{id}/history + method: GET + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/beta/methods/workflows#get-workflow-execution-history + source: | + from sailpoint.beta.api.workflows_api import WorkflowsApi + from sailpoint.beta.api_client import ApiClient + from sailpoint.beta.models.workflow_execution_event import WorkflowExecutionEvent + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + id = 'c17bea3a-574d-453c-9e04-4365fbf5af0b' # str | Id of the workflow execution # str | Id of the workflow execution + try: + # Get Workflow Execution History + + results = WorkflowsApi(api_client).get_workflow_execution_history(id=id) + # Below is a request that includes all optional parameters + # results = WorkflowsApi(api_client).get_workflow_execution_history(id) + print("The response of WorkflowsApi->get_workflow_execution_history:\n") + for item in results: + print(item.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling WorkflowsApi->get_workflow_execution_history: %s\n" % e) +- path: /workflows/{id}/executions + method: GET + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/beta/methods/workflows#get-workflow-executions + source: | + from sailpoint.beta.api.workflows_api import WorkflowsApi + from sailpoint.beta.api_client import ApiClient + from sailpoint.beta.models.workflow_execution import WorkflowExecution + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + id = 'c17bea3a-574d-453c-9e04-4365fbf5af0b' # str | Workflow ID. # str | Workflow ID. + 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) + offset = 0 # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) + count = False # bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to False) # bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to False) + filters = 'status eq \"Failed\"' # str | Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **startTime**: *eq, lt, le, gt, ge* **status**: *eq* (optional) # str | Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **startTime**: *eq, lt, le, gt, ge* **status**: *eq* (optional) + try: + # List Workflow Executions + + results = WorkflowsApi(api_client).get_workflow_executions(id=id) + # Below is a request that includes all optional parameters + # results = WorkflowsApi(api_client).get_workflow_executions(id, limit, offset, count, filters) + print("The response of WorkflowsApi->get_workflow_executions:\n") + for item in results: + print(item.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling WorkflowsApi->get_workflow_executions: %s\n" % e) +- path: /workflow-library + method: GET + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/beta/methods/workflows#list-complete-workflow-library + source: | + from sailpoint.beta.api.workflows_api import WorkflowsApi + from sailpoint.beta.api_client import ApiClient + from sailpoint.beta.models.list_complete_workflow_library200_response_inner import ListCompleteWorkflowLibrary200ResponseInner + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + 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) + offset = 0 # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) + try: + # List Complete Workflow Library + + results = WorkflowsApi(api_client).list_complete_workflow_library() + # Below is a request that includes all optional parameters + # results = WorkflowsApi(api_client).list_complete_workflow_library(limit, offset) + print("The response of WorkflowsApi->list_complete_workflow_library:\n") + for item in results: + print(item.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling WorkflowsApi->list_complete_workflow_library: %s\n" % e) +- path: /workflow-library/actions + method: GET + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/beta/methods/workflows#list-workflow-library-actions + source: | + from sailpoint.beta.api.workflows_api import WorkflowsApi + from sailpoint.beta.api_client import ApiClient + from sailpoint.beta.models.workflow_library_action import WorkflowLibraryAction + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + 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) + offset = 0 # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) + filters = 'id eq \"sp:create-campaign\"' # str | Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **id**: *eq* (optional) # str | Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **id**: *eq* (optional) + try: + # List Workflow Library Actions + + results = WorkflowsApi(api_client).list_workflow_library_actions() + # Below is a request that includes all optional parameters + # results = WorkflowsApi(api_client).list_workflow_library_actions(limit, offset, filters) + print("The response of WorkflowsApi->list_workflow_library_actions:\n") + for item in results: + print(item.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling WorkflowsApi->list_workflow_library_actions: %s\n" % e) +- path: /workflow-library/operators + method: GET + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/beta/methods/workflows#list-workflow-library-operators + source: | + from sailpoint.beta.api.workflows_api import WorkflowsApi + from sailpoint.beta.api_client import ApiClient + from sailpoint.beta.models.workflow_library_operator import WorkflowLibraryOperator + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + try: + # List Workflow Library Operators + + results = WorkflowsApi(api_client).list_workflow_library_operators() + # Below is a request that includes all optional parameters + # results = WorkflowsApi(api_client).list_workflow_library_operators() + print("The response of WorkflowsApi->list_workflow_library_operators:\n") + for item in results: + print(item.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling WorkflowsApi->list_workflow_library_operators: %s\n" % e) +- path: /workflow-library/triggers + method: GET + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/beta/methods/workflows#list-workflow-library-triggers + source: | + from sailpoint.beta.api.workflows_api import WorkflowsApi + from sailpoint.beta.api_client import ApiClient + from sailpoint.beta.models.workflow_library_trigger import WorkflowLibraryTrigger + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + 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) + offset = 0 # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) + filters = 'id eq \"idn:identity-attributes-changed\"' # str | Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **id**: *eq* (optional) # str | Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **id**: *eq* (optional) + try: + # List Workflow Library Triggers + + results = WorkflowsApi(api_client).list_workflow_library_triggers() + # Below is a request that includes all optional parameters + # results = WorkflowsApi(api_client).list_workflow_library_triggers(limit, offset, filters) + print("The response of WorkflowsApi->list_workflow_library_triggers:\n") + for item in results: + print(item.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling WorkflowsApi->list_workflow_library_triggers: %s\n" % e) +- path: /workflows + method: GET + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/beta/methods/workflows#list-workflows + source: | + from sailpoint.beta.api.workflows_api import WorkflowsApi + from sailpoint.beta.api_client import ApiClient + from sailpoint.beta.models.workflow import Workflow + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + 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) + offset = 0 # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) + trigger_id = 'idn:identity-created' # str | Trigger ID (optional) # str | Trigger ID (optional) + connector_instance_id = '28541fec-bb81-4ad4-88ef-0f7d213adcad' # str | Connector Instance ID (optional) # str | Connector Instance ID (optional) + try: + # List Workflows + + results = WorkflowsApi(api_client).list_workflows() + # Below is a request that includes all optional parameters + # results = WorkflowsApi(api_client).list_workflows(limit, offset, trigger_id, connector_instance_id) + print("The response of WorkflowsApi->list_workflows:\n") + for item in results: + print(item.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling WorkflowsApi->list_workflows: %s\n" % e) +- path: /workflows/{id} + method: PATCH + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/beta/methods/workflows#patch-workflow + source: | + from sailpoint.beta.api.workflows_api import WorkflowsApi + from sailpoint.beta.api_client import ApiClient + from sailpoint.beta.models.json_patch_operation import JsonPatchOperation + from sailpoint.beta.models.workflow import Workflow + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + id = 'c17bea3a-574d-453c-9e04-4365fbf5af0b' # str | Id of the Workflow # str | Id of the Workflow + json_patch_operation = '''[{op=replace, path=/name, value=Send Email}, {op=replace, path=/owner, value={type=IDENTITY, id=2c91808568c529c60168cca6f90c1313, name=William Wilson}}, {op=replace, path=/description, value=Send an email to the identity who's attributes changed.}, {op=replace, path=/enabled, value=false}, {op=replace, path=/definition, value={start=Send Email Test, steps={Send Email={actionId=sp:send-email, attributes={body=This is a test, from=sailpoint@sailpoint.com, recipientId.$=$.identity.id, subject=test}, nextStep=success, selectResult=null, type=action}, success={type=success}}}}, {op=replace, path=/trigger, value={type=EVENT, attributes={id=idn:identity-attributes-changed}}}]''' # List[JsonPatchOperation] | + try: + # Patch Workflow + new_json_patch_operation = JsonPatchOperation.from_json(json_patch_operation) + results = WorkflowsApi(api_client).patch_workflow(id=id, json_patch_operation=new_json_patch_operation) + # Below is a request that includes all optional parameters + # results = WorkflowsApi(api_client).patch_workflow(id, new_json_patch_operation) + print("The response of WorkflowsApi->patch_workflow:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling WorkflowsApi->patch_workflow: %s\n" % e) +- path: /workflows/execute/external/{id} + method: POST + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/beta/methods/workflows#post-external-execute-workflow + source: | + from sailpoint.beta.api.workflows_api import WorkflowsApi + from sailpoint.beta.api_client import ApiClient + from sailpoint.beta.models.post_external_execute_workflow200_response import PostExternalExecuteWorkflow200Response + from sailpoint.beta.models.post_external_execute_workflow_request import PostExternalExecuteWorkflowRequest + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + id = 'c17bea3a-574d-453c-9e04-4365fbf5af0b' # str | Id of the workflow # str | Id of the workflow + post_external_execute_workflow_request = '''sailpoint.beta.PostExternalExecuteWorkflowRequest()''' # PostExternalExecuteWorkflowRequest | (optional) + try: + # Execute Workflow via External Trigger + + results = WorkflowsApi(api_client).post_external_execute_workflow(id=id) + # Below is a request that includes all optional parameters + # results = WorkflowsApi(api_client).post_external_execute_workflow(id, new_post_external_execute_workflow_request) + print("The response of WorkflowsApi->post_external_execute_workflow:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling WorkflowsApi->post_external_execute_workflow: %s\n" % e) +- path: /workflows/{id}/external/oauth-clients + method: POST + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/beta/methods/workflows#post-workflow-external-trigger + source: | + from sailpoint.beta.api.workflows_api import WorkflowsApi + from sailpoint.beta.api_client import ApiClient + from sailpoint.beta.models.workflow_o_auth_client import WorkflowOAuthClient + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + id = 'c17bea3a-574d-453c-9e04-4365fbf5af0b' # str | Id of the workflow # str | Id of the workflow + try: + # Generate External Trigger OAuth Client + + results = WorkflowsApi(api_client).post_workflow_external_trigger(id=id) + # Below is a request that includes all optional parameters + # results = WorkflowsApi(api_client).post_workflow_external_trigger(id) + print("The response of WorkflowsApi->post_workflow_external_trigger:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling WorkflowsApi->post_workflow_external_trigger: %s\n" % e) +- path: /workflows/{id} + method: PUT + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/beta/methods/workflows#put-workflow + source: | + from sailpoint.beta.api.workflows_api import WorkflowsApi + from sailpoint.beta.api_client import ApiClient + from sailpoint.beta.models.workflow import Workflow + from sailpoint.beta.models.workflow_body import WorkflowBody + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + id = 'c17bea3a-574d-453c-9e04-4365fbf5af0b' # str | Id of the Workflow # str | Id of the Workflow + workflow_body = '''{ + "owner" : { + "name" : "William Wilson", + "id" : "2c91808568c529c60168cca6f90c1313", + "type" : "IDENTITY" + }, + "name" : "Send Email", + "description" : "Send an email to the identity who's attributes changed.", + "definition" : { + "start" : "Send Email Test", + "steps" : { + "Send Email" : { + "actionId" : "sp:send-email", + "attributes" : { + "body" : "This is a test", + "from" : "sailpoint@sailpoint.com", + "recipientId.$" : "$.identity.id", + "subject" : "test" + }, + "nextStep" : "success", + "type" : "ACTION" + }, + "success" : { + "type" : "success" + } + } + }, + "trigger" : { + "displayName" : "displayName", + "attributes" : { + "description" : "Triggered when an identity's manager attribute changes", + "formDefinitionId" : "Admin_Access_Request_Form", + "attributeToFilter" : "LifecycleState", + "id" : "idn:identity-attributes-changed", + "filter.$" : "$.changes[?(@.attribute == 'manager')]" + }, + "type" : "EVENT" + }, + "enabled" : false + }''' # WorkflowBody | + try: + # Update Workflow + new_workflow_body = WorkflowBody.from_json(workflow_body) + results = WorkflowsApi(api_client).put_workflow(id=id, workflow_body=new_workflow_body) + # Below is a request that includes all optional parameters + # results = WorkflowsApi(api_client).put_workflow(id, new_workflow_body) + print("The response of WorkflowsApi->put_workflow:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling WorkflowsApi->put_workflow: %s\n" % e) +- path: /workflows/execute/external/{id}/test + method: POST + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/beta/methods/workflows#test-external-execute-workflow + source: | + from sailpoint.beta.api.workflows_api import WorkflowsApi + from sailpoint.beta.api_client import ApiClient + from sailpoint.beta.models.test_external_execute_workflow200_response import TestExternalExecuteWorkflow200Response + from sailpoint.beta.models.test_external_execute_workflow_request import TestExternalExecuteWorkflowRequest + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + id = 'c17bea3a-574d-453c-9e04-4365fbf5af0b' # str | Id of the workflow # str | Id of the workflow + test_external_execute_workflow_request = '''sailpoint.beta.TestExternalExecuteWorkflowRequest()''' # TestExternalExecuteWorkflowRequest | (optional) + try: + # Test Workflow via External Trigger + + results = WorkflowsApi(api_client).test_external_execute_workflow(id=id) + # Below is a request that includes all optional parameters + # results = WorkflowsApi(api_client).test_external_execute_workflow(id, new_test_external_execute_workflow_request) + print("The response of WorkflowsApi->test_external_execute_workflow:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling WorkflowsApi->test_external_execute_workflow: %s\n" % e) +- path: /workflows/{id}/test + method: POST + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/beta/methods/workflows#test-workflow + source: | + from sailpoint.beta.api.workflows_api import WorkflowsApi + from sailpoint.beta.api_client import ApiClient + from sailpoint.beta.models.test_workflow200_response import TestWorkflow200Response + from sailpoint.beta.models.test_workflow_request import TestWorkflowRequest + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + id = 'c17bea3a-574d-453c-9e04-4365fbf5af0b' # str | Id of the workflow # str | Id of the workflow + test_workflow_request = '''{input={identity={id=ee769173319b41d19ccec6cea52f237b, name=john.doe, type=IDENTITY}, changes=[{attribute=department, oldValue=sales, newValue=marketing}, {attribute=manager, oldValue={id=ee769173319b41d19ccec6c235423237b, name=nice.guy, type=IDENTITY}, newValue={id=ee769173319b41d19ccec6c235423236c, name=mean.guy, type=IDENTITY}}, {attribute=email, oldValue=john.doe@hotmail.com, newValue=john.doe@gmail.com}]}}''' # TestWorkflowRequest | + try: + # Test Workflow By Id + new_test_workflow_request = TestWorkflowRequest.from_json(test_workflow_request) + results = WorkflowsApi(api_client).test_workflow(id=id, test_workflow_request=new_test_workflow_request) + # Below is a request that includes all optional parameters + # results = WorkflowsApi(api_client).test_workflow(id, new_test_workflow_request) + print("The response of WorkflowsApi->test_workflow:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling WorkflowsApi->test_workflow: %s\n" % e) - path: /work-items/{id}/approve/{approvalItemId} method: POST xCodeSample: @@ -16775,515 +17287,3 @@ print(results.model_dump_json(by_alias=True, indent=4)) except Exception as e: print("Exception when calling WorkReassignmentApi->put_tenant_configuration: %s\n" % e) -- path: /workflow-executions/{id}/cancel - method: POST - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/beta/methods/workflows#cancel-workflow-execution - source: | - from sailpoint.beta.api.workflows_api import WorkflowsApi - from sailpoint.beta.api_client import ApiClient - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - id = 'c17bea3a-574d-453c-9e04-4365fbf5af0b' # str | The workflow execution ID # str | The workflow execution ID - try: - # Cancel Workflow Execution by ID - - WorkflowsApi(api_client).cancel_workflow_execution(id=id) - # Below is a request that includes all optional parameters - # WorkflowsApi(api_client).cancel_workflow_execution(id) - except Exception as e: - print("Exception when calling WorkflowsApi->cancel_workflow_execution: %s\n" % e) -- path: /workflows - method: POST - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/beta/methods/workflows#create-workflow - source: | - from sailpoint.beta.api.workflows_api import WorkflowsApi - from sailpoint.beta.api_client import ApiClient - from sailpoint.beta.models.create_workflow_request import CreateWorkflowRequest - from sailpoint.beta.models.workflow import Workflow - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - create_workflow_request = '''{name=Send Email, owner={type=IDENTITY, id=2c91808568c529c60168cca6f90c1313, name=William Wilson}, description=Send an email to the identity who's attributes changed., definition={start=Send Email Test, steps={Send Email={actionId=sp:send-email, attributes={body=This is a test, from=sailpoint@sailpoint.com, recipientId.$=$.identity.id, subject=test}, nextStep=success, selectResult=null, type=action}, success={type=success}}}, enabled=false, trigger={type=EVENT, attributes={id=idn:identity-attributes-changed, filter=$.changes[?(@.attribute == 'manager')]}}}''' # CreateWorkflowRequest | - try: - # Create Workflow - new_create_workflow_request = CreateWorkflowRequest.from_json(create_workflow_request) - results = WorkflowsApi(api_client).create_workflow(create_workflow_request=new_create_workflow_request) - # Below is a request that includes all optional parameters - # results = WorkflowsApi(api_client).create_workflow(new_create_workflow_request) - print("The response of WorkflowsApi->create_workflow:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling WorkflowsApi->create_workflow: %s\n" % e) -- path: /workflows/{id} - method: DELETE - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/beta/methods/workflows#delete-workflow - source: | - from sailpoint.beta.api.workflows_api import WorkflowsApi - from sailpoint.beta.api_client import ApiClient - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - id = 'c17bea3a-574d-453c-9e04-4365fbf5af0b' # str | Id of the Workflow # str | Id of the Workflow - try: - # Delete Workflow By Id - - WorkflowsApi(api_client).delete_workflow(id=id) - # Below is a request that includes all optional parameters - # WorkflowsApi(api_client).delete_workflow(id) - except Exception as e: - print("Exception when calling WorkflowsApi->delete_workflow: %s\n" % e) -- path: /workflows/{id} - method: GET - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/beta/methods/workflows#get-workflow - source: | - from sailpoint.beta.api.workflows_api import WorkflowsApi - from sailpoint.beta.api_client import ApiClient - from sailpoint.beta.models.workflow import Workflow - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - id = 'c17bea3a-574d-453c-9e04-4365fbf5af0b' # str | Id of the workflow # str | Id of the workflow - workflow_metrics = True # bool | disable workflow metrics (optional) (default to True) # bool | disable workflow metrics (optional) (default to True) - try: - # Get Workflow By Id - - results = WorkflowsApi(api_client).get_workflow(id=id) - # Below is a request that includes all optional parameters - # results = WorkflowsApi(api_client).get_workflow(id, workflow_metrics) - print("The response of WorkflowsApi->get_workflow:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling WorkflowsApi->get_workflow: %s\n" % e) -- path: /workflow-executions/{id} - method: GET - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/beta/methods/workflows#get-workflow-execution - source: | - from sailpoint.beta.api.workflows_api import WorkflowsApi - from sailpoint.beta.api_client import ApiClient - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - id = 'c17bea3a-574d-453c-9e04-4365fbf5af0b' # str | Workflow execution ID. # str | Workflow execution ID. - try: - # Get Workflow Execution - - results = WorkflowsApi(api_client).get_workflow_execution(id=id) - # Below is a request that includes all optional parameters - # results = WorkflowsApi(api_client).get_workflow_execution(id) - print("The response of WorkflowsApi->get_workflow_execution:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling WorkflowsApi->get_workflow_execution: %s\n" % e) -- path: /workflow-executions/{id}/history - method: GET - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/beta/methods/workflows#get-workflow-execution-history - source: | - from sailpoint.beta.api.workflows_api import WorkflowsApi - from sailpoint.beta.api_client import ApiClient - from sailpoint.beta.models.workflow_execution_event import WorkflowExecutionEvent - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - id = 'c17bea3a-574d-453c-9e04-4365fbf5af0b' # str | Id of the workflow execution # str | Id of the workflow execution - try: - # Get Workflow Execution History - - results = WorkflowsApi(api_client).get_workflow_execution_history(id=id) - # Below is a request that includes all optional parameters - # results = WorkflowsApi(api_client).get_workflow_execution_history(id) - print("The response of WorkflowsApi->get_workflow_execution_history:\n") - for item in results: - print(item.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling WorkflowsApi->get_workflow_execution_history: %s\n" % e) -- path: /workflows/{id}/executions - method: GET - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/beta/methods/workflows#get-workflow-executions - source: | - from sailpoint.beta.api.workflows_api import WorkflowsApi - from sailpoint.beta.api_client import ApiClient - from sailpoint.beta.models.workflow_execution import WorkflowExecution - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - id = 'c17bea3a-574d-453c-9e04-4365fbf5af0b' # str | Workflow ID. # str | Workflow ID. - 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) - offset = 0 # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) - count = False # bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to False) # bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to False) - filters = 'status eq \"Failed\"' # str | Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **startTime**: *eq, lt, le, gt, ge* **status**: *eq* (optional) # str | Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **startTime**: *eq, lt, le, gt, ge* **status**: *eq* (optional) - try: - # List Workflow Executions - - results = WorkflowsApi(api_client).get_workflow_executions(id=id) - # Below is a request that includes all optional parameters - # results = WorkflowsApi(api_client).get_workflow_executions(id, limit, offset, count, filters) - print("The response of WorkflowsApi->get_workflow_executions:\n") - for item in results: - print(item.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling WorkflowsApi->get_workflow_executions: %s\n" % e) -- path: /workflow-library - method: GET - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/beta/methods/workflows#list-complete-workflow-library - source: | - from sailpoint.beta.api.workflows_api import WorkflowsApi - from sailpoint.beta.api_client import ApiClient - from sailpoint.beta.models.list_complete_workflow_library200_response_inner import ListCompleteWorkflowLibrary200ResponseInner - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - 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) - offset = 0 # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) - try: - # List Complete Workflow Library - - results = WorkflowsApi(api_client).list_complete_workflow_library() - # Below is a request that includes all optional parameters - # results = WorkflowsApi(api_client).list_complete_workflow_library(limit, offset) - print("The response of WorkflowsApi->list_complete_workflow_library:\n") - for item in results: - print(item.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling WorkflowsApi->list_complete_workflow_library: %s\n" % e) -- path: /workflow-library/actions - method: GET - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/beta/methods/workflows#list-workflow-library-actions - source: | - from sailpoint.beta.api.workflows_api import WorkflowsApi - from sailpoint.beta.api_client import ApiClient - from sailpoint.beta.models.workflow_library_action import WorkflowLibraryAction - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - 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) - offset = 0 # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) - filters = 'id eq \"sp:create-campaign\"' # str | Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **id**: *eq* (optional) # str | Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **id**: *eq* (optional) - try: - # List Workflow Library Actions - - results = WorkflowsApi(api_client).list_workflow_library_actions() - # Below is a request that includes all optional parameters - # results = WorkflowsApi(api_client).list_workflow_library_actions(limit, offset, filters) - print("The response of WorkflowsApi->list_workflow_library_actions:\n") - for item in results: - print(item.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling WorkflowsApi->list_workflow_library_actions: %s\n" % e) -- path: /workflow-library/operators - method: GET - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/beta/methods/workflows#list-workflow-library-operators - source: | - from sailpoint.beta.api.workflows_api import WorkflowsApi - from sailpoint.beta.api_client import ApiClient - from sailpoint.beta.models.workflow_library_operator import WorkflowLibraryOperator - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - try: - # List Workflow Library Operators - - results = WorkflowsApi(api_client).list_workflow_library_operators() - # Below is a request that includes all optional parameters - # results = WorkflowsApi(api_client).list_workflow_library_operators() - print("The response of WorkflowsApi->list_workflow_library_operators:\n") - for item in results: - print(item.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling WorkflowsApi->list_workflow_library_operators: %s\n" % e) -- path: /workflow-library/triggers - method: GET - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/beta/methods/workflows#list-workflow-library-triggers - source: | - from sailpoint.beta.api.workflows_api import WorkflowsApi - from sailpoint.beta.api_client import ApiClient - from sailpoint.beta.models.workflow_library_trigger import WorkflowLibraryTrigger - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - 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) - offset = 0 # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) - filters = 'id eq \"idn:identity-attributes-changed\"' # str | Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **id**: *eq* (optional) # str | Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **id**: *eq* (optional) - try: - # List Workflow Library Triggers - - results = WorkflowsApi(api_client).list_workflow_library_triggers() - # Below is a request that includes all optional parameters - # results = WorkflowsApi(api_client).list_workflow_library_triggers(limit, offset, filters) - print("The response of WorkflowsApi->list_workflow_library_triggers:\n") - for item in results: - print(item.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling WorkflowsApi->list_workflow_library_triggers: %s\n" % e) -- path: /workflows - method: GET - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/beta/methods/workflows#list-workflows - source: | - from sailpoint.beta.api.workflows_api import WorkflowsApi - from sailpoint.beta.api_client import ApiClient - from sailpoint.beta.models.workflow import Workflow - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - 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) - offset = 0 # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) - trigger_id = 'idn:identity-created' # str | Trigger ID (optional) # str | Trigger ID (optional) - connector_instance_id = '28541fec-bb81-4ad4-88ef-0f7d213adcad' # str | Connector Instance ID (optional) # str | Connector Instance ID (optional) - try: - # List Workflows - - results = WorkflowsApi(api_client).list_workflows() - # Below is a request that includes all optional parameters - # results = WorkflowsApi(api_client).list_workflows(limit, offset, trigger_id, connector_instance_id) - print("The response of WorkflowsApi->list_workflows:\n") - for item in results: - print(item.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling WorkflowsApi->list_workflows: %s\n" % e) -- path: /workflows/{id} - method: PATCH - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/beta/methods/workflows#patch-workflow - source: | - from sailpoint.beta.api.workflows_api import WorkflowsApi - from sailpoint.beta.api_client import ApiClient - from sailpoint.beta.models.json_patch_operation import JsonPatchOperation - from sailpoint.beta.models.workflow import Workflow - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - id = 'c17bea3a-574d-453c-9e04-4365fbf5af0b' # str | Id of the Workflow # str | Id of the Workflow - json_patch_operation = '''[{op=replace, path=/name, value=Send Email}, {op=replace, path=/owner, value={type=IDENTITY, id=2c91808568c529c60168cca6f90c1313, name=William Wilson}}, {op=replace, path=/description, value=Send an email to the identity who's attributes changed.}, {op=replace, path=/enabled, value=false}, {op=replace, path=/definition, value={start=Send Email Test, steps={Send Email={actionId=sp:send-email, attributes={body=This is a test, from=sailpoint@sailpoint.com, recipientId.$=$.identity.id, subject=test}, nextStep=success, selectResult=null, type=action}, success={type=success}}}}, {op=replace, path=/trigger, value={type=EVENT, attributes={id=idn:identity-attributes-changed}}}]''' # List[JsonPatchOperation] | - try: - # Patch Workflow - new_json_patch_operation = JsonPatchOperation.from_json(json_patch_operation) - results = WorkflowsApi(api_client).patch_workflow(id=id, json_patch_operation=new_json_patch_operation) - # Below is a request that includes all optional parameters - # results = WorkflowsApi(api_client).patch_workflow(id, new_json_patch_operation) - print("The response of WorkflowsApi->patch_workflow:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling WorkflowsApi->patch_workflow: %s\n" % e) -- path: /workflows/execute/external/{id} - method: POST - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/beta/methods/workflows#post-external-execute-workflow - source: | - from sailpoint.beta.api.workflows_api import WorkflowsApi - from sailpoint.beta.api_client import ApiClient - from sailpoint.beta.models.post_external_execute_workflow200_response import PostExternalExecuteWorkflow200Response - from sailpoint.beta.models.post_external_execute_workflow_request import PostExternalExecuteWorkflowRequest - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - id = 'c17bea3a-574d-453c-9e04-4365fbf5af0b' # str | Id of the workflow # str | Id of the workflow - post_external_execute_workflow_request = '''sailpoint.beta.PostExternalExecuteWorkflowRequest()''' # PostExternalExecuteWorkflowRequest | (optional) - try: - # Execute Workflow via External Trigger - - results = WorkflowsApi(api_client).post_external_execute_workflow(id=id) - # Below is a request that includes all optional parameters - # results = WorkflowsApi(api_client).post_external_execute_workflow(id, new_post_external_execute_workflow_request) - print("The response of WorkflowsApi->post_external_execute_workflow:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling WorkflowsApi->post_external_execute_workflow: %s\n" % e) -- path: /workflows/{id}/external/oauth-clients - method: POST - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/beta/methods/workflows#post-workflow-external-trigger - source: | - from sailpoint.beta.api.workflows_api import WorkflowsApi - from sailpoint.beta.api_client import ApiClient - from sailpoint.beta.models.workflow_o_auth_client import WorkflowOAuthClient - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - id = 'c17bea3a-574d-453c-9e04-4365fbf5af0b' # str | Id of the workflow # str | Id of the workflow - try: - # Generate External Trigger OAuth Client - - results = WorkflowsApi(api_client).post_workflow_external_trigger(id=id) - # Below is a request that includes all optional parameters - # results = WorkflowsApi(api_client).post_workflow_external_trigger(id) - print("The response of WorkflowsApi->post_workflow_external_trigger:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling WorkflowsApi->post_workflow_external_trigger: %s\n" % e) -- path: /workflows/{id} - method: PUT - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/beta/methods/workflows#put-workflow - source: | - from sailpoint.beta.api.workflows_api import WorkflowsApi - from sailpoint.beta.api_client import ApiClient - from sailpoint.beta.models.workflow import Workflow - from sailpoint.beta.models.workflow_body import WorkflowBody - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - id = 'c17bea3a-574d-453c-9e04-4365fbf5af0b' # str | Id of the Workflow # str | Id of the Workflow - workflow_body = '''{ - "owner" : { - "name" : "William Wilson", - "id" : "2c91808568c529c60168cca6f90c1313", - "type" : "IDENTITY" - }, - "name" : "Send Email", - "description" : "Send an email to the identity who's attributes changed.", - "definition" : { - "start" : "Send Email Test", - "steps" : { - "Send Email" : { - "actionId" : "sp:send-email", - "attributes" : { - "body" : "This is a test", - "from" : "sailpoint@sailpoint.com", - "recipientId.$" : "$.identity.id", - "subject" : "test" - }, - "nextStep" : "success", - "type" : "ACTION" - }, - "success" : { - "type" : "success" - } - } - }, - "trigger" : { - "displayName" : "displayName", - "attributes" : { - "description" : "Triggered when an identity's manager attribute changes", - "formDefinitionId" : "Admin_Access_Request_Form", - "attributeToFilter" : "LifecycleState", - "id" : "idn:identity-attributes-changed", - "filter.$" : "$.changes[?(@.attribute == 'manager')]" - }, - "type" : "EVENT" - }, - "enabled" : false - }''' # WorkflowBody | - try: - # Update Workflow - new_workflow_body = WorkflowBody.from_json(workflow_body) - results = WorkflowsApi(api_client).put_workflow(id=id, workflow_body=new_workflow_body) - # Below is a request that includes all optional parameters - # results = WorkflowsApi(api_client).put_workflow(id, new_workflow_body) - print("The response of WorkflowsApi->put_workflow:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling WorkflowsApi->put_workflow: %s\n" % e) -- path: /workflows/execute/external/{id}/test - method: POST - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/beta/methods/workflows#test-external-execute-workflow - source: | - from sailpoint.beta.api.workflows_api import WorkflowsApi - from sailpoint.beta.api_client import ApiClient - from sailpoint.beta.models.test_external_execute_workflow200_response import TestExternalExecuteWorkflow200Response - from sailpoint.beta.models.test_external_execute_workflow_request import TestExternalExecuteWorkflowRequest - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - id = 'c17bea3a-574d-453c-9e04-4365fbf5af0b' # str | Id of the workflow # str | Id of the workflow - test_external_execute_workflow_request = '''sailpoint.beta.TestExternalExecuteWorkflowRequest()''' # TestExternalExecuteWorkflowRequest | (optional) - try: - # Test Workflow via External Trigger - - results = WorkflowsApi(api_client).test_external_execute_workflow(id=id) - # Below is a request that includes all optional parameters - # results = WorkflowsApi(api_client).test_external_execute_workflow(id, new_test_external_execute_workflow_request) - print("The response of WorkflowsApi->test_external_execute_workflow:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling WorkflowsApi->test_external_execute_workflow: %s\n" % e) -- path: /workflows/{id}/test - method: POST - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/beta/methods/workflows#test-workflow - source: | - from sailpoint.beta.api.workflows_api import WorkflowsApi - from sailpoint.beta.api_client import ApiClient - from sailpoint.beta.models.test_workflow200_response import TestWorkflow200Response - from sailpoint.beta.models.test_workflow_request import TestWorkflowRequest - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - id = 'c17bea3a-574d-453c-9e04-4365fbf5af0b' # str | Id of the workflow # str | Id of the workflow - test_workflow_request = '''{input={identity={id=ee769173319b41d19ccec6cea52f237b, name=john.doe, type=IDENTITY}, changes=[{attribute=department, oldValue=sales, newValue=marketing}, {attribute=manager, oldValue={id=ee769173319b41d19ccec6c235423237b, name=nice.guy, type=IDENTITY}, newValue={id=ee769173319b41d19ccec6c235423236c, name=mean.guy, type=IDENTITY}}, {attribute=email, oldValue=john.doe@hotmail.com, newValue=john.doe@gmail.com}]}}''' # TestWorkflowRequest | - try: - # Test Workflow By Id - new_test_workflow_request = TestWorkflowRequest.from_json(test_workflow_request) - results = WorkflowsApi(api_client).test_workflow(id=id, test_workflow_request=new_test_workflow_request) - # Below is a request that includes all optional parameters - # results = WorkflowsApi(api_client).test_workflow(id, new_test_workflow_request) - print("The response of WorkflowsApi->test_workflow:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling WorkflowsApi->test_workflow: %s\n" % e) diff --git a/static/code-examples/v2024/python_code_examples_overlay.yaml b/static/code-examples/v2024/python_code_examples_overlay.yaml index 4d964affd..6cc408673 100644 --- a/static/code-examples/v2024/python_code_examples_overlay.yaml +++ b/static/code-examples/v2024/python_code_examples_overlay.yaml @@ -10,7 +10,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: key = 'iscPrivacy' # str | Technical name of the Attribute. # str | Technical name of the Attribute. @@ -37,7 +37,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: key = 'iscPrivacy' # str | Technical name of the Attribute. # str | Technical name of the Attribute. @@ -65,7 +65,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -93,7 +93,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: key = 'iscPrivacy' # str | Technical name of the Attribute. # str | Technical name of the Attribute. @@ -399,7 +399,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -751,7 +751,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -1290,7 +1290,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: id = '2c91808477a6b0c60177a81146b8110b' # str | The account aggregation id # str | The account aggregation id @@ -1305,36 +1305,6 @@ print(results.model_dump_json(by_alias=True, indent=4)) except Exception as e: print("Exception when calling AccountAggregationsApi->get_account_aggregation_status: %s\n" % e) -- path: /account-usages/{accountId}/summaries - method: GET - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v2024/methods/account-usages#get-usages-by-account-id - source: | - from sailpoint.v2024.api.account_usages_api import AccountUsagesApi - from sailpoint.v2024.api_client import ApiClient - from sailpoint.v2024.models.account_usage import AccountUsage - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - account_id = 'ef38f94347e94562b5bb8424a56397d8' # str | ID of IDN account # str | ID of IDN account - 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) - offset = 0 # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) - count = False # bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to False) # bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to False) - sorters = '-date' # str | Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **date** (optional) # str | Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **date** (optional) - try: - # Returns account usage insights - - results = AccountUsagesApi(api_client).get_usages_by_account_id(account_id=account_id) - # Below is a request that includes all optional parameters - # results = AccountUsagesApi(api_client).get_usages_by_account_id(account_id, limit, offset, count, sorters) - print("The response of AccountUsagesApi->get_usages_by_account_id:\n") - for item in results: - print(item.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling AccountUsagesApi->get_usages_by_account_id: %s\n" % e) - path: /accounts method: POST xCodeSample: @@ -1407,7 +1377,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: id = 'c350d6aa4f104c61b062cb632421ad10' # str | The account id # str | The account id @@ -1463,7 +1433,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: id = '2c91808384203c2d018437e631158309' # str | The identity id. # str | The identity id. @@ -1491,7 +1461,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -1550,7 +1520,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: id = '2c91808384203c2d018437e631158309' # str | The identity id. # str | The identity id. @@ -1578,7 +1548,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -1797,6 +1767,36 @@ print(results.model_dump_json(by_alias=True, indent=4)) except Exception as e: print("Exception when calling AccountsApi->update_account: %s\n" % e) +- path: /account-usages/{accountId}/summaries + method: GET + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v2024/methods/account-usages#get-usages-by-account-id + source: | + from sailpoint.v2024.api.account_usages_api import AccountUsagesApi + from sailpoint.v2024.api_client import ApiClient + from sailpoint.v2024.models.account_usage import AccountUsage + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + account_id = 'ef38f94347e94562b5bb8424a56397d8' # str | ID of IDN account # str | ID of IDN account + 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) + offset = 0 # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) + count = False # bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to False) # bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to False) + sorters = '-date' # str | Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **date** (optional) # str | Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **date** (optional) + try: + # Returns account usage insights + + results = AccountUsagesApi(api_client).get_usages_by_account_id(account_id=account_id) + # Below is a request that includes all optional parameters + # results = AccountUsagesApi(api_client).get_usages_by_account_id(account_id, limit, offset, count, sorters) + print("The response of AccountUsagesApi->get_usages_by_account_id:\n") + for item in results: + print(item.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling AccountUsagesApi->get_usages_by_account_id: %s\n" % e) - path: /discovered-applications method: GET xCodeSample: @@ -1885,7 +1885,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: id = '38453251-6be2-5f8f-df93-5ce19e295837' # str | ID of the approval that is to be returned # str | ID of the approval that is to be returned @@ -1912,7 +1912,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -1943,7 +1943,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -1979,7 +1979,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: id = '2c91808a7813090a017814121e121518' # str | ID of the source app # str | ID of the source app @@ -2009,7 +2009,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: id = '2c9180835d191a86015d28455b4a2329' # str | source app ID. # str | source app ID. @@ -2036,7 +2036,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: id = '2c91808a7813090a017814121e121518' # str | ID of the source app # str | ID of the source app @@ -2063,7 +2063,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: id = '2c91808a7813090a017814121e121518' # str | ID of the source app # str | ID of the source app @@ -2094,7 +2094,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -2126,7 +2126,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: filters = 'name eq \"user app name\"' # str | Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **id**: *eq* **ownerId**: *eq* **ownerName**: *eq, sw* **ownerAlias**: *eq, sw* **accountId**: *eq* **sourceAppId**: *eq* # str | Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **id**: *eq* **ownerId**: *eq* **ownerName**: *eq, sw* **ownerAlias**: *eq, sw* **accountId**: *eq* **sourceAppId**: *eq* @@ -2157,7 +2157,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -2189,7 +2189,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: id = '2c91808a7813090a017814121e121518' # str | ID of the user app # str | ID of the user app @@ -2219,7 +2219,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -2251,7 +2251,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -2283,7 +2283,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: id = '2c91808a7813090a017814121e121518' # str | ID of the source app to patch # str | ID of the source app to patch @@ -2312,7 +2312,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: id = '2c91808a7813090a017814121e121518' # str | ID of the user app to patch # str | ID of the user app to patch @@ -2340,7 +2340,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -2376,7 +2376,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -2403,7 +2403,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -2431,7 +2431,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: id = '2c91808a7813090a017814121919ecca' # str | ID of the Auth Profile to patch. # str | ID of the Auth Profile to patch. @@ -3625,121 +3625,6 @@ print(results.model_dump_json(by_alias=True, indent=4)) except Exception as e: print("Exception when calling CertificationCampaignsApi->update_campaign: %s\n" % e) -- path: /certifications/{id}/access-summaries/{type} - method: GET - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v2024/methods/certification-summaries#get-identity-access-summaries - source: | - from sailpoint.v2024.api.certification_summaries_api import CertificationSummariesApi - from sailpoint.v2024.api_client import ApiClient - from sailpoint.v2024.models.access_summary import AccessSummary - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - id = 'ef38f94347e94562b5bb8424a56397d8' # str | The identity campaign certification ID # str | The identity campaign certification ID - type = 'ACCESS_PROFILE' # str | The type of access review item to retrieve summaries for # str | The type of access review item to retrieve summaries for - 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) - offset = 0 # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) - count = False # bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to False) # bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to False) - filters = 'access.id eq \"ef38f94347e94562b5bb8424a56397d8\"' # str | Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **completed**: *eq, ne* **access.id**: *eq, in* **access.name**: *eq, sw* **entitlement.sourceName**: *eq, sw* **accessProfile.sourceName**: *eq, sw* (optional) # str | Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **completed**: *eq, ne* **access.id**: *eq, in* **access.name**: *eq, sw* **entitlement.sourceName**: *eq, sw* **accessProfile.sourceName**: *eq, sw* (optional) - sorters = 'access.name' # str | Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **access.name** (optional) # str | Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **access.name** (optional) - try: - # Access Summaries - - results = CertificationSummariesApi(api_client).get_identity_access_summaries(id=id, type=type) - # Below is a request that includes all optional parameters - # results = CertificationSummariesApi(api_client).get_identity_access_summaries(id, type, limit, offset, count, filters, sorters) - print("The response of CertificationSummariesApi->get_identity_access_summaries:\n") - for item in results: - print(item.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling CertificationSummariesApi->get_identity_access_summaries: %s\n" % e) -- path: /certifications/{id}/decision-summary - method: GET - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v2024/methods/certification-summaries#get-identity-decision-summary - source: | - from sailpoint.v2024.api.certification_summaries_api import CertificationSummariesApi - from sailpoint.v2024.api_client import ApiClient - from sailpoint.v2024.models.identity_cert_decision_summary import IdentityCertDecisionSummary - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - id = 'ef38f94347e94562b5bb8424a56397d8' # str | The certification ID # str | The certification ID - filters = 'identitySummary.id eq \"ef38f94347e94562b5bb8424a56397d8\"' # str | Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **identitySummary.id**: *eq, in* (optional) # str | Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **identitySummary.id**: *eq, in* (optional) - try: - # Summary of Certification Decisions - - results = CertificationSummariesApi(api_client).get_identity_decision_summary(id=id) - # Below is a request that includes all optional parameters - # results = CertificationSummariesApi(api_client).get_identity_decision_summary(id, filters) - print("The response of CertificationSummariesApi->get_identity_decision_summary:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling CertificationSummariesApi->get_identity_decision_summary: %s\n" % e) -- path: /certifications/{id}/identity-summaries - method: GET - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v2024/methods/certification-summaries#get-identity-summaries - source: | - from sailpoint.v2024.api.certification_summaries_api import CertificationSummariesApi - from sailpoint.v2024.api_client import ApiClient - from sailpoint.v2024.models.certification_identity_summary import CertificationIdentitySummary - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - id = 'ef38f94347e94562b5bb8424a56397d8' # str | The identity campaign certification ID # str | The identity campaign certification ID - 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) - offset = 0 # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) - count = False # bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to False) # bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to False) - filters = 'id eq \"ef38f94347e94562b5bb8424a56397d8\"' # str | Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **id**: *eq, in* **completed**: *eq, ne* **name**: *eq, sw* (optional) # str | Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **id**: *eq, in* **completed**: *eq, ne* **name**: *eq, sw* (optional) - sorters = 'name' # str | Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **name** (optional) # str | Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **name** (optional) - try: - # Identity Summaries for Campaign Certification - - results = CertificationSummariesApi(api_client).get_identity_summaries(id=id) - # Below is a request that includes all optional parameters - # results = CertificationSummariesApi(api_client).get_identity_summaries(id, limit, offset, count, filters, sorters) - print("The response of CertificationSummariesApi->get_identity_summaries:\n") - for item in results: - print(item.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling CertificationSummariesApi->get_identity_summaries: %s\n" % e) -- path: /certifications/{id}/identity-summaries/{identitySummaryId} - method: GET - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v2024/methods/certification-summaries#get-identity-summary - source: | - from sailpoint.v2024.api.certification_summaries_api import CertificationSummariesApi - from sailpoint.v2024.api_client import ApiClient - from sailpoint.v2024.models.certification_identity_summary import CertificationIdentitySummary - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - id = 'ef38f94347e94562b5bb8424a56397d8' # str | The identity campaign certification ID # str | The identity campaign certification ID - identity_summary_id = '2c91808772a504f50172a9540e501ba8' # str | The identity summary ID # str | The identity summary ID - try: - # Summary for Identity - - results = CertificationSummariesApi(api_client).get_identity_summary(id=id, identity_summary_id=identity_summary_id) - # Below is a request that includes all optional parameters - # results = CertificationSummariesApi(api_client).get_identity_summary(id, identity_summary_id) - print("The response of CertificationSummariesApi->get_identity_summary:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling CertificationSummariesApi->get_identity_summary: %s\n" % e) - path: /certification-tasks/{id} method: GET xCodeSample: @@ -4073,6 +3958,121 @@ print(results.model_dump_json(by_alias=True, indent=4)) except Exception as e: print("Exception when calling CertificationsApi->submit_reassign_certs_async: %s\n" % e) +- path: /certifications/{id}/access-summaries/{type} + method: GET + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v2024/methods/certification-summaries#get-identity-access-summaries + source: | + from sailpoint.v2024.api.certification_summaries_api import CertificationSummariesApi + from sailpoint.v2024.api_client import ApiClient + from sailpoint.v2024.models.access_summary import AccessSummary + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + id = 'ef38f94347e94562b5bb8424a56397d8' # str | The identity campaign certification ID # str | The identity campaign certification ID + type = 'ACCESS_PROFILE' # str | The type of access review item to retrieve summaries for # str | The type of access review item to retrieve summaries for + 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) + offset = 0 # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) + count = False # bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to False) # bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to False) + filters = 'access.id eq \"ef38f94347e94562b5bb8424a56397d8\"' # str | Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **completed**: *eq, ne* **access.id**: *eq, in* **access.name**: *eq, sw* **entitlement.sourceName**: *eq, sw* **accessProfile.sourceName**: *eq, sw* (optional) # str | Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **completed**: *eq, ne* **access.id**: *eq, in* **access.name**: *eq, sw* **entitlement.sourceName**: *eq, sw* **accessProfile.sourceName**: *eq, sw* (optional) + sorters = 'access.name' # str | Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **access.name** (optional) # str | Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **access.name** (optional) + try: + # Access Summaries + + results = CertificationSummariesApi(api_client).get_identity_access_summaries(id=id, type=type) + # Below is a request that includes all optional parameters + # results = CertificationSummariesApi(api_client).get_identity_access_summaries(id, type, limit, offset, count, filters, sorters) + print("The response of CertificationSummariesApi->get_identity_access_summaries:\n") + for item in results: + print(item.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling CertificationSummariesApi->get_identity_access_summaries: %s\n" % e) +- path: /certifications/{id}/decision-summary + method: GET + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v2024/methods/certification-summaries#get-identity-decision-summary + source: | + from sailpoint.v2024.api.certification_summaries_api import CertificationSummariesApi + from sailpoint.v2024.api_client import ApiClient + from sailpoint.v2024.models.identity_cert_decision_summary import IdentityCertDecisionSummary + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + id = 'ef38f94347e94562b5bb8424a56397d8' # str | The certification ID # str | The certification ID + filters = 'identitySummary.id eq \"ef38f94347e94562b5bb8424a56397d8\"' # str | Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **identitySummary.id**: *eq, in* (optional) # str | Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **identitySummary.id**: *eq, in* (optional) + try: + # Summary of Certification Decisions + + results = CertificationSummariesApi(api_client).get_identity_decision_summary(id=id) + # Below is a request that includes all optional parameters + # results = CertificationSummariesApi(api_client).get_identity_decision_summary(id, filters) + print("The response of CertificationSummariesApi->get_identity_decision_summary:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling CertificationSummariesApi->get_identity_decision_summary: %s\n" % e) +- path: /certifications/{id}/identity-summaries + method: GET + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v2024/methods/certification-summaries#get-identity-summaries + source: | + from sailpoint.v2024.api.certification_summaries_api import CertificationSummariesApi + from sailpoint.v2024.api_client import ApiClient + from sailpoint.v2024.models.certification_identity_summary import CertificationIdentitySummary + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + id = 'ef38f94347e94562b5bb8424a56397d8' # str | The identity campaign certification ID # str | The identity campaign certification ID + 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) + offset = 0 # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) + count = False # bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to False) # bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to False) + filters = 'id eq \"ef38f94347e94562b5bb8424a56397d8\"' # str | Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **id**: *eq, in* **completed**: *eq, ne* **name**: *eq, sw* (optional) # str | Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **id**: *eq, in* **completed**: *eq, ne* **name**: *eq, sw* (optional) + sorters = 'name' # str | Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **name** (optional) # str | Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **name** (optional) + try: + # Identity Summaries for Campaign Certification + + results = CertificationSummariesApi(api_client).get_identity_summaries(id=id) + # Below is a request that includes all optional parameters + # results = CertificationSummariesApi(api_client).get_identity_summaries(id, limit, offset, count, filters, sorters) + print("The response of CertificationSummariesApi->get_identity_summaries:\n") + for item in results: + print(item.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling CertificationSummariesApi->get_identity_summaries: %s\n" % e) +- path: /certifications/{id}/identity-summaries/{identitySummaryId} + method: GET + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v2024/methods/certification-summaries#get-identity-summary + source: | + from sailpoint.v2024.api.certification_summaries_api import CertificationSummariesApi + from sailpoint.v2024.api_client import ApiClient + from sailpoint.v2024.models.certification_identity_summary import CertificationIdentitySummary + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + id = 'ef38f94347e94562b5bb8424a56397d8' # str | The identity campaign certification ID # str | The identity campaign certification ID + identity_summary_id = '2c91808772a504f50172a9540e501ba8' # str | The identity summary ID # str | The identity summary ID + try: + # Summary for Identity + + results = CertificationSummariesApi(api_client).get_identity_summary(id=id, identity_summary_id=identity_summary_id) + # Below is a request that includes all optional parameters + # results = CertificationSummariesApi(api_client).get_identity_summary(id, identity_summary_id) + print("The response of CertificationSummariesApi->get_identity_summary:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling CertificationSummariesApi->get_identity_summary: %s\n" % e) - path: /configuration-hub/deploys method: POST xCodeSample: @@ -5973,7 +5973,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -6003,7 +6003,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: page_id = 'mfa:select' # str | The page ID of custom password instructions to delete. # str | The page ID of custom password instructions to delete. @@ -6029,7 +6029,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: page_id = 'mfa:select' # str | The page ID of custom password instructions to query. # str | The page ID of custom password instructions to query. @@ -6081,7 +6081,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: id = 'ef38f943-47e9-4562-b5bb-8424a56397d8' # str | The segment ID to delete. # str | The segment ID to delete. @@ -6107,7 +6107,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: id = 'ef38f943-47e9-4562-b5bb-8424a56397d8' # str | The segment ID to retrieve. # str | The segment ID to retrieve. @@ -6133,7 +6133,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: identity_id = 'ef38f943-47e9-4562-b5bb-8424a56397d8' # str | The identity ID to retrieve the segments they are in. # str | The identity ID to retrieve the segments they are in. @@ -6159,7 +6159,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: identity_id = 'ef38f943-47e9-4562-b5bb-8424a56397d8' # str | The identity ID to retrieve if segmentation is enabled for the identity. # str | The identity ID to retrieve if segmentation is enabled for the identity. @@ -6186,7 +6186,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -6220,7 +6220,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: id = 'ef38f943-47e9-4562-b5bb-8424a56397d8' # str | The segment ID to modify. # str | The segment ID to modify. @@ -6247,7 +6247,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -6587,7 +6587,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: id = '2c91808c74ff913f0175097daa9d59cd' # str | The entitlement id. # str | The entitlement id. @@ -6615,7 +6615,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: id = '2c91808c74ff913f0175097daa9d59cd' # str | The entitlement id. # str | The entitlement id. @@ -6642,7 +6642,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: id = '2c91808874ff91550175097daaec161c' # str | The entitlement ID # str | The entitlement ID @@ -6669,7 +6669,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: id = '2c91808874ff91550175097daaec161c' # str | Entitlement Id # str | Entitlement Id @@ -6696,7 +6696,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: id = 'ef38f94347e94562b5bb8424a56397d8' # str | Source Id # str | Source Id @@ -6724,7 +6724,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: id = '2c91808874ff91550175097daaec161c' # str | Entitlement Id # str | Entitlement Id @@ -6757,7 +6757,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: id = '2c91808c74ff913f0175097daa9d59cd' # str | Entitlement Id # str | Entitlement Id @@ -6790,7 +6790,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -6827,7 +6827,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: id = '2c91808a7813090a017814121e121518' # str | ID of the entitlement to patch # str | ID of the entitlement to patch @@ -6855,7 +6855,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: id = '2c91808a7813090a017814121e121518' # str | Entitlement ID # str | Entitlement ID @@ -6888,7 +6888,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: id = '2c91808a7813090a017814121919ecca' # str | ID of source for the entitlement reset # str | ID of source for the entitlement reset @@ -6915,7 +6915,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -7180,7 +7180,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -7221,7 +7221,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: id = '2c9180837ca6693d017ca8d097500149' # str | ID of the Governance Group # str | ID of the Governance Group @@ -7247,7 +7247,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: workgroup_id = '2c91808a7813090a017814121919ecca' # str | ID of the Governance Group. # str | ID of the Governance Group. @@ -7277,7 +7277,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -7307,7 +7307,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: id = '2c9180837ca6693d017ca8d097500149' # str | ID of the Governance Group # str | ID of the Governance Group @@ -7334,7 +7334,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: workgroup_id = '2c91808a7813090a017814121919ecca' # str | ID of the Governance Group. # str | ID of the Governance Group. @@ -7366,7 +7366,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: workgroup_id = '2c91808a7813090a017814121919ecca' # str | ID of the Governance Group. # str | ID of the Governance Group. @@ -7398,7 +7398,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -7431,7 +7431,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: id = '2c9180837ca6693d017ca8d097500149' # str | ID of the Governance Group # str | ID of the Governance Group @@ -7460,7 +7460,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: workgroup_id = '2c91808a7813090a017814121919ecca' # str | ID of the Governance Group. # str | ID of the Governance Group. @@ -7490,7 +7490,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -7524,7 +7524,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -7558,7 +7558,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -7592,7 +7592,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -7620,7 +7620,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -7654,7 +7654,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -7680,7 +7680,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -7712,7 +7712,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -7744,7 +7744,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -7776,7 +7776,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -7811,7 +7811,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -7848,7 +7848,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -7880,7 +7880,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -7906,7 +7906,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -7933,7 +7933,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -7965,7 +7965,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -7998,7 +7998,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -8026,7 +8026,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: outlier_feature_id = '04654b66-7561-4090-94f9-abee0722a1af' # str | Contributing feature id # str | Contributing feature id @@ -8053,7 +8053,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: outlier_id = '2c918085842e69ae018432d22ccb212f' # str | The outlier id # str | The outlier id @@ -8085,7 +8085,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -8110,7 +8110,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: outlier_id = '2c918085842e69ae018432d22ccb212f' # str | The outlier id # str | The outlier id @@ -8143,7 +8143,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -8168,7 +8168,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True 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. @@ -8200,7 +8200,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -8245,7 +8245,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -8271,7 +8271,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -8304,7 +8304,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: session_id = '8c190e67-87aa-4ed9-a90b-d9d5344523fb' # str | The role mining session id # str | The role mining session id @@ -8342,7 +8342,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -8399,7 +8399,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: session_id = '8c190e67-87aa-4ed9-a90b-d9d5344523fb' # str | The role mining session id # str | The role mining session id @@ -8427,7 +8427,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: session_id = '8c190e67-87aa-4ed9-a90b-d9d5344523fb' # str | The role mining session id # str | The role mining session id @@ -8456,7 +8456,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: session_id = '8c190e67-87aa-4ed9-a90b-d9d5344523fb' # str | The role mining session id # str | The role mining session id @@ -8488,7 +8488,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: session_id = '8c190e67-87aa-4ed9-a90b-d9d5344523fb' # str | The role mining session id # str | The role mining session id @@ -8517,7 +8517,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -8548,7 +8548,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: session_id = '8c190e67-87aa-4ed9-a90b-d9d5344523fb' # str | The role mining session id # str | The role mining session id @@ -8577,7 +8577,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: session_id = '8c190e67-87aa-4ed9-a90b-d9d5344523fb' # str | The role mining session id # str | The role mining session id @@ -8612,7 +8612,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: session_id = '8c190e67-87aa-4ed9-a90b-d9d5344523fb' # str | The role mining session id # str | The role mining session id @@ -8646,7 +8646,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: session_id = '8c190e67-87aa-4ed9-a90b-d9d5344523fb' # str | The role mining session id # str | The role mining session id @@ -8680,7 +8680,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: session_id = '8c190e67-87aa-4ed9-a90b-d9d5344523fb' # str | The role mining session id # str | The role mining session id @@ -8708,7 +8708,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: session_id = '8c190e67-87aa-4ed9-a90b-d9d5344523fb' # str | The role mining session id # str | The role mining session id @@ -8741,7 +8741,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: session_id = '8c190e67-87aa-4ed9-a90b-d9d5344523fb' # str | The role mining session id # str | The role mining session id @@ -8774,7 +8774,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: potential_role_id = 'e0cc5d7d-bf7f-4f81-b2af-8885b09d9923' # str | A potential role id # str | A potential role id @@ -8807,7 +8807,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: session_id = '8c190e67-87aa-4ed9-a90b-d9d5344523fb' # str | The role mining session id # str | The role mining session id @@ -8840,7 +8840,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: potential_role_id = '8c190e67-87aa-4ed9-a90b-d9d5344523fb' # str | A potential role id # str | A potential role id @@ -8867,7 +8867,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: session_id = '8c190e67-87aa-4ed9-a90b-d9d5344523fb' # str | The role mining session id to be retrieved. # str | The role mining session id to be retrieved. @@ -8894,7 +8894,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: session_id = '8c190e67-87aa-4ed9-a90b-d9d5344523fb' # str | The role mining session id # str | The role mining session id @@ -8921,7 +8921,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -8953,7 +8953,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -8984,7 +8984,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: session_id = '8c190e67-87aa-4ed9-a90b-d9d5344523fb' # str | The role mining session id # str | The role mining session id @@ -9013,7 +9013,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: session_id = '8c190e67-87aa-4ed9-a90b-d9d5344523fb' # str | The role mining session id # str | The role mining session id @@ -9042,7 +9042,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: session_id = '8c190e67-87aa-4ed9-a90b-d9d5344523fb' # str | The role mining session id to be patched # str | The role mining session id to be patched @@ -9071,7 +9071,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: session_id = '8c190e67-87aa-4ed9-a90b-d9d5344523fb' # str | The role mining session id # str | The role mining session id @@ -9102,7 +9102,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: object_type = 'application' # str | Object type. Available options ['application'] # str | Object type. Available options ['application'] @@ -9128,7 +9128,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: object_type = 'application' # str | Object type. Available options ['application'] # str | Object type. Available options ['application'] @@ -9156,7 +9156,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: id = 'ef38f94347e94562b5bb8424a56397d8' # str | Identity Id # str | Identity Id @@ -9181,7 +9181,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: id = 'ef38f94347e94562b5bb8424a56397d8' # str | Identity Id # str | Identity Id @@ -9208,7 +9208,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: identity_id = 'ff8081814d2a8036014d701f3fbf53fa' # str | Identity ID. # str | Identity ID. @@ -9235,7 +9235,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: identity_id = 'ef38f94347e94562b5bb8424a56397d8' # str | Identity Id # str | Identity Id @@ -9263,7 +9263,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: identity_id = 'ef38f94347e94562b5bb8424a56397d8' # str | Identity Id to get the role assignments for # str | Identity Id to get the role assignments for @@ -9293,7 +9293,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -9325,7 +9325,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: identity_id = 'ef38f94347e94562b5bb8424a56397d8' # str | Identity Id # str | Identity Id @@ -9350,7 +9350,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -9380,7 +9380,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -9411,7 +9411,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -9440,7 +9440,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: identity_id = 'identity_id_example' # str | The Identity id # str | The Identity id @@ -9467,7 +9467,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -9514,7 +9514,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: name = 'displayName' # str | The attribute's technical name. # str | The attribute's technical name. @@ -9539,7 +9539,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -9566,7 +9566,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: name = 'displayName' # str | The attribute's technical name. # str | The attribute's technical name. @@ -9593,7 +9593,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -9624,7 +9624,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: name = 'displayName' # str | The attribute's technical name. # str | The attribute's technical name. @@ -9673,7 +9673,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: id = '8c190e6787aa4ed9a90bd9d5344523fb' # str | The identity id # str | The identity id @@ -9707,7 +9707,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: id = '8c190e6787aa4ed9a90bd9d5344523fb' # str | The identity id # str | The identity id @@ -9742,7 +9742,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: id = '8c190e6787aa4ed9a90bd9d5344523fb' # str | The identity id # str | The identity id @@ -9769,7 +9769,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: id = '8c190e6787aa4ed9a90bd9d5344523fb' # str | The identity id # str | The identity id @@ -9803,7 +9803,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: id = '8c190e6787aa4ed9a90bd9d5344523fb' # str | The identity id # str | The identity id @@ -9831,7 +9831,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: id = '8c190e6787aa4ed9a90bd9d5344523fb' # str | The identity id # str | The identity id @@ -9864,7 +9864,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: id = '8c190e6787aa4ed9a90bd9d5344523fb' # str | The identity id # str | The identity id @@ -9891,7 +9891,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -9923,7 +9923,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: id = '8c190e6787aa4ed9a90bd9d5344523fb' # str | The identity id # str | The identity id @@ -9955,7 +9955,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: id = '8c190e6787aa4ed9a90bd9d5344523fb' # str | The identity id # str | The identity id @@ -9985,7 +9985,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: id = '8c190e6787aa4ed9a90bd9d5344523fb' # str | The identity id # str | The identity id @@ -10172,7 +10172,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -10557,198 +10557,6 @@ print(results.model_dump_json(by_alias=True, indent=4)) except Exception as e: print("Exception when calling LifecycleStatesApi->update_lifecycle_states: %s\n" % e) -- path: /mfa/duo-web/config - method: GET - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v2024/methods/mfa-configuration#get-mfa-duo-config - source: | - from sailpoint.v2024.api.mfa_configuration_api import MFAConfigurationApi - from sailpoint.v2024.api_client import ApiClient - from sailpoint.v2024.models.mfa_duo_config import MfaDuoConfig - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - try: - # Configuration of Duo MFA method - - results = MFAConfigurationApi(api_client).get_mfa_duo_config() - # Below is a request that includes all optional parameters - # results = MFAConfigurationApi(api_client).get_mfa_duo_config() - print("The response of MFAConfigurationApi->get_mfa_duo_config:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling MFAConfigurationApi->get_mfa_duo_config: %s\n" % e) -- path: /mfa/kba/config - method: GET - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v2024/methods/mfa-configuration#get-mfa-kba-config - source: | - from sailpoint.v2024.api.mfa_configuration_api import MFAConfigurationApi - from sailpoint.v2024.api_client import ApiClient - from sailpoint.v2024.models.kba_question import KbaQuestion - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - all_languages = allLanguages=true # bool | Indicator whether the question text should be returned in all configured languages * If true, the question text is returned in all languages that it is configured in. * If false, the question text is returned in the user locale if available, else for the default locale. * If not passed, it behaves the same way as passing this parameter as false (optional) # bool | Indicator whether the question text should be returned in all configured languages * If true, the question text is returned in all languages that it is configured in. * If false, the question text is returned in the user locale if available, else for the default locale. * If not passed, it behaves the same way as passing this parameter as false (optional) - try: - # Configuration of KBA MFA method - - results = MFAConfigurationApi(api_client).get_mfa_kba_config() - # Below is a request that includes all optional parameters - # results = MFAConfigurationApi(api_client).get_mfa_kba_config(all_languages) - print("The response of MFAConfigurationApi->get_mfa_kba_config:\n") - for item in results: - print(item.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling MFAConfigurationApi->get_mfa_kba_config: %s\n" % e) -- path: /mfa/okta-verify/config - method: GET - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v2024/methods/mfa-configuration#get-mfa-okta-config - source: | - from sailpoint.v2024.api.mfa_configuration_api import MFAConfigurationApi - from sailpoint.v2024.api_client import ApiClient - from sailpoint.v2024.models.mfa_okta_config import MfaOktaConfig - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - try: - # Configuration of Okta MFA method - - results = MFAConfigurationApi(api_client).get_mfa_okta_config() - # Below is a request that includes all optional parameters - # results = MFAConfigurationApi(api_client).get_mfa_okta_config() - print("The response of MFAConfigurationApi->get_mfa_okta_config:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling MFAConfigurationApi->get_mfa_okta_config: %s\n" % e) -- path: /mfa/duo-web/config - method: PUT - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v2024/methods/mfa-configuration#set-mfa-duo-config - source: | - from sailpoint.v2024.api.mfa_configuration_api import MFAConfigurationApi - from sailpoint.v2024.api_client import ApiClient - from sailpoint.v2024.models.mfa_duo_config import MfaDuoConfig - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - mfa_duo_config = '''{ - "accessKey" : "qw123Y3QlA5UqocYpdU3rEkzrK2D497y", - "host" : "example.com", - "configProperties" : { - "skey" : "qwERttyZx1CdlQye2Vwtbsjr3HKddy4BAiCXjc5x", - "ikey" : "Q123WE45R6TY7890ZXCV" - }, - "mfaMethod" : "duo-web", - "enabled" : true, - "identityAttribute" : "email" - }''' # MfaDuoConfig | - try: - # Set Duo MFA configuration - new_mfa_duo_config = MfaDuoConfig.from_json(mfa_duo_config) - results = MFAConfigurationApi(api_client).set_mfa_duo_config(mfa_duo_config=new_mfa_duo_config) - # Below is a request that includes all optional parameters - # results = MFAConfigurationApi(api_client).set_mfa_duo_config(new_mfa_duo_config) - print("The response of MFAConfigurationApi->set_mfa_duo_config:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling MFAConfigurationApi->set_mfa_duo_config: %s\n" % e) -- path: /mfa/okta-verify/config - method: PUT - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v2024/methods/mfa-configuration#set-mfa-okta-config - source: | - from sailpoint.v2024.api.mfa_configuration_api import MFAConfigurationApi - from sailpoint.v2024.api_client import ApiClient - from sailpoint.v2024.models.mfa_okta_config import MfaOktaConfig - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - mfa_okta_config = '''{ - "accessKey" : "qw123Y3QlA5UqocYpdU3rEkzrK2D497y", - "host" : "example.com", - "mfaMethod" : "okta-verify", - "enabled" : true, - "identityAttribute" : "email" - }''' # MfaOktaConfig | - try: - # Set Okta MFA configuration - new_mfa_okta_config = MfaOktaConfig.from_json(mfa_okta_config) - results = MFAConfigurationApi(api_client).set_mfa_okta_config(mfa_okta_config=new_mfa_okta_config) - # Below is a request that includes all optional parameters - # results = MFAConfigurationApi(api_client).set_mfa_okta_config(new_mfa_okta_config) - print("The response of MFAConfigurationApi->set_mfa_okta_config:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling MFAConfigurationApi->set_mfa_okta_config: %s\n" % e) -- path: /mfa/kba/config/answers - method: POST - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v2024/methods/mfa-configuration#set-mfakba-config - source: | - from sailpoint.v2024.api.mfa_configuration_api import MFAConfigurationApi - from sailpoint.v2024.api_client import ApiClient - from sailpoint.v2024.models.kba_answer_request_item import KbaAnswerRequestItem - from sailpoint.v2024.models.kba_answer_response_item import KbaAnswerResponseItem - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - kba_answer_request_item = '''[{id=173423, answer=822cd15d6c15aa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a0859a2fea34}, {id=c54fee53-2d63-4fc5-9259-3e93b9994135, answer=9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08}]''' # List[KbaAnswerRequestItem] | - try: - # Set MFA KBA configuration - new_kba_answer_request_item = KbaAnswerRequestItem.from_json(kba_answer_request_item) - results = MFAConfigurationApi(api_client).set_mfakba_config(kba_answer_request_item=new_kba_answer_request_item) - # Below is a request that includes all optional parameters - # results = MFAConfigurationApi(api_client).set_mfakba_config(new_kba_answer_request_item) - print("The response of MFAConfigurationApi->set_mfakba_config:\n") - for item in results: - print(item.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling MFAConfigurationApi->set_mfakba_config: %s\n" % e) -- path: /mfa/{method}/test - method: GET - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v2024/methods/mfa-configuration#test-mfa-config - source: | - from sailpoint.v2024.api.mfa_configuration_api import MFAConfigurationApi - from sailpoint.v2024.api_client import ApiClient - from sailpoint.v2024.models.mfa_config_test_response import MfaConfigTestResponse - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - method = 'okta-verify' # str | The name of the MFA method. The currently supported method names are 'okta-verify' and 'duo-web'. # str | The name of the MFA method. The currently supported method names are 'okta-verify' and 'duo-web'. - try: - # MFA method's test configuration - - results = MFAConfigurationApi(api_client).test_mfa_config(method=method) - # Below is a request that includes all optional parameters - # results = MFAConfigurationApi(api_client).test_mfa_config(method) - print("The response of MFAConfigurationApi->test_mfa_config:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling MFAConfigurationApi->test_mfa_config: %s\n" % e) - path: /machine-accounts/{id} method: GET xCodeSample: @@ -10761,7 +10569,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: id = 'ef38f94347e94562b5bb8424a56397d8' # str | Machine Account ID. # str | Machine Account ID. @@ -10788,7 +10596,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -10820,7 +10628,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: id = 'ef38f94347e94562b5bb8424a56397d8' # str | Machine Account ID. # str | Machine Account ID. @@ -10848,7 +10656,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -10883,7 +10691,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: id = 'ef38f94347e94562b5bb8424a56397d8' # str | Machine Identity ID # str | Machine Identity ID @@ -10908,7 +10716,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: id = 'ef38f94347e94562b5bb8424a56397d8' # str | Machine Identity ID # str | Machine Identity ID @@ -10935,7 +10743,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -10967,7 +10775,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: id = 'ef38f94347e94562b5bb8424a56397d8' # str | Machine Identity ID. # str | Machine Identity ID. @@ -11144,151 +10952,6 @@ print(results.model_dump_json(by_alias=True, indent=4)) except Exception as e: print("Exception when calling ManagedClientsApi->update_managed_client: %s\n" % e) -- path: /managed-cluster-types - method: POST - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v2024/methods/managed-cluster-types#create-managed-cluster-type - source: | - from sailpoint.v2024.api.managed_cluster_types_api import ManagedClusterTypesApi - from sailpoint.v2024.api_client import ApiClient - from sailpoint.v2024.models.managed_cluster_type import ManagedClusterType - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - managed_cluster_type = '''{ - "managedProcessIds" : [ "someId", "someId2" ], - "pod" : "megapod-useast1", - "org" : "denali-cjh", - "id" : "aClusterTypeId", - "type" : "idn" - }''' # ManagedClusterType | - try: - # Create new Managed Cluster Type - new_managed_cluster_type = ManagedClusterType.from_json(managed_cluster_type) - results = ManagedClusterTypesApi(api_client).create_managed_cluster_type(managed_cluster_type=new_managed_cluster_type) - # Below is a request that includes all optional parameters - # results = ManagedClusterTypesApi(api_client).create_managed_cluster_type(new_managed_cluster_type) - print("The response of ManagedClusterTypesApi->create_managed_cluster_type:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling ManagedClusterTypesApi->create_managed_cluster_type: %s\n" % e) -- path: /managed-cluster-types/{id} - method: DELETE - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v2024/methods/managed-cluster-types#delete-managed-cluster-type - source: | - from sailpoint.v2024.api.managed_cluster_types_api import ManagedClusterTypesApi - from sailpoint.v2024.api_client import ApiClient - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - id = 'aClusterTypeId' # str | The Managed Cluster Type ID # str | The Managed Cluster Type ID - try: - # Delete a Managed Cluster Type - - ManagedClusterTypesApi(api_client).delete_managed_cluster_type(id=id) - # Below is a request that includes all optional parameters - # ManagedClusterTypesApi(api_client).delete_managed_cluster_type(id) - except Exception as e: - print("Exception when calling ManagedClusterTypesApi->delete_managed_cluster_type: %s\n" % e) -- path: /managed-cluster-types/{id} - method: GET - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v2024/methods/managed-cluster-types#get-managed-cluster-type - source: | - from sailpoint.v2024.api.managed_cluster_types_api import ManagedClusterTypesApi - from sailpoint.v2024.api_client import ApiClient - from sailpoint.v2024.models.managed_cluster_type import ManagedClusterType - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - id = 'aClusterTypeId' # str | The Managed Cluster Type ID # str | The Managed Cluster Type ID - try: - # Get a Managed Cluster Type - - results = ManagedClusterTypesApi(api_client).get_managed_cluster_type(id=id) - # Below is a request that includes all optional parameters - # results = ManagedClusterTypesApi(api_client).get_managed_cluster_type(id) - print("The response of ManagedClusterTypesApi->get_managed_cluster_type:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling ManagedClusterTypesApi->get_managed_cluster_type: %s\n" % e) -- path: /managed-cluster-types - method: GET - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v2024/methods/managed-cluster-types#get-managed-cluster-types - source: | - from sailpoint.v2024.api.managed_cluster_types_api import ManagedClusterTypesApi - from sailpoint.v2024.api_client import ApiClient - from sailpoint.v2024.models.managed_cluster_type import ManagedClusterType - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - type = 'IDN' # str | Type descriptor (optional) # str | Type descriptor (optional) - pod = 'megapod-useast1' # str | Pinned pod (or default) (optional) # str | Pinned pod (or default) (optional) - org = 'denali-xyz' # str | Pinned org (or default) (optional) # str | Pinned org (or default) (optional) - offset = 0 # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) - 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) - try: - # Get Managed Cluster Types - - results = ManagedClusterTypesApi(api_client).get_managed_cluster_types() - # Below is a request that includes all optional parameters - # results = ManagedClusterTypesApi(api_client).get_managed_cluster_types(type, pod, org, offset, limit) - print("The response of ManagedClusterTypesApi->get_managed_cluster_types:\n") - for item in results: - print(item.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling ManagedClusterTypesApi->get_managed_cluster_types: %s\n" % e) -- path: /managed-cluster-types/{id} - method: PATCH - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v2024/methods/managed-cluster-types#update-managed-cluster-type - source: | - from sailpoint.v2024.api.managed_cluster_types_api import ManagedClusterTypesApi - from sailpoint.v2024.api_client import ApiClient - from sailpoint.v2024.models.json_patch import JsonPatch - from sailpoint.v2024.models.managed_cluster_type import ManagedClusterType - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - id = 'aClusterTypeId' # str | The Managed Cluster Type ID # str | The Managed Cluster Type ID - json_patch = '''{ - "operations" : [ { - "op" : "replace", - "path" : "/description", - "value" : "New description" - }, { - "op" : "replace", - "path" : "/description", - "value" : "New description" - } ] - }''' # JsonPatch | The JSONPatch payload used to update the schema. - try: - # Update a Managed Cluster Type - new_json_patch = JsonPatch.from_json(json_patch) - results = ManagedClusterTypesApi(api_client).update_managed_cluster_type(id=id, json_patch=new_json_patch) - # Below is a request that includes all optional parameters - # results = ManagedClusterTypesApi(api_client).update_managed_cluster_type(id, new_json_patch) - print("The response of ManagedClusterTypesApi->update_managed_cluster_type:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling ManagedClusterTypesApi->update_managed_cluster_type: %s\n" % e) - path: /managed-clusters method: POST xCodeSample: @@ -11504,6 +11167,343 @@ print(results.model_dump_json(by_alias=True, indent=4)) except Exception as e: print("Exception when calling ManagedClustersApi->update_managed_cluster: %s\n" % e) +- path: /managed-cluster-types + method: POST + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v2024/methods/managed-cluster-types#create-managed-cluster-type + source: | + from sailpoint.v2024.api.managed_cluster_types_api import ManagedClusterTypesApi + from sailpoint.v2024.api_client import ApiClient + from sailpoint.v2024.models.managed_cluster_type import ManagedClusterType + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + managed_cluster_type = '''{ + "managedProcessIds" : [ "someId", "someId2" ], + "pod" : "megapod-useast1", + "org" : "denali-cjh", + "id" : "aClusterTypeId", + "type" : "idn" + }''' # ManagedClusterType | + try: + # Create new Managed Cluster Type + new_managed_cluster_type = ManagedClusterType.from_json(managed_cluster_type) + results = ManagedClusterTypesApi(api_client).create_managed_cluster_type(managed_cluster_type=new_managed_cluster_type) + # Below is a request that includes all optional parameters + # results = ManagedClusterTypesApi(api_client).create_managed_cluster_type(new_managed_cluster_type) + print("The response of ManagedClusterTypesApi->create_managed_cluster_type:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling ManagedClusterTypesApi->create_managed_cluster_type: %s\n" % e) +- path: /managed-cluster-types/{id} + method: DELETE + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v2024/methods/managed-cluster-types#delete-managed-cluster-type + source: | + from sailpoint.v2024.api.managed_cluster_types_api import ManagedClusterTypesApi + from sailpoint.v2024.api_client import ApiClient + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + id = 'aClusterTypeId' # str | The Managed Cluster Type ID # str | The Managed Cluster Type ID + try: + # Delete a Managed Cluster Type + + ManagedClusterTypesApi(api_client).delete_managed_cluster_type(id=id) + # Below is a request that includes all optional parameters + # ManagedClusterTypesApi(api_client).delete_managed_cluster_type(id) + except Exception as e: + print("Exception when calling ManagedClusterTypesApi->delete_managed_cluster_type: %s\n" % e) +- path: /managed-cluster-types/{id} + method: GET + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v2024/methods/managed-cluster-types#get-managed-cluster-type + source: | + from sailpoint.v2024.api.managed_cluster_types_api import ManagedClusterTypesApi + from sailpoint.v2024.api_client import ApiClient + from sailpoint.v2024.models.managed_cluster_type import ManagedClusterType + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + id = 'aClusterTypeId' # str | The Managed Cluster Type ID # str | The Managed Cluster Type ID + try: + # Get a Managed Cluster Type + + results = ManagedClusterTypesApi(api_client).get_managed_cluster_type(id=id) + # Below is a request that includes all optional parameters + # results = ManagedClusterTypesApi(api_client).get_managed_cluster_type(id) + print("The response of ManagedClusterTypesApi->get_managed_cluster_type:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling ManagedClusterTypesApi->get_managed_cluster_type: %s\n" % e) +- path: /managed-cluster-types + method: GET + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v2024/methods/managed-cluster-types#get-managed-cluster-types + source: | + from sailpoint.v2024.api.managed_cluster_types_api import ManagedClusterTypesApi + from sailpoint.v2024.api_client import ApiClient + from sailpoint.v2024.models.managed_cluster_type import ManagedClusterType + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + type = 'IDN' # str | Type descriptor (optional) # str | Type descriptor (optional) + pod = 'megapod-useast1' # str | Pinned pod (or default) (optional) # str | Pinned pod (or default) (optional) + org = 'denali-xyz' # str | Pinned org (or default) (optional) # str | Pinned org (or default) (optional) + offset = 0 # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) + 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) + try: + # Get Managed Cluster Types + + results = ManagedClusterTypesApi(api_client).get_managed_cluster_types() + # Below is a request that includes all optional parameters + # results = ManagedClusterTypesApi(api_client).get_managed_cluster_types(type, pod, org, offset, limit) + print("The response of ManagedClusterTypesApi->get_managed_cluster_types:\n") + for item in results: + print(item.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling ManagedClusterTypesApi->get_managed_cluster_types: %s\n" % e) +- path: /managed-cluster-types/{id} + method: PATCH + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v2024/methods/managed-cluster-types#update-managed-cluster-type + source: | + from sailpoint.v2024.api.managed_cluster_types_api import ManagedClusterTypesApi + from sailpoint.v2024.api_client import ApiClient + from sailpoint.v2024.models.json_patch import JsonPatch + from sailpoint.v2024.models.managed_cluster_type import ManagedClusterType + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + id = 'aClusterTypeId' # str | The Managed Cluster Type ID # str | The Managed Cluster Type ID + json_patch = '''{ + "operations" : [ { + "op" : "replace", + "path" : "/description", + "value" : "New description" + }, { + "op" : "replace", + "path" : "/description", + "value" : "New description" + } ] + }''' # JsonPatch | The JSONPatch payload used to update the schema. + try: + # Update a Managed Cluster Type + new_json_patch = JsonPatch.from_json(json_patch) + results = ManagedClusterTypesApi(api_client).update_managed_cluster_type(id=id, json_patch=new_json_patch) + # Below is a request that includes all optional parameters + # results = ManagedClusterTypesApi(api_client).update_managed_cluster_type(id, new_json_patch) + print("The response of ManagedClusterTypesApi->update_managed_cluster_type:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling ManagedClusterTypesApi->update_managed_cluster_type: %s\n" % e) +- path: /mfa/duo-web/config + method: GET + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v2024/methods/mfa-configuration#get-mfa-duo-config + source: | + from sailpoint.v2024.api.mfa_configuration_api import MFAConfigurationApi + from sailpoint.v2024.api_client import ApiClient + from sailpoint.v2024.models.mfa_duo_config import MfaDuoConfig + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + try: + # Configuration of Duo MFA method + + results = MFAConfigurationApi(api_client).get_mfa_duo_config() + # Below is a request that includes all optional parameters + # results = MFAConfigurationApi(api_client).get_mfa_duo_config() + print("The response of MFAConfigurationApi->get_mfa_duo_config:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling MFAConfigurationApi->get_mfa_duo_config: %s\n" % e) +- path: /mfa/kba/config + method: GET + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v2024/methods/mfa-configuration#get-mfa-kba-config + source: | + from sailpoint.v2024.api.mfa_configuration_api import MFAConfigurationApi + from sailpoint.v2024.api_client import ApiClient + from sailpoint.v2024.models.kba_question import KbaQuestion + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + all_languages = allLanguages=true # bool | Indicator whether the question text should be returned in all configured languages * If true, the question text is returned in all languages that it is configured in. * If false, the question text is returned in the user locale if available, else for the default locale. * If not passed, it behaves the same way as passing this parameter as false (optional) # bool | Indicator whether the question text should be returned in all configured languages * If true, the question text is returned in all languages that it is configured in. * If false, the question text is returned in the user locale if available, else for the default locale. * If not passed, it behaves the same way as passing this parameter as false (optional) + try: + # Configuration of KBA MFA method + + results = MFAConfigurationApi(api_client).get_mfa_kba_config() + # Below is a request that includes all optional parameters + # results = MFAConfigurationApi(api_client).get_mfa_kba_config(all_languages) + print("The response of MFAConfigurationApi->get_mfa_kba_config:\n") + for item in results: + print(item.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling MFAConfigurationApi->get_mfa_kba_config: %s\n" % e) +- path: /mfa/okta-verify/config + method: GET + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v2024/methods/mfa-configuration#get-mfa-okta-config + source: | + from sailpoint.v2024.api.mfa_configuration_api import MFAConfigurationApi + from sailpoint.v2024.api_client import ApiClient + from sailpoint.v2024.models.mfa_okta_config import MfaOktaConfig + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + try: + # Configuration of Okta MFA method + + results = MFAConfigurationApi(api_client).get_mfa_okta_config() + # Below is a request that includes all optional parameters + # results = MFAConfigurationApi(api_client).get_mfa_okta_config() + print("The response of MFAConfigurationApi->get_mfa_okta_config:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling MFAConfigurationApi->get_mfa_okta_config: %s\n" % e) +- path: /mfa/duo-web/config + method: PUT + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v2024/methods/mfa-configuration#set-mfa-duo-config + source: | + from sailpoint.v2024.api.mfa_configuration_api import MFAConfigurationApi + from sailpoint.v2024.api_client import ApiClient + from sailpoint.v2024.models.mfa_duo_config import MfaDuoConfig + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + mfa_duo_config = '''{ + "accessKey" : "qw123Y3QlA5UqocYpdU3rEkzrK2D497y", + "host" : "example.com", + "configProperties" : { + "skey" : "qwERttyZx1CdlQye2Vwtbsjr3HKddy4BAiCXjc5x", + "ikey" : "Q123WE45R6TY7890ZXCV" + }, + "mfaMethod" : "duo-web", + "enabled" : true, + "identityAttribute" : "email" + }''' # MfaDuoConfig | + try: + # Set Duo MFA configuration + new_mfa_duo_config = MfaDuoConfig.from_json(mfa_duo_config) + results = MFAConfigurationApi(api_client).set_mfa_duo_config(mfa_duo_config=new_mfa_duo_config) + # Below is a request that includes all optional parameters + # results = MFAConfigurationApi(api_client).set_mfa_duo_config(new_mfa_duo_config) + print("The response of MFAConfigurationApi->set_mfa_duo_config:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling MFAConfigurationApi->set_mfa_duo_config: %s\n" % e) +- path: /mfa/okta-verify/config + method: PUT + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v2024/methods/mfa-configuration#set-mfa-okta-config + source: | + from sailpoint.v2024.api.mfa_configuration_api import MFAConfigurationApi + from sailpoint.v2024.api_client import ApiClient + from sailpoint.v2024.models.mfa_okta_config import MfaOktaConfig + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + mfa_okta_config = '''{ + "accessKey" : "qw123Y3QlA5UqocYpdU3rEkzrK2D497y", + "host" : "example.com", + "mfaMethod" : "okta-verify", + "enabled" : true, + "identityAttribute" : "email" + }''' # MfaOktaConfig | + try: + # Set Okta MFA configuration + new_mfa_okta_config = MfaOktaConfig.from_json(mfa_okta_config) + results = MFAConfigurationApi(api_client).set_mfa_okta_config(mfa_okta_config=new_mfa_okta_config) + # Below is a request that includes all optional parameters + # results = MFAConfigurationApi(api_client).set_mfa_okta_config(new_mfa_okta_config) + print("The response of MFAConfigurationApi->set_mfa_okta_config:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling MFAConfigurationApi->set_mfa_okta_config: %s\n" % e) +- path: /mfa/kba/config/answers + method: POST + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v2024/methods/mfa-configuration#set-mfakba-config + source: | + from sailpoint.v2024.api.mfa_configuration_api import MFAConfigurationApi + from sailpoint.v2024.api_client import ApiClient + from sailpoint.v2024.models.kba_answer_request_item import KbaAnswerRequestItem + from sailpoint.v2024.models.kba_answer_response_item import KbaAnswerResponseItem + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + kba_answer_request_item = '''[{id=173423, answer=822cd15d6c15aa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a0859a2fea34}, {id=c54fee53-2d63-4fc5-9259-3e93b9994135, answer=9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08}]''' # List[KbaAnswerRequestItem] | + try: + # Set MFA KBA configuration + new_kba_answer_request_item = KbaAnswerRequestItem.from_json(kba_answer_request_item) + results = MFAConfigurationApi(api_client).set_mfakba_config(kba_answer_request_item=new_kba_answer_request_item) + # Below is a request that includes all optional parameters + # results = MFAConfigurationApi(api_client).set_mfakba_config(new_kba_answer_request_item) + print("The response of MFAConfigurationApi->set_mfakba_config:\n") + for item in results: + print(item.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling MFAConfigurationApi->set_mfakba_config: %s\n" % e) +- path: /mfa/{method}/test + method: GET + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v2024/methods/mfa-configuration#test-mfa-config + source: | + from sailpoint.v2024.api.mfa_configuration_api import MFAConfigurationApi + from sailpoint.v2024.api_client import ApiClient + from sailpoint.v2024.models.mfa_config_test_response import MfaConfigTestResponse + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + method = 'okta-verify' # str | The name of the MFA method. The currently supported method names are 'okta-verify' and 'duo-web'. # str | The name of the MFA method. The currently supported method names are 'okta-verify' and 'duo-web'. + try: + # MFA method's test configuration + + results = MFAConfigurationApi(api_client).test_mfa_config(method=method) + # Below is a request that includes all optional parameters + # results = MFAConfigurationApi(api_client).test_mfa_config(method) + print("The response of MFAConfigurationApi->test_mfa_config:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling MFAConfigurationApi->test_mfa_config: %s\n" % e) - path: /multihosts method: POST xCodeSample: @@ -12778,7 +12778,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -12807,7 +12807,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -12851,7 +12851,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -12883,7 +12883,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -12907,7 +12907,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: id = 'id_example' # str | # str | @@ -12932,7 +12932,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -12959,7 +12959,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: id = 'bobsmith@sailpoint.com' # str | Returns the MX and TXT record to be put in your DNS, as well as the MAIL FROM domain status # str | Returns the MX and TXT record to be put in your DNS, as well as the MAIL FROM domain status @@ -12986,7 +12986,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: id = 'c17bea3a-574d-453c-9e04-4365fbf5af0b' # str | Id of the Notification Template # str | Id of the Notification Template @@ -13013,7 +13013,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -13039,7 +13039,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -13071,7 +13071,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -13097,7 +13097,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -13127,7 +13127,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -13158,7 +13158,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -13188,7 +13188,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -13359,7 +13359,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -13384,7 +13384,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -13415,7 +13415,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -13572,7 +13572,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -14362,7 +14362,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -14387,7 +14387,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: insight_id = '8c190e67-87aa-4ed9-a90b-d9d5344523fb' # str | The role insight id # str | The role insight id @@ -14416,7 +14416,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: insight_id = '8c190e67-87aa-4ed9-a90b-d9d5344523fb' # str | The role insight id # str | The role insight id @@ -14451,7 +14451,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: insight_id = '8c190e67-87aa-4ed9-a90b-d9d5344523fb' # str | The role insight id # str | The role insight id @@ -14478,7 +14478,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -14510,7 +14510,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: insight_id = '8c190e67-87aa-4ed9-a90b-d9d5344523fb' # str | The role insight id # str | The role insight id @@ -14539,7 +14539,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: insight_id = '8c190e67-87aa-4ed9-a90b-d9d5344523fb' # str | The role insight id # str | The role insight id @@ -14569,7 +14569,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: id = '8c190e67-87aa-4ed9-a90b-d9d5344523fb' # str | The role insights request id # str | The role insights request id @@ -14596,7 +14596,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -14985,7 +14985,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: id = '2c91808a7813090a017814121919ecca' # str | Containing role's ID. # str | Containing role's ID. @@ -15249,1122 +15249,6 @@ print(results.model_dump_json(by_alias=True, indent=4)) except Exception as e: print("Exception when calling RolesApi->update_roles_metadata_by_query: %s\n" % e) -- path: /sim-integrations - method: POST - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v2024/methods/sim-integrations#create-sim-integration - source: | - from sailpoint.v2024.api.sim_integrations_api import SIMIntegrationsApi - from sailpoint.v2024.api_client import ApiClient - from sailpoint.v2024.models.service_desk_integration_dto import ServiceDeskIntegrationDto - from sailpoint.v2024.models.sim_integration_details import SimIntegrationDetails - from sailpoint.configuration import Configuration - configuration = Configuration() - - configuration.experimental = true - - with ApiClient(configuration) as api_client: - x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') - sim_integration_details = '''{ - "cluster" : "xyzzy999", - "statusMap" : "{closed_cancelled=Failed, closed_complete=Committed, closed_incomplete=Failed, closed_rejected=Failed, in_process=Queued, requested=Queued}", - "request" : "{description=SailPoint Access Request,, req_description=The Service Request created by SailPoint ServiceNow Service Integration Module (SIM).,, req_short_description=SailPoint New Access Request Created from IdentityNow,, short_description=SailPoint Access Request $!plan.arguments.identityRequestId}", - "sources" : [ "2c9180835d191a86015d28455b4a2329", "2c5680835d191a85765d28455b4a9823" ], - "created" : "2015-05-28T14:07:17Z", - "name" : "aName", - "modified" : "2015-05-28T14:07:17Z", - "description" : "Integration description", - "attributes" : "{\"uid\":\"Walter White\",\"firstname\":\"walter\",\"cloudStatus\":\"UNREGISTERED\",\"displayName\":\"Walter White\",\"identificationNumber\":\"942\",\"lastSyncDate\":1470348809380,\"email\":\"walter@gmail.com\",\"lastname\":\"white\"}", - "id" : "id12345", - "type" : "ServiceNow Service Desk", - "beforeProvisioningRule" : { - "name" : "Example Rule", - "id" : "2c918085708c274401708c2a8a760001", - "type" : "IDENTITY" - } - }''' # SimIntegrationDetails | DTO containing the details of the SIM integration - try: - # Create new SIM integration - new_sim_integration_details = SimIntegrationDetails.from_json(sim_integration_details) - results = SIMIntegrationsApi(api_client).create_sim_integration(x_sail_point_experimental=x_sail_point_experimental, sim_integration_details=new_sim_integration_details) - # Below is a request that includes all optional parameters - # results = SIMIntegrationsApi(api_client).create_sim_integration(x_sail_point_experimental, new_sim_integration_details) - print("The response of SIMIntegrationsApi->create_sim_integration:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling SIMIntegrationsApi->create_sim_integration: %s\n" % e) -- path: /sim-integrations/{id} - method: DELETE - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v2024/methods/sim-integrations#delete-sim-integration - source: | - from sailpoint.v2024.api.sim_integrations_api import SIMIntegrationsApi - from sailpoint.v2024.api_client import ApiClient - from sailpoint.configuration import Configuration - configuration = Configuration() - - configuration.experimental = true - - with ApiClient(configuration) as api_client: - id = '12345' # str | The id of the integration to delete. # str | The id of the integration to delete. - x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') - try: - # Delete a SIM integration - - SIMIntegrationsApi(api_client).delete_sim_integration(id=id, x_sail_point_experimental=x_sail_point_experimental) - # Below is a request that includes all optional parameters - # SIMIntegrationsApi(api_client).delete_sim_integration(id, x_sail_point_experimental) - except Exception as e: - print("Exception when calling SIMIntegrationsApi->delete_sim_integration: %s\n" % e) -- path: /sim-integrations/{id} - method: GET - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v2024/methods/sim-integrations#get-sim-integration - source: | - from sailpoint.v2024.api.sim_integrations_api import SIMIntegrationsApi - from sailpoint.v2024.api_client import ApiClient - from sailpoint.v2024.models.service_desk_integration_dto import ServiceDeskIntegrationDto - from sailpoint.configuration import Configuration - configuration = Configuration() - - configuration.experimental = true - - with ApiClient(configuration) as api_client: - id = '12345' # str | The id of the integration. # str | The id of the integration. - x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') - try: - # Get a SIM integration details. - - results = SIMIntegrationsApi(api_client).get_sim_integration(id=id, x_sail_point_experimental=x_sail_point_experimental) - # Below is a request that includes all optional parameters - # results = SIMIntegrationsApi(api_client).get_sim_integration(id, x_sail_point_experimental) - print("The response of SIMIntegrationsApi->get_sim_integration:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling SIMIntegrationsApi->get_sim_integration: %s\n" % e) -- path: /sim-integrations - method: GET - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v2024/methods/sim-integrations#get-sim-integrations - source: | - from sailpoint.v2024.api.sim_integrations_api import SIMIntegrationsApi - from sailpoint.v2024.api_client import ApiClient - from sailpoint.v2024.models.service_desk_integration_dto import ServiceDeskIntegrationDto - from sailpoint.configuration import Configuration - configuration = Configuration() - - configuration.experimental = true - - with ApiClient(configuration) as api_client: - x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') - try: - # List the existing SIM integrations. - - results = SIMIntegrationsApi(api_client).get_sim_integrations(x_sail_point_experimental=x_sail_point_experimental) - # Below is a request that includes all optional parameters - # results = SIMIntegrationsApi(api_client).get_sim_integrations(x_sail_point_experimental) - print("The response of SIMIntegrationsApi->get_sim_integrations:\n") - for item in results: - print(item.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling SIMIntegrationsApi->get_sim_integrations: %s\n" % e) -- path: /sim-integrations/{id}/beforeProvisioningRule - method: PATCH - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v2024/methods/sim-integrations#patch-before-provisioning-rule - source: | - from sailpoint.v2024.api.sim_integrations_api import SIMIntegrationsApi - from sailpoint.v2024.api_client import ApiClient - from sailpoint.v2024.models.json_patch import JsonPatch - from sailpoint.v2024.models.service_desk_integration_dto import ServiceDeskIntegrationDto - from sailpoint.configuration import Configuration - configuration = Configuration() - - configuration.experimental = true - - with ApiClient(configuration) as api_client: - id = '12345' # str | SIM integration id # str | SIM integration id - x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') - json_patch = '''{ - "operations" : [ { - "op" : "replace", - "path" : "/description", - "value" : "New description" - }, { - "op" : "replace", - "path" : "/description", - "value" : "New description" - } ] - }''' # JsonPatch | The JsonPatch object that describes the changes of SIM beforeProvisioningRule. - try: - # Patch a SIM beforeProvisioningRule attribute. - new_json_patch = JsonPatch.from_json(json_patch) - results = SIMIntegrationsApi(api_client).patch_before_provisioning_rule(id=id, x_sail_point_experimental=x_sail_point_experimental, json_patch=new_json_patch) - # Below is a request that includes all optional parameters - # results = SIMIntegrationsApi(api_client).patch_before_provisioning_rule(id, x_sail_point_experimental, new_json_patch) - print("The response of SIMIntegrationsApi->patch_before_provisioning_rule:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling SIMIntegrationsApi->patch_before_provisioning_rule: %s\n" % e) -- path: /sim-integrations/{id} - method: PATCH - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v2024/methods/sim-integrations#patch-sim-attributes - source: | - from sailpoint.v2024.api.sim_integrations_api import SIMIntegrationsApi - from sailpoint.v2024.api_client import ApiClient - from sailpoint.v2024.models.json_patch import JsonPatch - from sailpoint.v2024.models.service_desk_integration_dto import ServiceDeskIntegrationDto - from sailpoint.configuration import Configuration - configuration = Configuration() - - configuration.experimental = true - - with ApiClient(configuration) as api_client: - id = '12345' # str | SIM integration id # str | SIM integration id - x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') - json_patch = '''{ - "operations" : [ { - "op" : "replace", - "path" : "/description", - "value" : "New description" - }, { - "op" : "replace", - "path" : "/description", - "value" : "New description" - } ] - }''' # JsonPatch | The JsonPatch object that describes the changes of SIM - try: - # Patch a SIM attribute. - new_json_patch = JsonPatch.from_json(json_patch) - results = SIMIntegrationsApi(api_client).patch_sim_attributes(id=id, x_sail_point_experimental=x_sail_point_experimental, json_patch=new_json_patch) - # Below is a request that includes all optional parameters - # results = SIMIntegrationsApi(api_client).patch_sim_attributes(id, x_sail_point_experimental, new_json_patch) - print("The response of SIMIntegrationsApi->patch_sim_attributes:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling SIMIntegrationsApi->patch_sim_attributes: %s\n" % e) -- path: /sim-integrations/{id} - method: PUT - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v2024/methods/sim-integrations#put-sim-integration - source: | - from sailpoint.v2024.api.sim_integrations_api import SIMIntegrationsApi - from sailpoint.v2024.api_client import ApiClient - from sailpoint.v2024.models.service_desk_integration_dto import ServiceDeskIntegrationDto - from sailpoint.v2024.models.sim_integration_details import SimIntegrationDetails - from sailpoint.configuration import Configuration - configuration = Configuration() - - configuration.experimental = true - - with ApiClient(configuration) as api_client: - id = '12345' # str | The id of the integration. # str | The id of the integration. - x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') - sim_integration_details = '''{ - "cluster" : "xyzzy999", - "statusMap" : "{closed_cancelled=Failed, closed_complete=Committed, closed_incomplete=Failed, closed_rejected=Failed, in_process=Queued, requested=Queued}", - "request" : "{description=SailPoint Access Request,, req_description=The Service Request created by SailPoint ServiceNow Service Integration Module (SIM).,, req_short_description=SailPoint New Access Request Created from IdentityNow,, short_description=SailPoint Access Request $!plan.arguments.identityRequestId}", - "sources" : [ "2c9180835d191a86015d28455b4a2329", "2c5680835d191a85765d28455b4a9823" ], - "created" : "2015-05-28T14:07:17Z", - "name" : "aName", - "modified" : "2015-05-28T14:07:17Z", - "description" : "Integration description", - "attributes" : "{\"uid\":\"Walter White\",\"firstname\":\"walter\",\"cloudStatus\":\"UNREGISTERED\",\"displayName\":\"Walter White\",\"identificationNumber\":\"942\",\"lastSyncDate\":1470348809380,\"email\":\"walter@gmail.com\",\"lastname\":\"white\"}", - "id" : "id12345", - "type" : "ServiceNow Service Desk", - "beforeProvisioningRule" : { - "name" : "Example Rule", - "id" : "2c918085708c274401708c2a8a760001", - "type" : "IDENTITY" - } - }''' # SimIntegrationDetails | The full DTO of the integration containing the updated model - try: - # Update an existing SIM integration - new_sim_integration_details = SimIntegrationDetails.from_json(sim_integration_details) - results = SIMIntegrationsApi(api_client).put_sim_integration(id=id, x_sail_point_experimental=x_sail_point_experimental, sim_integration_details=new_sim_integration_details) - # Below is a request that includes all optional parameters - # results = SIMIntegrationsApi(api_client).put_sim_integration(id, x_sail_point_experimental, new_sim_integration_details) - print("The response of SIMIntegrationsApi->put_sim_integration:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling SIMIntegrationsApi->put_sim_integration: %s\n" % e) -- path: /sod-policies - method: POST - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v2024/methods/sod-policies#create-sod-policy - source: | - from sailpoint.v2024.api.sod_policies_api import SODPoliciesApi - from sailpoint.v2024.api_client import ApiClient - from sailpoint.v2024.models.sod_policy import SodPolicy - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - sod_policy = '''{ - "conflictingAccessCriteria" : { - "leftCriteria" : { - "name" : "money-in", - "criteriaList" : [ { - "type" : "ENTITLEMENT", - "id" : "2c9180866166b5b0016167c32ef31a66", - "name" : "Administrator" - }, { - "type" : "ENTITLEMENT", - "id" : "2c9180866166b5b0016167c32ef31a67", - "name" : "Administrator" - } ] - }, - "rightCriteria" : { - "name" : "money-in", - "criteriaList" : [ { - "type" : "ENTITLEMENT", - "id" : "2c9180866166b5b0016167c32ef31a66", - "name" : "Administrator" - }, { - "type" : "ENTITLEMENT", - "id" : "2c9180866166b5b0016167c32ef31a67", - "name" : "Administrator" - } ] - } - }, - "ownerRef" : { - "name" : "Support", - "id" : "2c9180a46faadee4016fb4e018c20639", - "type" : "IDENTITY" - }, - "created" : "2020-01-01T00:00:00Z", - "scheduled" : true, - "creatorId" : "0f11f2a4-7c94-4bf3-a2bd-742580fe3bde", - "modifierId" : "0f11f2a4-7c94-4bf3-a2bd-742580fe3bde", - "description" : "This policy ensures compliance of xyz", - "violationOwnerAssignmentConfig" : { - "assignmentRule" : "MANAGER", - "ownerRef" : { - "name" : "Support", - "id" : "2c9180a46faadee4016fb4e018c20639", - "type" : "IDENTITY" - } - }, - "correctionAdvice" : "Based on the role of the employee, managers should remove access that is not required for their job function.", - "type" : "GENERAL", - "tags" : [ "TAG1", "TAG2" ], - "name" : "policy-xyz", - "modified" : "2020-01-01T00:00:00Z", - "policyQuery" : "@access(id:0f11f2a4-7c94-4bf3-a2bd-742580fe3bdg) AND @access(id:0f11f2a4-7c94-4bf3-a2bd-742580fe3bdf)", - "compensatingControls" : "Have a manager review the transaction decisions for their \"out of compliance\" employee", - "id" : "0f11f2a4-7c94-4bf3-a2bd-742580fe3bde", - "state" : "ENFORCED", - "externalPolicyReference" : "XYZ policy" - }''' # SodPolicy | - try: - # Create SOD policy - new_sod_policy = SodPolicy.from_json(sod_policy) - results = SODPoliciesApi(api_client).create_sod_policy(sod_policy=new_sod_policy) - # Below is a request that includes all optional parameters - # results = SODPoliciesApi(api_client).create_sod_policy(new_sod_policy) - print("The response of SODPoliciesApi->create_sod_policy:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling SODPoliciesApi->create_sod_policy: %s\n" % e) -- path: /sod-policies/{id} - method: DELETE - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v2024/methods/sod-policies#delete-sod-policy - source: | - from sailpoint.v2024.api.sod_policies_api import SODPoliciesApi - from sailpoint.v2024.api_client import ApiClient - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - id = 'ef38f943-47e9-4562-b5bb-8424a56397d8' # str | The ID of the SOD Policy to delete. # str | The ID of the SOD Policy to delete. - logical = True # bool | Indicates whether this is a soft delete (logical true) or a hard delete. Soft delete marks the policy as deleted and just save it with this status. It could be fully deleted or recovered further. Hard delete vise versa permanently delete SOD request during this call. (optional) (default to True) # bool | Indicates whether this is a soft delete (logical true) or a hard delete. Soft delete marks the policy as deleted and just save it with this status. It could be fully deleted or recovered further. Hard delete vise versa permanently delete SOD request during this call. (optional) (default to True) - try: - # Delete SOD policy by ID - - SODPoliciesApi(api_client).delete_sod_policy(id=id) - # Below is a request that includes all optional parameters - # SODPoliciesApi(api_client).delete_sod_policy(id, logical) - except Exception as e: - print("Exception when calling SODPoliciesApi->delete_sod_policy: %s\n" % e) -- path: /sod-policies/{id}/schedule - method: DELETE - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v2024/methods/sod-policies#delete-sod-policy-schedule - source: | - from sailpoint.v2024.api.sod_policies_api import SODPoliciesApi - from sailpoint.v2024.api_client import ApiClient - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - id = 'ef38f943-47e9-4562-b5bb-8424a56397d8' # str | The ID of the SOD policy the schedule must be deleted for. # str | The ID of the SOD policy the schedule must be deleted for. - try: - # Delete SOD policy schedule - - SODPoliciesApi(api_client).delete_sod_policy_schedule(id=id) - # Below is a request that includes all optional parameters - # SODPoliciesApi(api_client).delete_sod_policy_schedule(id) - except Exception as e: - print("Exception when calling SODPoliciesApi->delete_sod_policy_schedule: %s\n" % e) -- path: /sod-violation-report/{reportResultId}/download/{fileName} - method: GET - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v2024/methods/sod-policies#get-custom-violation-report - source: | - from sailpoint.v2024.api.sod_policies_api import SODPoliciesApi - from sailpoint.v2024.api_client import ApiClient - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - report_result_id = 'ef38f94347e94562b5bb8424a56397d8' # str | The ID of the report reference to download. # str | The ID of the report reference to download. - file_name = 'custom-name' # str | Custom Name for the file. # str | Custom Name for the file. - try: - # Download custom violation report - - results = SODPoliciesApi(api_client).get_custom_violation_report(report_result_id=report_result_id, file_name=file_name) - # Below is a request that includes all optional parameters - # results = SODPoliciesApi(api_client).get_custom_violation_report(report_result_id, file_name) - print("The response of SODPoliciesApi->get_custom_violation_report:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling SODPoliciesApi->get_custom_violation_report: %s\n" % e) -- path: /sod-violation-report/{reportResultId}/download - method: GET - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v2024/methods/sod-policies#get-default-violation-report - source: | - from sailpoint.v2024.api.sod_policies_api import SODPoliciesApi - from sailpoint.v2024.api_client import ApiClient - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - report_result_id = 'ef38f94347e94562b5bb8424a56397d8' # str | The ID of the report reference to download. # str | The ID of the report reference to download. - try: - # Download violation report - - results = SODPoliciesApi(api_client).get_default_violation_report(report_result_id=report_result_id) - # Below is a request that includes all optional parameters - # results = SODPoliciesApi(api_client).get_default_violation_report(report_result_id) - print("The response of SODPoliciesApi->get_default_violation_report:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling SODPoliciesApi->get_default_violation_report: %s\n" % e) -- path: /sod-violation-report - method: GET - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v2024/methods/sod-policies#get-sod-all-report-run-status - source: | - from sailpoint.v2024.api.sod_policies_api import SODPoliciesApi - from sailpoint.v2024.api_client import ApiClient - from sailpoint.v2024.models.report_result_reference import ReportResultReference - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - try: - # Get multi-report run task status - - results = SODPoliciesApi(api_client).get_sod_all_report_run_status() - # Below is a request that includes all optional parameters - # results = SODPoliciesApi(api_client).get_sod_all_report_run_status() - print("The response of SODPoliciesApi->get_sod_all_report_run_status:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling SODPoliciesApi->get_sod_all_report_run_status: %s\n" % e) -- path: /sod-policies/{id} - method: GET - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v2024/methods/sod-policies#get-sod-policy - source: | - from sailpoint.v2024.api.sod_policies_api import SODPoliciesApi - from sailpoint.v2024.api_client import ApiClient - from sailpoint.v2024.models.sod_policy import SodPolicy - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - id = 'ef38f943-47e9-4562-b5bb-8424a56397d8' # str | The ID of the SOD Policy to retrieve. # str | The ID of the SOD Policy to retrieve. - try: - # Get SOD policy by ID - - results = SODPoliciesApi(api_client).get_sod_policy(id=id) - # Below is a request that includes all optional parameters - # results = SODPoliciesApi(api_client).get_sod_policy(id) - print("The response of SODPoliciesApi->get_sod_policy:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling SODPoliciesApi->get_sod_policy: %s\n" % e) -- path: /sod-policies/{id}/schedule - method: GET - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v2024/methods/sod-policies#get-sod-policy-schedule - source: | - from sailpoint.v2024.api.sod_policies_api import SODPoliciesApi - from sailpoint.v2024.api_client import ApiClient - from sailpoint.v2024.models.sod_policy_schedule import SodPolicySchedule - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - id = 'ef38f943-47e9-4562-b5bb-8424a56397d8' # str | The ID of the SOD policy schedule to retrieve. # str | The ID of the SOD policy schedule to retrieve. - try: - # Get SOD policy schedule - - results = SODPoliciesApi(api_client).get_sod_policy_schedule(id=id) - # Below is a request that includes all optional parameters - # results = SODPoliciesApi(api_client).get_sod_policy_schedule(id) - print("The response of SODPoliciesApi->get_sod_policy_schedule:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling SODPoliciesApi->get_sod_policy_schedule: %s\n" % e) -- path: /sod-policies/sod-violation-report-status/{reportResultId} - method: GET - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v2024/methods/sod-policies#get-sod-violation-report-run-status - source: | - from sailpoint.v2024.api.sod_policies_api import SODPoliciesApi - from sailpoint.v2024.api_client import ApiClient - from sailpoint.v2024.models.report_result_reference import ReportResultReference - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - report_result_id = '2e8d8180-24bc-4d21-91c6-7affdb473b0d' # str | The ID of the report reference to retrieve. # str | The ID of the report reference to retrieve. - try: - # Get violation report run status - - results = SODPoliciesApi(api_client).get_sod_violation_report_run_status(report_result_id=report_result_id) - # Below is a request that includes all optional parameters - # results = SODPoliciesApi(api_client).get_sod_violation_report_run_status(report_result_id) - print("The response of SODPoliciesApi->get_sod_violation_report_run_status:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling SODPoliciesApi->get_sod_violation_report_run_status: %s\n" % e) -- path: /sod-policies/{id}/violation-report - method: GET - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v2024/methods/sod-policies#get-sod-violation-report-status - source: | - from sailpoint.v2024.api.sod_policies_api import SODPoliciesApi - from sailpoint.v2024.api_client import ApiClient - from sailpoint.v2024.models.report_result_reference import ReportResultReference - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - id = 'ef38f943-47e9-4562-b5bb-8424a56397d8' # str | The ID of the violation report to retrieve status for. # str | The ID of the violation report to retrieve status for. - try: - # Get SOD violation report status - - results = SODPoliciesApi(api_client).get_sod_violation_report_status(id=id) - # Below is a request that includes all optional parameters - # results = SODPoliciesApi(api_client).get_sod_violation_report_status(id) - print("The response of SODPoliciesApi->get_sod_violation_report_status:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling SODPoliciesApi->get_sod_violation_report_status: %s\n" % e) -- path: /sod-policies - method: GET - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v2024/methods/sod-policies#list-sod-policies - source: | - from sailpoint.v2024.api.sod_policies_api import SODPoliciesApi - from sailpoint.v2024.api_client import ApiClient - from sailpoint.v2024.models.sod_policy import SodPolicy - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - 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) - offset = 0 # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) - count = False # bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to False) # bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to False) - filters = 'id eq \"bc693f07e7b645539626c25954c58554\"' # str | Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **id**: *eq, in* **name**: *eq, in* **state**: *eq, in* (optional) # str | Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **id**: *eq, in* **name**: *eq, in* **state**: *eq, in* (optional) - sorters = 'id,name' # str | Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **id, name, created, modified, description** (optional) # str | Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **id, name, created, modified, description** (optional) - try: - # List SOD policies - - results = SODPoliciesApi(api_client).list_sod_policies() - # Below is a request that includes all optional parameters - # results = SODPoliciesApi(api_client).list_sod_policies(limit, offset, count, filters, sorters) - print("The response of SODPoliciesApi->list_sod_policies:\n") - for item in results: - print(item.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling SODPoliciesApi->list_sod_policies: %s\n" % e) -- path: /sod-policies/{id} - method: PATCH - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v2024/methods/sod-policies#patch-sod-policy - source: | - from sailpoint.v2024.api.sod_policies_api import SODPoliciesApi - from sailpoint.v2024.api_client import ApiClient - from sailpoint.v2024.models.json_patch_operation import JsonPatchOperation - from sailpoint.v2024.models.sod_policy import SodPolicy - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - id = '2c918083-5d19-1a86-015d-28455b4a2329' # str | The ID of the SOD policy being modified. # str | The ID of the SOD policy being modified. - json_patch_operation = '''[{op=replace, path=/description, value=Modified description}, {op=replace, path=/conflictingAccessCriteria/leftCriteria/name, value=money-in-modified}, {op=replace, path=/conflictingAccessCriteria/rightCriteria, value={name=money-out-modified, criteriaList=[{type=ENTITLEMENT, id=2c918087682f9a86016839c0509c1ab2}]}}]''' # List[JsonPatchOperation] | A list of SOD Policy update operations according to the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard. The following fields are patchable: * name * description * ownerRef * externalPolicyReference * compensatingControls * correctionAdvice * state * tags * violationOwnerAssignmentConfig * scheduled * conflictingAccessCriteria - try: - # Patch SOD policy by ID - new_json_patch_operation = JsonPatchOperation.from_json(json_patch_operation) - results = SODPoliciesApi(api_client).patch_sod_policy(id=id, json_patch_operation=new_json_patch_operation) - # Below is a request that includes all optional parameters - # results = SODPoliciesApi(api_client).patch_sod_policy(id, new_json_patch_operation) - print("The response of SODPoliciesApi->patch_sod_policy:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling SODPoliciesApi->patch_sod_policy: %s\n" % e) -- path: /sod-policies/{id}/schedule - method: PUT - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v2024/methods/sod-policies#put-policy-schedule - source: | - from sailpoint.v2024.api.sod_policies_api import SODPoliciesApi - from sailpoint.v2024.api_client import ApiClient - from sailpoint.v2024.models.sod_policy_schedule import SodPolicySchedule - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - id = 'ef38f943-47e9-4562-b5bb-8424a56397d8' # str | The ID of the SOD policy to update its schedule. # str | The ID of the SOD policy to update its schedule. - sod_policy_schedule = '''{ - "schedule" : { - "hours" : { - "accountMatchConfig" : { - "matchExpression" : { - "and" : true, - "matchTerms" : [ { - "name" : "", - "value" : "", - "container" : true, - "and" : false, - "children" : [ { - "name" : "businessCategory", - "value" : "Service", - "op" : "eq", - "container" : false, - "and" : false - } ] - } ] - } - }, - "applicationId" : "2c91808874ff91550175097daaec161c\"" - }, - "months" : { - "accountMatchConfig" : { - "matchExpression" : { - "and" : true, - "matchTerms" : [ { - "name" : "", - "value" : "", - "container" : true, - "and" : false, - "children" : [ { - "name" : "businessCategory", - "value" : "Service", - "op" : "eq", - "container" : false, - "and" : false - } ] - } ] - } - }, - "applicationId" : "2c91808874ff91550175097daaec161c\"" - }, - "timeZoneId" : "America/Chicago", - "days" : { - "accountMatchConfig" : { - "matchExpression" : { - "and" : true, - "matchTerms" : [ { - "name" : "", - "value" : "", - "container" : true, - "and" : false, - "children" : [ { - "name" : "businessCategory", - "value" : "Service", - "op" : "eq", - "container" : false, - "and" : false - } ] - } ] - } - }, - "applicationId" : "2c91808874ff91550175097daaec161c\"" - }, - "expiration" : "2018-06-25T20:22:28.104Z", - "type" : "WEEKLY" - }, - "created" : "2020-01-01T00:00:00Z", - "recipients" : [ { - "name" : "Michael Michaels", - "id" : "2c7180a46faadee4016fb4e018c20642", - "type" : "IDENTITY" - }, { - "name" : "Michael Michaels", - "id" : "2c7180a46faadee4016fb4e018c20642", - "type" : "IDENTITY" - } ], - "name" : "SCH-1584312283015", - "creatorId" : "0f11f2a47c944bf3a2bd742580fe3bde", - "modifierId" : "0f11f2a47c944bf3a2bd742580fe3bde", - "modified" : "2020-01-01T00:00:00Z", - "description" : "Schedule for policy xyz", - "emailEmptyResults" : false - }''' # SodPolicySchedule | - try: - # Update SOD Policy schedule - new_sod_policy_schedule = SodPolicySchedule.from_json(sod_policy_schedule) - results = SODPoliciesApi(api_client).put_policy_schedule(id=id, sod_policy_schedule=new_sod_policy_schedule) - # Below is a request that includes all optional parameters - # results = SODPoliciesApi(api_client).put_policy_schedule(id, new_sod_policy_schedule) - print("The response of SODPoliciesApi->put_policy_schedule:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling SODPoliciesApi->put_policy_schedule: %s\n" % e) -- path: /sod-policies/{id} - method: PUT - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v2024/methods/sod-policies#put-sod-policy - source: | - from sailpoint.v2024.api.sod_policies_api import SODPoliciesApi - from sailpoint.v2024.api_client import ApiClient - from sailpoint.v2024.models.sod_policy import SodPolicy - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - id = 'ef38f943-47e9-4562-b5bb-8424a56397d8' # str | The ID of the SOD policy to update. # str | The ID of the SOD policy to update. - sod_policy = '''{ - "conflictingAccessCriteria" : { - "leftCriteria" : { - "name" : "money-in", - "criteriaList" : [ { - "type" : "ENTITLEMENT", - "id" : "2c9180866166b5b0016167c32ef31a66", - "name" : "Administrator" - }, { - "type" : "ENTITLEMENT", - "id" : "2c9180866166b5b0016167c32ef31a67", - "name" : "Administrator" - } ] - }, - "rightCriteria" : { - "name" : "money-in", - "criteriaList" : [ { - "type" : "ENTITLEMENT", - "id" : "2c9180866166b5b0016167c32ef31a66", - "name" : "Administrator" - }, { - "type" : "ENTITLEMENT", - "id" : "2c9180866166b5b0016167c32ef31a67", - "name" : "Administrator" - } ] - } - }, - "ownerRef" : { - "name" : "Support", - "id" : "2c9180a46faadee4016fb4e018c20639", - "type" : "IDENTITY" - }, - "created" : "2020-01-01T00:00:00Z", - "scheduled" : true, - "creatorId" : "0f11f2a4-7c94-4bf3-a2bd-742580fe3bde", - "modifierId" : "0f11f2a4-7c94-4bf3-a2bd-742580fe3bde", - "description" : "This policy ensures compliance of xyz", - "violationOwnerAssignmentConfig" : { - "assignmentRule" : "MANAGER", - "ownerRef" : { - "name" : "Support", - "id" : "2c9180a46faadee4016fb4e018c20639", - "type" : "IDENTITY" - } - }, - "correctionAdvice" : "Based on the role of the employee, managers should remove access that is not required for their job function.", - "type" : "GENERAL", - "tags" : [ "TAG1", "TAG2" ], - "name" : "policy-xyz", - "modified" : "2020-01-01T00:00:00Z", - "policyQuery" : "@access(id:0f11f2a4-7c94-4bf3-a2bd-742580fe3bdg) AND @access(id:0f11f2a4-7c94-4bf3-a2bd-742580fe3bdf)", - "compensatingControls" : "Have a manager review the transaction decisions for their \"out of compliance\" employee", - "id" : "0f11f2a4-7c94-4bf3-a2bd-742580fe3bde", - "state" : "ENFORCED", - "externalPolicyReference" : "XYZ policy" - }''' # SodPolicy | - try: - # Update SOD policy by ID - new_sod_policy = SodPolicy.from_json(sod_policy) - results = SODPoliciesApi(api_client).put_sod_policy(id=id, sod_policy=new_sod_policy) - # Below is a request that includes all optional parameters - # results = SODPoliciesApi(api_client).put_sod_policy(id, new_sod_policy) - print("The response of SODPoliciesApi->put_sod_policy:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling SODPoliciesApi->put_sod_policy: %s\n" % e) -- path: /sod-policies/{id}/evaluate - method: POST - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v2024/methods/sod-policies#start-evaluate-sod-policy - source: | - from sailpoint.v2024.api.sod_policies_api import SODPoliciesApi - from sailpoint.v2024.api_client import ApiClient - from sailpoint.v2024.models.report_result_reference import ReportResultReference - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - id = 'ef38f943-47e9-4562-b5bb-8424a56397d8' # str | The SOD policy ID to run. # str | The SOD policy ID to run. - try: - # Evaluate one policy by ID - - results = SODPoliciesApi(api_client).start_evaluate_sod_policy(id=id) - # Below is a request that includes all optional parameters - # results = SODPoliciesApi(api_client).start_evaluate_sod_policy(id) - print("The response of SODPoliciesApi->start_evaluate_sod_policy:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling SODPoliciesApi->start_evaluate_sod_policy: %s\n" % e) -- path: /sod-violation-report/run - method: POST - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v2024/methods/sod-policies#start-sod-all-policies-for-org - source: | - from sailpoint.v2024.api.sod_policies_api import SODPoliciesApi - from sailpoint.v2024.api_client import ApiClient - from sailpoint.v2024.models.multi_policy_request import MultiPolicyRequest - from sailpoint.v2024.models.report_result_reference import ReportResultReference - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - multi_policy_request = '''{ - "filteredPolicyList" : [ "[b868cd40-ffa4-4337-9c07-1a51846cfa94, 63a07a7b-39a4-48aa-956d-50c827deba2a]", "[b868cd40-ffa4-4337-9c07-1a51846cfa94, 63a07a7b-39a4-48aa-956d-50c827deba2a]" ] - }''' # MultiPolicyRequest | (optional) - try: - # Runs all policies for org - - results = SODPoliciesApi(api_client).start_sod_all_policies_for_org() - # Below is a request that includes all optional parameters - # results = SODPoliciesApi(api_client).start_sod_all_policies_for_org(new_multi_policy_request) - print("The response of SODPoliciesApi->start_sod_all_policies_for_org:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling SODPoliciesApi->start_sod_all_policies_for_org: %s\n" % e) -- path: /sod-policies/{id}/violation-report/run - method: POST - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v2024/methods/sod-policies#start-sod-policy - source: | - from sailpoint.v2024.api.sod_policies_api import SODPoliciesApi - from sailpoint.v2024.api_client import ApiClient - from sailpoint.v2024.models.report_result_reference import ReportResultReference - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - id = 'ef38f943-47e9-4562-b5bb-8424a56397d8' # str | The SOD policy ID to run. # str | The SOD policy ID to run. - try: - # Runs SOD policy violation report - - results = SODPoliciesApi(api_client).start_sod_policy(id=id) - # Below is a request that includes all optional parameters - # results = SODPoliciesApi(api_client).start_sod_policy(id) - print("The response of SODPoliciesApi->start_sod_policy:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling SODPoliciesApi->start_sod_policy: %s\n" % e) -- path: /sod-violations/predict - method: POST - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v2024/methods/sod-violations#start-predict-sod-violations - source: | - from sailpoint.v2024.api.sod_violations_api import SODViolationsApi - from sailpoint.v2024.api_client import ApiClient - from sailpoint.v2024.models.identity_with_new_access import IdentityWithNewAccess - from sailpoint.v2024.models.violation_prediction import ViolationPrediction - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - identity_with_new_access = '''{ - "identityId" : "2c91808568c529c60168cca6f90c1313", - "accessRefs" : [ { - "type" : "ENTITLEMENT", - "id" : "2c918087682f9a86016839c050861ab1", - "name" : "CN=Information Access,OU=test,OU=test-service,DC=TestAD,DC=local" - }, { - "type" : "ENTITLEMENT", - "id" : "2c918087682f9a86016839c0509c1ab2", - "name" : "CN=Information Technology,OU=test,OU=test-service,DC=TestAD,DC=local" - } ] - }''' # IdentityWithNewAccess | - try: - # Predict SOD violations for identity. - new_identity_with_new_access = IdentityWithNewAccess.from_json(identity_with_new_access) - results = SODViolationsApi(api_client).start_predict_sod_violations(identity_with_new_access=new_identity_with_new_access) - # Below is a request that includes all optional parameters - # results = SODViolationsApi(api_client).start_predict_sod_violations(new_identity_with_new_access) - print("The response of SODViolationsApi->start_predict_sod_violations:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling SODViolationsApi->start_predict_sod_violations: %s\n" % e) -- path: /sod-violations/check - method: POST - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v2024/methods/sod-violations#start-violation-check - source: | - from sailpoint.v2024.api.sod_violations_api import SODViolationsApi - from sailpoint.v2024.api_client import ApiClient - from sailpoint.v2024.models.identity_with_new_access1 import IdentityWithNewAccess1 - from sailpoint.v2024.models.sod_violation_check import SodViolationCheck - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - identity_with_new_access1 = '''{identityId=2c91808568c529c60168cca6f90c1313, accessRefs=[{type=ENTITLEMENT, id=2c918087682f9a86016839c050861ab1, name=CN=Information Access,OU=test,OU=test-service,DC=TestAD,DC=local}, {type=ENTITLEMENT, id=2c918087682f9a86016839c0509c1ab2, name=CN=Information Technology,OU=test,OU=test-service,DC=TestAD,DC=local}], clientMetadata={additionalProp1=string, additionalProp2=string, additionalProp3=string}}''' # IdentityWithNewAccess1 | - try: - # Check SOD violations - new_identity_with_new_access1 = IdentityWithNewAccess1.from_json(identity_with_new_access1) - results = SODViolationsApi(api_client).start_violation_check(identity_with_new_access1=new_identity_with_new_access1) - # Below is a request that includes all optional parameters - # results = SODViolationsApi(api_client).start_violation_check(new_identity_with_new_access1) - print("The response of SODViolationsApi->start_violation_check:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling SODViolationsApi->start_violation_check: %s\n" % e) -- path: /sp-config/export - method: POST - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v2024/methods/sp-config#export-sp-config - source: | - from sailpoint.v2024.api.sp_config_api import SPConfigApi - from sailpoint.v2024.api_client import ApiClient - from sailpoint.v2024.models.export_payload import ExportPayload - from sailpoint.v2024.models.sp_config_export_job import SpConfigExportJob - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - export_payload = '''{ - "description" : "Export Job 1 Test" - }''' # ExportPayload | Export options control what will be included in the export. - try: - # Initiates configuration objects export job - new_export_payload = ExportPayload.from_json(export_payload) - results = SPConfigApi(api_client).export_sp_config(export_payload=new_export_payload) - # Below is a request that includes all optional parameters - # results = SPConfigApi(api_client).export_sp_config(new_export_payload) - print("The response of SPConfigApi->export_sp_config:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling SPConfigApi->export_sp_config: %s\n" % e) -- path: /sp-config/export/{id}/download - method: GET - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v2024/methods/sp-config#get-sp-config-export - source: | - from sailpoint.v2024.api.sp_config_api import SPConfigApi - from sailpoint.v2024.api_client import ApiClient - from sailpoint.v2024.models.sp_config_export_results import SpConfigExportResults - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - id = 'ef38f94347e94562b5bb8424a56397d8' # str | The ID of the export job whose results will be downloaded. # str | The ID of the export job whose results will be downloaded. - try: - # Download export job result. - - results = SPConfigApi(api_client).get_sp_config_export(id=id) - # Below is a request that includes all optional parameters - # results = SPConfigApi(api_client).get_sp_config_export(id) - print("The response of SPConfigApi->get_sp_config_export:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling SPConfigApi->get_sp_config_export: %s\n" % e) -- path: /sp-config/export/{id} - method: GET - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v2024/methods/sp-config#get-sp-config-export-status - source: | - from sailpoint.v2024.api.sp_config_api import SPConfigApi - from sailpoint.v2024.api_client import ApiClient - from sailpoint.v2024.models.sp_config_export_job_status import SpConfigExportJobStatus - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - id = 'ef38f94347e94562b5bb8424a56397d8' # str | The ID of the export job whose status will be returned. # str | The ID of the export job whose status will be returned. - try: - # Get export job status - - results = SPConfigApi(api_client).get_sp_config_export_status(id=id) - # Below is a request that includes all optional parameters - # results = SPConfigApi(api_client).get_sp_config_export_status(id) - print("The response of SPConfigApi->get_sp_config_export_status:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling SPConfigApi->get_sp_config_export_status: %s\n" % e) -- path: /sp-config/import/{id}/download - method: GET - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v2024/methods/sp-config#get-sp-config-import - source: | - from sailpoint.v2024.api.sp_config_api import SPConfigApi - from sailpoint.v2024.api_client import ApiClient - from sailpoint.v2024.models.sp_config_import_results import SpConfigImportResults - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - id = 'ef38f94347e94562b5bb8424a56397d8' # str | The ID of the import job whose results will be downloaded. # str | The ID of the import job whose results will be downloaded. - try: - # Download import job result - - results = SPConfigApi(api_client).get_sp_config_import(id=id) - # Below is a request that includes all optional parameters - # results = SPConfigApi(api_client).get_sp_config_import(id) - print("The response of SPConfigApi->get_sp_config_import:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling SPConfigApi->get_sp_config_import: %s\n" % e) -- path: /sp-config/import/{id} - method: GET - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v2024/methods/sp-config#get-sp-config-import-status - source: | - from sailpoint.v2024.api.sp_config_api import SPConfigApi - from sailpoint.v2024.api_client import ApiClient - from sailpoint.v2024.models.sp_config_import_job_status import SpConfigImportJobStatus - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - id = 'ef38f94347e94562b5bb8424a56397d8' # str | The ID of the import job whose status will be returned. # str | The ID of the import job whose status will be returned. - try: - # Get import job status - - results = SPConfigApi(api_client).get_sp_config_import_status(id=id) - # Below is a request that includes all optional parameters - # results = SPConfigApi(api_client).get_sp_config_import_status(id) - print("The response of SPConfigApi->get_sp_config_import_status:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling SPConfigApi->get_sp_config_import_status: %s\n" % e) -- path: /sp-config/import - method: POST - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v2024/methods/sp-config#import-sp-config - source: | - from sailpoint.v2024.api.sp_config_api import SPConfigApi - from sailpoint.v2024.api_client import ApiClient - from sailpoint.v2024.models.import_options import ImportOptions - from sailpoint.v2024.models.sp_config_job import SpConfigJob - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - data = None # bytearray | JSON file containing the objects to be imported. # bytearray | JSON file containing the objects to be imported. - preview = False # bool | This option is intended to give the user information about how an import operation would proceed, without having any effect on the target tenant. If this parameter is \"true\", no objects will be imported. Instead, the import process will pre-process the import file and attempt to resolve references within imported objects. The import result file will contain messages pertaining to how specific references were resolved, any errors associated with the preprocessing, and messages indicating which objects would be imported. (optional) (default to False) # bool | This option is intended to give the user information about how an import operation would proceed, without having any effect on the target tenant. If this parameter is \"true\", no objects will be imported. Instead, the import process will pre-process the import file and attempt to resolve references within imported objects. The import result file will contain messages pertaining to how specific references were resolved, any errors associated with the preprocessing, and messages indicating which objects would be imported. (optional) (default to False) - options = '''sailpoint.v2024.ImportOptions()''' # ImportOptions | (optional) - try: - # Initiates configuration objects import job - - results = SPConfigApi(api_client).import_sp_config(data=data) - # Below is a request that includes all optional parameters - # results = SPConfigApi(api_client).import_sp_config(data, preview, options) - print("The response of SPConfigApi->import_sp_config:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling SPConfigApi->import_sp_config: %s\n" % e) -- path: /sp-config/config-objects - method: GET - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v2024/methods/sp-config#list-sp-config-objects - source: | - from sailpoint.v2024.api.sp_config_api import SPConfigApi - from sailpoint.v2024.api_client import ApiClient - from sailpoint.v2024.models.sp_config_object import SpConfigObject - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - try: - # List Config Objects - - results = SPConfigApi(api_client).list_sp_config_objects() - # Below is a request that includes all optional parameters - # results = SPConfigApi(api_client).list_sp_config_objects() - print("The response of SPConfigApi->list_sp_config_objects:\n") - for item in results: - print(item.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling SPConfigApi->list_sp_config_objects: %s\n" % e) - path: /saved-searches method: POST xCodeSample: @@ -17282,7 +16166,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -17315,7 +16199,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: name = 'newMailAttribute' # str | Name of the extended search attribute configuration to delete. # str | Name of the extended search attribute configuration to delete. @@ -17340,7 +16224,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -17369,7 +16253,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: name = 'newMailAttribute' # str | Name of the extended search attribute configuration to get. # str | Name of the extended search attribute configuration to get. @@ -17397,7 +16281,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: name = 'promotedMailAttribute' # str | Name of the search attribute configuration to patch. # str | Name of the search attribute configuration to patch. @@ -17885,61 +16769,941 @@ print(results.model_dump_json(by_alias=True, indent=4)) except Exception as e: print("Exception when calling ServiceDeskIntegrationApi->update_status_check_details: %s\n" % e) -- path: /source-usages/{sourceId}/status - method: GET +- path: /sim-integrations + method: POST xCodeSample: - lang: Python - label: SDK_tools/sdk/python/v2024/methods/source-usages#get-status-by-source-id + label: SDK_tools/sdk/python/v2024/methods/sim-integrations#create-sim-integration source: | - from sailpoint.v2024.api.source_usages_api import SourceUsagesApi + from sailpoint.v2024.api.sim_integrations_api import SIMIntegrationsApi from sailpoint.v2024.api_client import ApiClient - from sailpoint.v2024.models.source_usage_status import SourceUsageStatus + from sailpoint.v2024.models.service_desk_integration_dto import ServiceDeskIntegrationDto + from sailpoint.v2024.models.sim_integration_details import SimIntegrationDetails from sailpoint.configuration import Configuration configuration = Configuration() + configuration.experimental = True with ApiClient(configuration) as api_client: - source_id = '2c9180835d191a86015d28455b4a2329' # str | ID of IDN source # str | ID of IDN source + x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') + sim_integration_details = '''{ + "cluster" : "xyzzy999", + "statusMap" : "{closed_cancelled=Failed, closed_complete=Committed, closed_incomplete=Failed, closed_rejected=Failed, in_process=Queued, requested=Queued}", + "request" : "{description=SailPoint Access Request,, req_description=The Service Request created by SailPoint ServiceNow Service Integration Module (SIM).,, req_short_description=SailPoint New Access Request Created from IdentityNow,, short_description=SailPoint Access Request $!plan.arguments.identityRequestId}", + "sources" : [ "2c9180835d191a86015d28455b4a2329", "2c5680835d191a85765d28455b4a9823" ], + "created" : "2015-05-28T14:07:17Z", + "name" : "aName", + "modified" : "2015-05-28T14:07:17Z", + "description" : "Integration description", + "attributes" : "{\"uid\":\"Walter White\",\"firstname\":\"walter\",\"cloudStatus\":\"UNREGISTERED\",\"displayName\":\"Walter White\",\"identificationNumber\":\"942\",\"lastSyncDate\":1470348809380,\"email\":\"walter@gmail.com\",\"lastname\":\"white\"}", + "id" : "id12345", + "type" : "ServiceNow Service Desk", + "beforeProvisioningRule" : { + "name" : "Example Rule", + "id" : "2c918085708c274401708c2a8a760001", + "type" : "IDENTITY" + } + }''' # SimIntegrationDetails | DTO containing the details of the SIM integration try: - # Finds status of source usage - - results = SourceUsagesApi(api_client).get_status_by_source_id(source_id=source_id) + # Create new SIM integration + new_sim_integration_details = SimIntegrationDetails.from_json(sim_integration_details) + results = SIMIntegrationsApi(api_client).create_sim_integration(x_sail_point_experimental=x_sail_point_experimental, sim_integration_details=new_sim_integration_details) # Below is a request that includes all optional parameters - # results = SourceUsagesApi(api_client).get_status_by_source_id(source_id) - print("The response of SourceUsagesApi->get_status_by_source_id:\n") + # results = SIMIntegrationsApi(api_client).create_sim_integration(x_sail_point_experimental, new_sim_integration_details) + print("The response of SIMIntegrationsApi->create_sim_integration:\n") print(results.model_dump_json(by_alias=True, indent=4)) except Exception as e: - print("Exception when calling SourceUsagesApi->get_status_by_source_id: %s\n" % e) -- path: /source-usages/{sourceId}/summaries - method: GET + print("Exception when calling SIMIntegrationsApi->create_sim_integration: %s\n" % e) +- path: /sim-integrations/{id} + method: DELETE xCodeSample: - lang: Python - label: SDK_tools/sdk/python/v2024/methods/source-usages#get-usages-by-source-id + label: SDK_tools/sdk/python/v2024/methods/sim-integrations#delete-sim-integration source: | - from sailpoint.v2024.api.source_usages_api import SourceUsagesApi + from sailpoint.v2024.api.sim_integrations_api import SIMIntegrationsApi from sailpoint.v2024.api_client import ApiClient - from sailpoint.v2024.models.source_usage import SourceUsage from sailpoint.configuration import Configuration configuration = Configuration() + configuration.experimental = True with ApiClient(configuration) as api_client: - source_id = '2c9180835d191a86015d28455b4a2329' # str | ID of IDN source # str | ID of IDN source - 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) - offset = 0 # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) - count = False # bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to False) # bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to False) - sorters = '-date' # str | Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **date** (optional) # str | Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **date** (optional) + id = '12345' # str | The id of the integration to delete. # str | The id of the integration to delete. + x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') try: - # Returns source usage insights + # Delete a SIM integration - results = SourceUsagesApi(api_client).get_usages_by_source_id(source_id=source_id) + SIMIntegrationsApi(api_client).delete_sim_integration(id=id, x_sail_point_experimental=x_sail_point_experimental) # Below is a request that includes all optional parameters - # results = SourceUsagesApi(api_client).get_usages_by_source_id(source_id, limit, offset, count, sorters) - print("The response of SourceUsagesApi->get_usages_by_source_id:\n") + # SIMIntegrationsApi(api_client).delete_sim_integration(id, x_sail_point_experimental) + except Exception as e: + print("Exception when calling SIMIntegrationsApi->delete_sim_integration: %s\n" % e) +- path: /sim-integrations/{id} + method: GET + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v2024/methods/sim-integrations#get-sim-integration + source: | + from sailpoint.v2024.api.sim_integrations_api import SIMIntegrationsApi + from sailpoint.v2024.api_client import ApiClient + from sailpoint.v2024.models.service_desk_integration_dto import ServiceDeskIntegrationDto + from sailpoint.configuration import Configuration + configuration = Configuration() + + configuration.experimental = True + + with ApiClient(configuration) as api_client: + id = '12345' # str | The id of the integration. # str | The id of the integration. + x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') + try: + # Get a SIM integration details. + + results = SIMIntegrationsApi(api_client).get_sim_integration(id=id, x_sail_point_experimental=x_sail_point_experimental) + # Below is a request that includes all optional parameters + # results = SIMIntegrationsApi(api_client).get_sim_integration(id, x_sail_point_experimental) + print("The response of SIMIntegrationsApi->get_sim_integration:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling SIMIntegrationsApi->get_sim_integration: %s\n" % e) +- path: /sim-integrations + method: GET + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v2024/methods/sim-integrations#get-sim-integrations + source: | + from sailpoint.v2024.api.sim_integrations_api import SIMIntegrationsApi + from sailpoint.v2024.api_client import ApiClient + from sailpoint.v2024.models.service_desk_integration_dto import ServiceDeskIntegrationDto + from sailpoint.configuration import Configuration + configuration = Configuration() + + configuration.experimental = True + + with ApiClient(configuration) as api_client: + x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') + try: + # List the existing SIM integrations. + + results = SIMIntegrationsApi(api_client).get_sim_integrations(x_sail_point_experimental=x_sail_point_experimental) + # Below is a request that includes all optional parameters + # results = SIMIntegrationsApi(api_client).get_sim_integrations(x_sail_point_experimental) + print("The response of SIMIntegrationsApi->get_sim_integrations:\n") for item in results: print(item.model_dump_json(by_alias=True, indent=4)) except Exception as e: - print("Exception when calling SourceUsagesApi->get_usages_by_source_id: %s\n" % e) + print("Exception when calling SIMIntegrationsApi->get_sim_integrations: %s\n" % e) +- path: /sim-integrations/{id}/beforeProvisioningRule + method: PATCH + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v2024/methods/sim-integrations#patch-before-provisioning-rule + source: | + from sailpoint.v2024.api.sim_integrations_api import SIMIntegrationsApi + from sailpoint.v2024.api_client import ApiClient + from sailpoint.v2024.models.json_patch import JsonPatch + from sailpoint.v2024.models.service_desk_integration_dto import ServiceDeskIntegrationDto + from sailpoint.configuration import Configuration + configuration = Configuration() + + configuration.experimental = True + + with ApiClient(configuration) as api_client: + id = '12345' # str | SIM integration id # str | SIM integration id + x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') + json_patch = '''{ + "operations" : [ { + "op" : "replace", + "path" : "/description", + "value" : "New description" + }, { + "op" : "replace", + "path" : "/description", + "value" : "New description" + } ] + }''' # JsonPatch | The JsonPatch object that describes the changes of SIM beforeProvisioningRule. + try: + # Patch a SIM beforeProvisioningRule attribute. + new_json_patch = JsonPatch.from_json(json_patch) + results = SIMIntegrationsApi(api_client).patch_before_provisioning_rule(id=id, x_sail_point_experimental=x_sail_point_experimental, json_patch=new_json_patch) + # Below is a request that includes all optional parameters + # results = SIMIntegrationsApi(api_client).patch_before_provisioning_rule(id, x_sail_point_experimental, new_json_patch) + print("The response of SIMIntegrationsApi->patch_before_provisioning_rule:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling SIMIntegrationsApi->patch_before_provisioning_rule: %s\n" % e) +- path: /sim-integrations/{id} + method: PATCH + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v2024/methods/sim-integrations#patch-sim-attributes + source: | + from sailpoint.v2024.api.sim_integrations_api import SIMIntegrationsApi + from sailpoint.v2024.api_client import ApiClient + from sailpoint.v2024.models.json_patch import JsonPatch + from sailpoint.v2024.models.service_desk_integration_dto import ServiceDeskIntegrationDto + from sailpoint.configuration import Configuration + configuration = Configuration() + + configuration.experimental = True + + with ApiClient(configuration) as api_client: + id = '12345' # str | SIM integration id # str | SIM integration id + x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') + json_patch = '''{ + "operations" : [ { + "op" : "replace", + "path" : "/description", + "value" : "New description" + }, { + "op" : "replace", + "path" : "/description", + "value" : "New description" + } ] + }''' # JsonPatch | The JsonPatch object that describes the changes of SIM + try: + # Patch a SIM attribute. + new_json_patch = JsonPatch.from_json(json_patch) + results = SIMIntegrationsApi(api_client).patch_sim_attributes(id=id, x_sail_point_experimental=x_sail_point_experimental, json_patch=new_json_patch) + # Below is a request that includes all optional parameters + # results = SIMIntegrationsApi(api_client).patch_sim_attributes(id, x_sail_point_experimental, new_json_patch) + print("The response of SIMIntegrationsApi->patch_sim_attributes:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling SIMIntegrationsApi->patch_sim_attributes: %s\n" % e) +- path: /sim-integrations/{id} + method: PUT + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v2024/methods/sim-integrations#put-sim-integration + source: | + from sailpoint.v2024.api.sim_integrations_api import SIMIntegrationsApi + from sailpoint.v2024.api_client import ApiClient + from sailpoint.v2024.models.service_desk_integration_dto import ServiceDeskIntegrationDto + from sailpoint.v2024.models.sim_integration_details import SimIntegrationDetails + from sailpoint.configuration import Configuration + configuration = Configuration() + + configuration.experimental = True + + with ApiClient(configuration) as api_client: + id = '12345' # str | The id of the integration. # str | The id of the integration. + x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') + sim_integration_details = '''{ + "cluster" : "xyzzy999", + "statusMap" : "{closed_cancelled=Failed, closed_complete=Committed, closed_incomplete=Failed, closed_rejected=Failed, in_process=Queued, requested=Queued}", + "request" : "{description=SailPoint Access Request,, req_description=The Service Request created by SailPoint ServiceNow Service Integration Module (SIM).,, req_short_description=SailPoint New Access Request Created from IdentityNow,, short_description=SailPoint Access Request $!plan.arguments.identityRequestId}", + "sources" : [ "2c9180835d191a86015d28455b4a2329", "2c5680835d191a85765d28455b4a9823" ], + "created" : "2015-05-28T14:07:17Z", + "name" : "aName", + "modified" : "2015-05-28T14:07:17Z", + "description" : "Integration description", + "attributes" : "{\"uid\":\"Walter White\",\"firstname\":\"walter\",\"cloudStatus\":\"UNREGISTERED\",\"displayName\":\"Walter White\",\"identificationNumber\":\"942\",\"lastSyncDate\":1470348809380,\"email\":\"walter@gmail.com\",\"lastname\":\"white\"}", + "id" : "id12345", + "type" : "ServiceNow Service Desk", + "beforeProvisioningRule" : { + "name" : "Example Rule", + "id" : "2c918085708c274401708c2a8a760001", + "type" : "IDENTITY" + } + }''' # SimIntegrationDetails | The full DTO of the integration containing the updated model + try: + # Update an existing SIM integration + new_sim_integration_details = SimIntegrationDetails.from_json(sim_integration_details) + results = SIMIntegrationsApi(api_client).put_sim_integration(id=id, x_sail_point_experimental=x_sail_point_experimental, sim_integration_details=new_sim_integration_details) + # Below is a request that includes all optional parameters + # results = SIMIntegrationsApi(api_client).put_sim_integration(id, x_sail_point_experimental, new_sim_integration_details) + print("The response of SIMIntegrationsApi->put_sim_integration:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling SIMIntegrationsApi->put_sim_integration: %s\n" % e) +- path: /sod-policies + method: POST + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v2024/methods/sod-policies#create-sod-policy + source: | + from sailpoint.v2024.api.sod_policies_api import SODPoliciesApi + from sailpoint.v2024.api_client import ApiClient + from sailpoint.v2024.models.sod_policy import SodPolicy + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + sod_policy = '''{ + "conflictingAccessCriteria" : { + "leftCriteria" : { + "name" : "money-in", + "criteriaList" : [ { + "type" : "ENTITLEMENT", + "id" : "2c9180866166b5b0016167c32ef31a66", + "name" : "Administrator" + }, { + "type" : "ENTITLEMENT", + "id" : "2c9180866166b5b0016167c32ef31a67", + "name" : "Administrator" + } ] + }, + "rightCriteria" : { + "name" : "money-in", + "criteriaList" : [ { + "type" : "ENTITLEMENT", + "id" : "2c9180866166b5b0016167c32ef31a66", + "name" : "Administrator" + }, { + "type" : "ENTITLEMENT", + "id" : "2c9180866166b5b0016167c32ef31a67", + "name" : "Administrator" + } ] + } + }, + "ownerRef" : { + "name" : "Support", + "id" : "2c9180a46faadee4016fb4e018c20639", + "type" : "IDENTITY" + }, + "created" : "2020-01-01T00:00:00Z", + "scheduled" : true, + "creatorId" : "0f11f2a4-7c94-4bf3-a2bd-742580fe3bde", + "modifierId" : "0f11f2a4-7c94-4bf3-a2bd-742580fe3bde", + "description" : "This policy ensures compliance of xyz", + "violationOwnerAssignmentConfig" : { + "assignmentRule" : "MANAGER", + "ownerRef" : { + "name" : "Support", + "id" : "2c9180a46faadee4016fb4e018c20639", + "type" : "IDENTITY" + } + }, + "correctionAdvice" : "Based on the role of the employee, managers should remove access that is not required for their job function.", + "type" : "GENERAL", + "tags" : [ "TAG1", "TAG2" ], + "name" : "policy-xyz", + "modified" : "2020-01-01T00:00:00Z", + "policyQuery" : "@access(id:0f11f2a4-7c94-4bf3-a2bd-742580fe3bdg) AND @access(id:0f11f2a4-7c94-4bf3-a2bd-742580fe3bdf)", + "compensatingControls" : "Have a manager review the transaction decisions for their \"out of compliance\" employee", + "id" : "0f11f2a4-7c94-4bf3-a2bd-742580fe3bde", + "state" : "ENFORCED", + "externalPolicyReference" : "XYZ policy" + }''' # SodPolicy | + try: + # Create SOD policy + new_sod_policy = SodPolicy.from_json(sod_policy) + results = SODPoliciesApi(api_client).create_sod_policy(sod_policy=new_sod_policy) + # Below is a request that includes all optional parameters + # results = SODPoliciesApi(api_client).create_sod_policy(new_sod_policy) + print("The response of SODPoliciesApi->create_sod_policy:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling SODPoliciesApi->create_sod_policy: %s\n" % e) +- path: /sod-policies/{id} + method: DELETE + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v2024/methods/sod-policies#delete-sod-policy + source: | + from sailpoint.v2024.api.sod_policies_api import SODPoliciesApi + from sailpoint.v2024.api_client import ApiClient + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + id = 'ef38f943-47e9-4562-b5bb-8424a56397d8' # str | The ID of the SOD Policy to delete. # str | The ID of the SOD Policy to delete. + logical = True # bool | Indicates whether this is a soft delete (logical true) or a hard delete. Soft delete marks the policy as deleted and just save it with this status. It could be fully deleted or recovered further. Hard delete vise versa permanently delete SOD request during this call. (optional) (default to True) # bool | Indicates whether this is a soft delete (logical true) or a hard delete. Soft delete marks the policy as deleted and just save it with this status. It could be fully deleted or recovered further. Hard delete vise versa permanently delete SOD request during this call. (optional) (default to True) + try: + # Delete SOD policy by ID + + SODPoliciesApi(api_client).delete_sod_policy(id=id) + # Below is a request that includes all optional parameters + # SODPoliciesApi(api_client).delete_sod_policy(id, logical) + except Exception as e: + print("Exception when calling SODPoliciesApi->delete_sod_policy: %s\n" % e) +- path: /sod-policies/{id}/schedule + method: DELETE + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v2024/methods/sod-policies#delete-sod-policy-schedule + source: | + from sailpoint.v2024.api.sod_policies_api import SODPoliciesApi + from sailpoint.v2024.api_client import ApiClient + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + id = 'ef38f943-47e9-4562-b5bb-8424a56397d8' # str | The ID of the SOD policy the schedule must be deleted for. # str | The ID of the SOD policy the schedule must be deleted for. + try: + # Delete SOD policy schedule + + SODPoliciesApi(api_client).delete_sod_policy_schedule(id=id) + # Below is a request that includes all optional parameters + # SODPoliciesApi(api_client).delete_sod_policy_schedule(id) + except Exception as e: + print("Exception when calling SODPoliciesApi->delete_sod_policy_schedule: %s\n" % e) +- path: /sod-violation-report/{reportResultId}/download/{fileName} + method: GET + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v2024/methods/sod-policies#get-custom-violation-report + source: | + from sailpoint.v2024.api.sod_policies_api import SODPoliciesApi + from sailpoint.v2024.api_client import ApiClient + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + report_result_id = 'ef38f94347e94562b5bb8424a56397d8' # str | The ID of the report reference to download. # str | The ID of the report reference to download. + file_name = 'custom-name' # str | Custom Name for the file. # str | Custom Name for the file. + try: + # Download custom violation report + + results = SODPoliciesApi(api_client).get_custom_violation_report(report_result_id=report_result_id, file_name=file_name) + # Below is a request that includes all optional parameters + # results = SODPoliciesApi(api_client).get_custom_violation_report(report_result_id, file_name) + print("The response of SODPoliciesApi->get_custom_violation_report:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling SODPoliciesApi->get_custom_violation_report: %s\n" % e) +- path: /sod-violation-report/{reportResultId}/download + method: GET + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v2024/methods/sod-policies#get-default-violation-report + source: | + from sailpoint.v2024.api.sod_policies_api import SODPoliciesApi + from sailpoint.v2024.api_client import ApiClient + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + report_result_id = 'ef38f94347e94562b5bb8424a56397d8' # str | The ID of the report reference to download. # str | The ID of the report reference to download. + try: + # Download violation report + + results = SODPoliciesApi(api_client).get_default_violation_report(report_result_id=report_result_id) + # Below is a request that includes all optional parameters + # results = SODPoliciesApi(api_client).get_default_violation_report(report_result_id) + print("The response of SODPoliciesApi->get_default_violation_report:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling SODPoliciesApi->get_default_violation_report: %s\n" % e) +- path: /sod-violation-report + method: GET + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v2024/methods/sod-policies#get-sod-all-report-run-status + source: | + from sailpoint.v2024.api.sod_policies_api import SODPoliciesApi + from sailpoint.v2024.api_client import ApiClient + from sailpoint.v2024.models.report_result_reference import ReportResultReference + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + try: + # Get multi-report run task status + + results = SODPoliciesApi(api_client).get_sod_all_report_run_status() + # Below is a request that includes all optional parameters + # results = SODPoliciesApi(api_client).get_sod_all_report_run_status() + print("The response of SODPoliciesApi->get_sod_all_report_run_status:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling SODPoliciesApi->get_sod_all_report_run_status: %s\n" % e) +- path: /sod-policies/{id} + method: GET + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v2024/methods/sod-policies#get-sod-policy + source: | + from sailpoint.v2024.api.sod_policies_api import SODPoliciesApi + from sailpoint.v2024.api_client import ApiClient + from sailpoint.v2024.models.sod_policy import SodPolicy + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + id = 'ef38f943-47e9-4562-b5bb-8424a56397d8' # str | The ID of the SOD Policy to retrieve. # str | The ID of the SOD Policy to retrieve. + try: + # Get SOD policy by ID + + results = SODPoliciesApi(api_client).get_sod_policy(id=id) + # Below is a request that includes all optional parameters + # results = SODPoliciesApi(api_client).get_sod_policy(id) + print("The response of SODPoliciesApi->get_sod_policy:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling SODPoliciesApi->get_sod_policy: %s\n" % e) +- path: /sod-policies/{id}/schedule + method: GET + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v2024/methods/sod-policies#get-sod-policy-schedule + source: | + from sailpoint.v2024.api.sod_policies_api import SODPoliciesApi + from sailpoint.v2024.api_client import ApiClient + from sailpoint.v2024.models.sod_policy_schedule import SodPolicySchedule + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + id = 'ef38f943-47e9-4562-b5bb-8424a56397d8' # str | The ID of the SOD policy schedule to retrieve. # str | The ID of the SOD policy schedule to retrieve. + try: + # Get SOD policy schedule + + results = SODPoliciesApi(api_client).get_sod_policy_schedule(id=id) + # Below is a request that includes all optional parameters + # results = SODPoliciesApi(api_client).get_sod_policy_schedule(id) + print("The response of SODPoliciesApi->get_sod_policy_schedule:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling SODPoliciesApi->get_sod_policy_schedule: %s\n" % e) +- path: /sod-policies/sod-violation-report-status/{reportResultId} + method: GET + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v2024/methods/sod-policies#get-sod-violation-report-run-status + source: | + from sailpoint.v2024.api.sod_policies_api import SODPoliciesApi + from sailpoint.v2024.api_client import ApiClient + from sailpoint.v2024.models.report_result_reference import ReportResultReference + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + report_result_id = '2e8d8180-24bc-4d21-91c6-7affdb473b0d' # str | The ID of the report reference to retrieve. # str | The ID of the report reference to retrieve. + try: + # Get violation report run status + + results = SODPoliciesApi(api_client).get_sod_violation_report_run_status(report_result_id=report_result_id) + # Below is a request that includes all optional parameters + # results = SODPoliciesApi(api_client).get_sod_violation_report_run_status(report_result_id) + print("The response of SODPoliciesApi->get_sod_violation_report_run_status:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling SODPoliciesApi->get_sod_violation_report_run_status: %s\n" % e) +- path: /sod-policies/{id}/violation-report + method: GET + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v2024/methods/sod-policies#get-sod-violation-report-status + source: | + from sailpoint.v2024.api.sod_policies_api import SODPoliciesApi + from sailpoint.v2024.api_client import ApiClient + from sailpoint.v2024.models.report_result_reference import ReportResultReference + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + id = 'ef38f943-47e9-4562-b5bb-8424a56397d8' # str | The ID of the violation report to retrieve status for. # str | The ID of the violation report to retrieve status for. + try: + # Get SOD violation report status + + results = SODPoliciesApi(api_client).get_sod_violation_report_status(id=id) + # Below is a request that includes all optional parameters + # results = SODPoliciesApi(api_client).get_sod_violation_report_status(id) + print("The response of SODPoliciesApi->get_sod_violation_report_status:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling SODPoliciesApi->get_sod_violation_report_status: %s\n" % e) +- path: /sod-policies + method: GET + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v2024/methods/sod-policies#list-sod-policies + source: | + from sailpoint.v2024.api.sod_policies_api import SODPoliciesApi + from sailpoint.v2024.api_client import ApiClient + from sailpoint.v2024.models.sod_policy import SodPolicy + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + 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) + offset = 0 # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) + count = False # bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to False) # bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to False) + filters = 'id eq \"bc693f07e7b645539626c25954c58554\"' # str | Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **id**: *eq, in* **name**: *eq, in* **state**: *eq, in* (optional) # str | Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **id**: *eq, in* **name**: *eq, in* **state**: *eq, in* (optional) + sorters = 'id,name' # str | Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **id, name, created, modified, description** (optional) # str | Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **id, name, created, modified, description** (optional) + try: + # List SOD policies + + results = SODPoliciesApi(api_client).list_sod_policies() + # Below is a request that includes all optional parameters + # results = SODPoliciesApi(api_client).list_sod_policies(limit, offset, count, filters, sorters) + print("The response of SODPoliciesApi->list_sod_policies:\n") + for item in results: + print(item.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling SODPoliciesApi->list_sod_policies: %s\n" % e) +- path: /sod-policies/{id} + method: PATCH + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v2024/methods/sod-policies#patch-sod-policy + source: | + from sailpoint.v2024.api.sod_policies_api import SODPoliciesApi + from sailpoint.v2024.api_client import ApiClient + from sailpoint.v2024.models.json_patch_operation import JsonPatchOperation + from sailpoint.v2024.models.sod_policy import SodPolicy + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + id = '2c918083-5d19-1a86-015d-28455b4a2329' # str | The ID of the SOD policy being modified. # str | The ID of the SOD policy being modified. + json_patch_operation = '''[{op=replace, path=/description, value=Modified description}, {op=replace, path=/conflictingAccessCriteria/leftCriteria/name, value=money-in-modified}, {op=replace, path=/conflictingAccessCriteria/rightCriteria, value={name=money-out-modified, criteriaList=[{type=ENTITLEMENT, id=2c918087682f9a86016839c0509c1ab2}]}}]''' # List[JsonPatchOperation] | A list of SOD Policy update operations according to the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard. The following fields are patchable: * name * description * ownerRef * externalPolicyReference * compensatingControls * correctionAdvice * state * tags * violationOwnerAssignmentConfig * scheduled * conflictingAccessCriteria + try: + # Patch SOD policy by ID + new_json_patch_operation = JsonPatchOperation.from_json(json_patch_operation) + results = SODPoliciesApi(api_client).patch_sod_policy(id=id, json_patch_operation=new_json_patch_operation) + # Below is a request that includes all optional parameters + # results = SODPoliciesApi(api_client).patch_sod_policy(id, new_json_patch_operation) + print("The response of SODPoliciesApi->patch_sod_policy:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling SODPoliciesApi->patch_sod_policy: %s\n" % e) +- path: /sod-policies/{id}/schedule + method: PUT + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v2024/methods/sod-policies#put-policy-schedule + source: | + from sailpoint.v2024.api.sod_policies_api import SODPoliciesApi + from sailpoint.v2024.api_client import ApiClient + from sailpoint.v2024.models.sod_policy_schedule import SodPolicySchedule + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + id = 'ef38f943-47e9-4562-b5bb-8424a56397d8' # str | The ID of the SOD policy to update its schedule. # str | The ID of the SOD policy to update its schedule. + sod_policy_schedule = '''{ + "schedule" : { + "hours" : { + "accountMatchConfig" : { + "matchExpression" : { + "and" : true, + "matchTerms" : [ { + "name" : "", + "value" : "", + "container" : true, + "and" : false, + "children" : [ { + "name" : "businessCategory", + "value" : "Service", + "op" : "eq", + "container" : false, + "and" : false + } ] + } ] + } + }, + "applicationId" : "2c91808874ff91550175097daaec161c\"" + }, + "months" : { + "accountMatchConfig" : { + "matchExpression" : { + "and" : true, + "matchTerms" : [ { + "name" : "", + "value" : "", + "container" : true, + "and" : false, + "children" : [ { + "name" : "businessCategory", + "value" : "Service", + "op" : "eq", + "container" : false, + "and" : false + } ] + } ] + } + }, + "applicationId" : "2c91808874ff91550175097daaec161c\"" + }, + "timeZoneId" : "America/Chicago", + "days" : { + "accountMatchConfig" : { + "matchExpression" : { + "and" : true, + "matchTerms" : [ { + "name" : "", + "value" : "", + "container" : true, + "and" : false, + "children" : [ { + "name" : "businessCategory", + "value" : "Service", + "op" : "eq", + "container" : false, + "and" : false + } ] + } ] + } + }, + "applicationId" : "2c91808874ff91550175097daaec161c\"" + }, + "expiration" : "2018-06-25T20:22:28.104Z", + "type" : "WEEKLY" + }, + "created" : "2020-01-01T00:00:00Z", + "recipients" : [ { + "name" : "Michael Michaels", + "id" : "2c7180a46faadee4016fb4e018c20642", + "type" : "IDENTITY" + }, { + "name" : "Michael Michaels", + "id" : "2c7180a46faadee4016fb4e018c20642", + "type" : "IDENTITY" + } ], + "name" : "SCH-1584312283015", + "creatorId" : "0f11f2a47c944bf3a2bd742580fe3bde", + "modifierId" : "0f11f2a47c944bf3a2bd742580fe3bde", + "modified" : "2020-01-01T00:00:00Z", + "description" : "Schedule for policy xyz", + "emailEmptyResults" : false + }''' # SodPolicySchedule | + try: + # Update SOD Policy schedule + new_sod_policy_schedule = SodPolicySchedule.from_json(sod_policy_schedule) + results = SODPoliciesApi(api_client).put_policy_schedule(id=id, sod_policy_schedule=new_sod_policy_schedule) + # Below is a request that includes all optional parameters + # results = SODPoliciesApi(api_client).put_policy_schedule(id, new_sod_policy_schedule) + print("The response of SODPoliciesApi->put_policy_schedule:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling SODPoliciesApi->put_policy_schedule: %s\n" % e) +- path: /sod-policies/{id} + method: PUT + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v2024/methods/sod-policies#put-sod-policy + source: | + from sailpoint.v2024.api.sod_policies_api import SODPoliciesApi + from sailpoint.v2024.api_client import ApiClient + from sailpoint.v2024.models.sod_policy import SodPolicy + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + id = 'ef38f943-47e9-4562-b5bb-8424a56397d8' # str | The ID of the SOD policy to update. # str | The ID of the SOD policy to update. + sod_policy = '''{ + "conflictingAccessCriteria" : { + "leftCriteria" : { + "name" : "money-in", + "criteriaList" : [ { + "type" : "ENTITLEMENT", + "id" : "2c9180866166b5b0016167c32ef31a66", + "name" : "Administrator" + }, { + "type" : "ENTITLEMENT", + "id" : "2c9180866166b5b0016167c32ef31a67", + "name" : "Administrator" + } ] + }, + "rightCriteria" : { + "name" : "money-in", + "criteriaList" : [ { + "type" : "ENTITLEMENT", + "id" : "2c9180866166b5b0016167c32ef31a66", + "name" : "Administrator" + }, { + "type" : "ENTITLEMENT", + "id" : "2c9180866166b5b0016167c32ef31a67", + "name" : "Administrator" + } ] + } + }, + "ownerRef" : { + "name" : "Support", + "id" : "2c9180a46faadee4016fb4e018c20639", + "type" : "IDENTITY" + }, + "created" : "2020-01-01T00:00:00Z", + "scheduled" : true, + "creatorId" : "0f11f2a4-7c94-4bf3-a2bd-742580fe3bde", + "modifierId" : "0f11f2a4-7c94-4bf3-a2bd-742580fe3bde", + "description" : "This policy ensures compliance of xyz", + "violationOwnerAssignmentConfig" : { + "assignmentRule" : "MANAGER", + "ownerRef" : { + "name" : "Support", + "id" : "2c9180a46faadee4016fb4e018c20639", + "type" : "IDENTITY" + } + }, + "correctionAdvice" : "Based on the role of the employee, managers should remove access that is not required for their job function.", + "type" : "GENERAL", + "tags" : [ "TAG1", "TAG2" ], + "name" : "policy-xyz", + "modified" : "2020-01-01T00:00:00Z", + "policyQuery" : "@access(id:0f11f2a4-7c94-4bf3-a2bd-742580fe3bdg) AND @access(id:0f11f2a4-7c94-4bf3-a2bd-742580fe3bdf)", + "compensatingControls" : "Have a manager review the transaction decisions for their \"out of compliance\" employee", + "id" : "0f11f2a4-7c94-4bf3-a2bd-742580fe3bde", + "state" : "ENFORCED", + "externalPolicyReference" : "XYZ policy" + }''' # SodPolicy | + try: + # Update SOD policy by ID + new_sod_policy = SodPolicy.from_json(sod_policy) + results = SODPoliciesApi(api_client).put_sod_policy(id=id, sod_policy=new_sod_policy) + # Below is a request that includes all optional parameters + # results = SODPoliciesApi(api_client).put_sod_policy(id, new_sod_policy) + print("The response of SODPoliciesApi->put_sod_policy:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling SODPoliciesApi->put_sod_policy: %s\n" % e) +- path: /sod-policies/{id}/evaluate + method: POST + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v2024/methods/sod-policies#start-evaluate-sod-policy + source: | + from sailpoint.v2024.api.sod_policies_api import SODPoliciesApi + from sailpoint.v2024.api_client import ApiClient + from sailpoint.v2024.models.report_result_reference import ReportResultReference + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + id = 'ef38f943-47e9-4562-b5bb-8424a56397d8' # str | The SOD policy ID to run. # str | The SOD policy ID to run. + try: + # Evaluate one policy by ID + + results = SODPoliciesApi(api_client).start_evaluate_sod_policy(id=id) + # Below is a request that includes all optional parameters + # results = SODPoliciesApi(api_client).start_evaluate_sod_policy(id) + print("The response of SODPoliciesApi->start_evaluate_sod_policy:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling SODPoliciesApi->start_evaluate_sod_policy: %s\n" % e) +- path: /sod-violation-report/run + method: POST + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v2024/methods/sod-policies#start-sod-all-policies-for-org + source: | + from sailpoint.v2024.api.sod_policies_api import SODPoliciesApi + from sailpoint.v2024.api_client import ApiClient + from sailpoint.v2024.models.multi_policy_request import MultiPolicyRequest + from sailpoint.v2024.models.report_result_reference import ReportResultReference + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + multi_policy_request = '''{ + "filteredPolicyList" : [ "[b868cd40-ffa4-4337-9c07-1a51846cfa94, 63a07a7b-39a4-48aa-956d-50c827deba2a]", "[b868cd40-ffa4-4337-9c07-1a51846cfa94, 63a07a7b-39a4-48aa-956d-50c827deba2a]" ] + }''' # MultiPolicyRequest | (optional) + try: + # Runs all policies for org + + results = SODPoliciesApi(api_client).start_sod_all_policies_for_org() + # Below is a request that includes all optional parameters + # results = SODPoliciesApi(api_client).start_sod_all_policies_for_org(new_multi_policy_request) + print("The response of SODPoliciesApi->start_sod_all_policies_for_org:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling SODPoliciesApi->start_sod_all_policies_for_org: %s\n" % e) +- path: /sod-policies/{id}/violation-report/run + method: POST + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v2024/methods/sod-policies#start-sod-policy + source: | + from sailpoint.v2024.api.sod_policies_api import SODPoliciesApi + from sailpoint.v2024.api_client import ApiClient + from sailpoint.v2024.models.report_result_reference import ReportResultReference + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + id = 'ef38f943-47e9-4562-b5bb-8424a56397d8' # str | The SOD policy ID to run. # str | The SOD policy ID to run. + try: + # Runs SOD policy violation report + + results = SODPoliciesApi(api_client).start_sod_policy(id=id) + # Below is a request that includes all optional parameters + # results = SODPoliciesApi(api_client).start_sod_policy(id) + print("The response of SODPoliciesApi->start_sod_policy:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling SODPoliciesApi->start_sod_policy: %s\n" % e) +- path: /sod-violations/predict + method: POST + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v2024/methods/sod-violations#start-predict-sod-violations + source: | + from sailpoint.v2024.api.sod_violations_api import SODViolationsApi + from sailpoint.v2024.api_client import ApiClient + from sailpoint.v2024.models.identity_with_new_access import IdentityWithNewAccess + from sailpoint.v2024.models.violation_prediction import ViolationPrediction + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + identity_with_new_access = '''{ + "identityId" : "2c91808568c529c60168cca6f90c1313", + "accessRefs" : [ { + "type" : "ENTITLEMENT", + "id" : "2c918087682f9a86016839c050861ab1", + "name" : "CN=Information Access,OU=test,OU=test-service,DC=TestAD,DC=local" + }, { + "type" : "ENTITLEMENT", + "id" : "2c918087682f9a86016839c0509c1ab2", + "name" : "CN=Information Technology,OU=test,OU=test-service,DC=TestAD,DC=local" + } ] + }''' # IdentityWithNewAccess | + try: + # Predict SOD violations for identity. + new_identity_with_new_access = IdentityWithNewAccess.from_json(identity_with_new_access) + results = SODViolationsApi(api_client).start_predict_sod_violations(identity_with_new_access=new_identity_with_new_access) + # Below is a request that includes all optional parameters + # results = SODViolationsApi(api_client).start_predict_sod_violations(new_identity_with_new_access) + print("The response of SODViolationsApi->start_predict_sod_violations:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling SODViolationsApi->start_predict_sod_violations: %s\n" % e) +- path: /sod-violations/check + method: POST + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v2024/methods/sod-violations#start-violation-check + source: | + from sailpoint.v2024.api.sod_violations_api import SODViolationsApi + from sailpoint.v2024.api_client import ApiClient + from sailpoint.v2024.models.identity_with_new_access1 import IdentityWithNewAccess1 + from sailpoint.v2024.models.sod_violation_check import SodViolationCheck + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + identity_with_new_access1 = '''{identityId=2c91808568c529c60168cca6f90c1313, accessRefs=[{type=ENTITLEMENT, id=2c918087682f9a86016839c050861ab1, name=CN=Information Access,OU=test,OU=test-service,DC=TestAD,DC=local}, {type=ENTITLEMENT, id=2c918087682f9a86016839c0509c1ab2, name=CN=Information Technology,OU=test,OU=test-service,DC=TestAD,DC=local}], clientMetadata={additionalProp1=string, additionalProp2=string, additionalProp3=string}}''' # IdentityWithNewAccess1 | + try: + # Check SOD violations + new_identity_with_new_access1 = IdentityWithNewAccess1.from_json(identity_with_new_access1) + results = SODViolationsApi(api_client).start_violation_check(identity_with_new_access1=new_identity_with_new_access1) + # Below is a request that includes all optional parameters + # results = SODViolationsApi(api_client).start_violation_check(new_identity_with_new_access1) + print("The response of SODViolationsApi->start_violation_check:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling SODViolationsApi->start_violation_check: %s\n" % e) - path: /sources/{sourceId}/provisioning-policies method: POST xCodeSample: @@ -18177,7 +17941,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: id = 'ebbf35756e1140699ce52b233121384a' # str | The source id # str | The source id @@ -18203,7 +17967,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: id = '2c9180835d191a86015d28455b4a2329' # str | The source id # str | The source id @@ -18393,7 +18157,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: id = '2c9180835d191a86015d28455b4a2329' # str | The source id # str | The source id @@ -18472,7 +18236,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: id = '2c9180835d191a86015d28455b4a2329' # str | The source id # str | The source id @@ -18550,7 +18314,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -18707,7 +18471,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: id = 'ef38f94347e94562b5bb8424a56397d8' # str | Source Id # str | Source Id @@ -18815,7 +18579,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: id = '75dbec1ebe154d5785da27b95e1dd5d7' # str | Source Id # str | Source Id @@ -18972,7 +18736,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: id = '2c9180835d191a86015d28455b4a2329' # str | The source id # str | The source id @@ -19182,7 +18946,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: id = '2c9180835d191a86015d28455b4a2329' # str | The source id # str | The source id @@ -19284,7 +19048,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: id = 'id_example' # str | The Source id # str | The Source id @@ -19471,7 +19235,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -19554,6 +19318,242 @@ print(results.model_dump_json(by_alias=True, indent=4)) except Exception as e: print("Exception when calling SourcesApi->update_source_schema: %s\n" % e) +- path: /source-usages/{sourceId}/status + method: GET + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v2024/methods/source-usages#get-status-by-source-id + source: | + from sailpoint.v2024.api.source_usages_api import SourceUsagesApi + from sailpoint.v2024.api_client import ApiClient + from sailpoint.v2024.models.source_usage_status import SourceUsageStatus + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + source_id = '2c9180835d191a86015d28455b4a2329' # str | ID of IDN source # str | ID of IDN source + try: + # Finds status of source usage + + results = SourceUsagesApi(api_client).get_status_by_source_id(source_id=source_id) + # Below is a request that includes all optional parameters + # results = SourceUsagesApi(api_client).get_status_by_source_id(source_id) + print("The response of SourceUsagesApi->get_status_by_source_id:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling SourceUsagesApi->get_status_by_source_id: %s\n" % e) +- path: /source-usages/{sourceId}/summaries + method: GET + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v2024/methods/source-usages#get-usages-by-source-id + source: | + from sailpoint.v2024.api.source_usages_api import SourceUsagesApi + from sailpoint.v2024.api_client import ApiClient + from sailpoint.v2024.models.source_usage import SourceUsage + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + source_id = '2c9180835d191a86015d28455b4a2329' # str | ID of IDN source # str | ID of IDN source + 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) + offset = 0 # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) + count = False # bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to False) # bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to False) + sorters = '-date' # str | Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **date** (optional) # str | Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **date** (optional) + try: + # Returns source usage insights + + results = SourceUsagesApi(api_client).get_usages_by_source_id(source_id=source_id) + # Below is a request that includes all optional parameters + # results = SourceUsagesApi(api_client).get_usages_by_source_id(source_id, limit, offset, count, sorters) + print("The response of SourceUsagesApi->get_usages_by_source_id:\n") + for item in results: + print(item.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling SourceUsagesApi->get_usages_by_source_id: %s\n" % e) +- path: /sp-config/export + method: POST + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v2024/methods/sp-config#export-sp-config + source: | + from sailpoint.v2024.api.sp_config_api import SPConfigApi + from sailpoint.v2024.api_client import ApiClient + from sailpoint.v2024.models.export_payload import ExportPayload + from sailpoint.v2024.models.sp_config_export_job import SpConfigExportJob + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + export_payload = '''{ + "description" : "Export Job 1 Test" + }''' # ExportPayload | Export options control what will be included in the export. + try: + # Initiates configuration objects export job + new_export_payload = ExportPayload.from_json(export_payload) + results = SPConfigApi(api_client).export_sp_config(export_payload=new_export_payload) + # Below is a request that includes all optional parameters + # results = SPConfigApi(api_client).export_sp_config(new_export_payload) + print("The response of SPConfigApi->export_sp_config:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling SPConfigApi->export_sp_config: %s\n" % e) +- path: /sp-config/export/{id}/download + method: GET + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v2024/methods/sp-config#get-sp-config-export + source: | + from sailpoint.v2024.api.sp_config_api import SPConfigApi + from sailpoint.v2024.api_client import ApiClient + from sailpoint.v2024.models.sp_config_export_results import SpConfigExportResults + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + id = 'ef38f94347e94562b5bb8424a56397d8' # str | The ID of the export job whose results will be downloaded. # str | The ID of the export job whose results will be downloaded. + try: + # Download export job result. + + results = SPConfigApi(api_client).get_sp_config_export(id=id) + # Below is a request that includes all optional parameters + # results = SPConfigApi(api_client).get_sp_config_export(id) + print("The response of SPConfigApi->get_sp_config_export:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling SPConfigApi->get_sp_config_export: %s\n" % e) +- path: /sp-config/export/{id} + method: GET + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v2024/methods/sp-config#get-sp-config-export-status + source: | + from sailpoint.v2024.api.sp_config_api import SPConfigApi + from sailpoint.v2024.api_client import ApiClient + from sailpoint.v2024.models.sp_config_export_job_status import SpConfigExportJobStatus + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + id = 'ef38f94347e94562b5bb8424a56397d8' # str | The ID of the export job whose status will be returned. # str | The ID of the export job whose status will be returned. + try: + # Get export job status + + results = SPConfigApi(api_client).get_sp_config_export_status(id=id) + # Below is a request that includes all optional parameters + # results = SPConfigApi(api_client).get_sp_config_export_status(id) + print("The response of SPConfigApi->get_sp_config_export_status:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling SPConfigApi->get_sp_config_export_status: %s\n" % e) +- path: /sp-config/import/{id}/download + method: GET + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v2024/methods/sp-config#get-sp-config-import + source: | + from sailpoint.v2024.api.sp_config_api import SPConfigApi + from sailpoint.v2024.api_client import ApiClient + from sailpoint.v2024.models.sp_config_import_results import SpConfigImportResults + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + id = 'ef38f94347e94562b5bb8424a56397d8' # str | The ID of the import job whose results will be downloaded. # str | The ID of the import job whose results will be downloaded. + try: + # Download import job result + + results = SPConfigApi(api_client).get_sp_config_import(id=id) + # Below is a request that includes all optional parameters + # results = SPConfigApi(api_client).get_sp_config_import(id) + print("The response of SPConfigApi->get_sp_config_import:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling SPConfigApi->get_sp_config_import: %s\n" % e) +- path: /sp-config/import/{id} + method: GET + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v2024/methods/sp-config#get-sp-config-import-status + source: | + from sailpoint.v2024.api.sp_config_api import SPConfigApi + from sailpoint.v2024.api_client import ApiClient + from sailpoint.v2024.models.sp_config_import_job_status import SpConfigImportJobStatus + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + id = 'ef38f94347e94562b5bb8424a56397d8' # str | The ID of the import job whose status will be returned. # str | The ID of the import job whose status will be returned. + try: + # Get import job status + + results = SPConfigApi(api_client).get_sp_config_import_status(id=id) + # Below is a request that includes all optional parameters + # results = SPConfigApi(api_client).get_sp_config_import_status(id) + print("The response of SPConfigApi->get_sp_config_import_status:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling SPConfigApi->get_sp_config_import_status: %s\n" % e) +- path: /sp-config/import + method: POST + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v2024/methods/sp-config#import-sp-config + source: | + from sailpoint.v2024.api.sp_config_api import SPConfigApi + from sailpoint.v2024.api_client import ApiClient + from sailpoint.v2024.models.import_options import ImportOptions + from sailpoint.v2024.models.sp_config_job import SpConfigJob + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + data = None # bytearray | JSON file containing the objects to be imported. # bytearray | JSON file containing the objects to be imported. + preview = False # bool | This option is intended to give the user information about how an import operation would proceed, without having any effect on the target tenant. If this parameter is \"true\", no objects will be imported. Instead, the import process will pre-process the import file and attempt to resolve references within imported objects. The import result file will contain messages pertaining to how specific references were resolved, any errors associated with the preprocessing, and messages indicating which objects would be imported. (optional) (default to False) # bool | This option is intended to give the user information about how an import operation would proceed, without having any effect on the target tenant. If this parameter is \"true\", no objects will be imported. Instead, the import process will pre-process the import file and attempt to resolve references within imported objects. The import result file will contain messages pertaining to how specific references were resolved, any errors associated with the preprocessing, and messages indicating which objects would be imported. (optional) (default to False) + options = '''sailpoint.v2024.ImportOptions()''' # ImportOptions | (optional) + try: + # Initiates configuration objects import job + + results = SPConfigApi(api_client).import_sp_config(data=data) + # Below is a request that includes all optional parameters + # results = SPConfigApi(api_client).import_sp_config(data, preview, options) + print("The response of SPConfigApi->import_sp_config:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling SPConfigApi->import_sp_config: %s\n" % e) +- path: /sp-config/config-objects + method: GET + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v2024/methods/sp-config#list-sp-config-objects + source: | + from sailpoint.v2024.api.sp_config_api import SPConfigApi + from sailpoint.v2024.api_client import ApiClient + from sailpoint.v2024.models.sp_config_object import SpConfigObject + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + try: + # List Config Objects + + results = SPConfigApi(api_client).list_sp_config_objects() + # Below is a request that includes all optional parameters + # results = SPConfigApi(api_client).list_sp_config_objects() + print("The response of SPConfigApi->list_sp_config_objects:\n") + for item in results: + print(item.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling SPConfigApi->list_sp_config_objects: %s\n" % e) - path: /suggested-entitlement-description-batches/{batchId}/stats method: GET xCodeSample: @@ -20007,7 +20007,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -20034,7 +20034,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -20064,7 +20064,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: id = '00eebcf881994e419d72e757fd30dc0e' # str | Task ID. # str | Task ID. @@ -20091,7 +20091,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -20124,7 +20124,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: id = '00eebcf881994e419d72e757fd30dc0e' # str | Task ID. # str | Task ID. @@ -20176,7 +20176,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -20203,7 +20203,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -20370,7 +20370,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: id = '0f11f2a4-7c94-4bf3-a2bd-742580fe3bde' # str | The ID of the invocation to complete. # str | The ID of the invocation to complete. @@ -20403,7 +20403,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -20453,7 +20453,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: id = '0f11f2a4-7c94-4bf3-a2bd-742580fe3bde' # str | Subscription ID # str | Subscription ID @@ -20478,7 +20478,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -20510,7 +20510,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -20542,7 +20542,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -20575,7 +20575,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: id = '0f11f2a4-7c94-4bf3-a2bd-742580fe3bde' # str | ID of the Subscription to patch # str | ID of the Subscription to patch @@ -20604,7 +20604,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -20642,7 +20642,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -20675,7 +20675,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: id = '0f11f2a4-7c94-4bf3-a2bd-742580fe3bde' # str | Subscription ID # str | Subscription ID @@ -20726,7 +20726,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -20753,7 +20753,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -20892,615 +20892,6 @@ print(item.model_dump_json(by_alias=True, indent=4)) except Exception as e: print("Exception when calling VendorConnectorMappingsApi->get_vendor_connector_mappings: %s\n" % e) -- path: /work-items/{id}/approve/{approvalItemId} - method: POST - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v2024/methods/work-items#approve-approval-item - source: | - from sailpoint.v2024.api.work_items_api import WorkItemsApi - from sailpoint.v2024.api_client import ApiClient - from sailpoint.v2024.models.work_items import WorkItems - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - id = 'ef38f94347e94562b5bb8424a56397d8' # str | The ID of the work item # str | The ID of the work item - approval_item_id = '1211bcaa32112bcef6122adb21cef1ac' # str | The ID of the approval item. # str | The ID of the approval item. - try: - # Approve an Approval Item - - results = WorkItemsApi(api_client).approve_approval_item(id=id, approval_item_id=approval_item_id) - # Below is a request that includes all optional parameters - # results = WorkItemsApi(api_client).approve_approval_item(id, approval_item_id) - print("The response of WorkItemsApi->approve_approval_item:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling WorkItemsApi->approve_approval_item: %s\n" % e) -- path: /work-items/bulk-approve/{id} - method: POST - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v2024/methods/work-items#approve-approval-items-in-bulk - source: | - from sailpoint.v2024.api.work_items_api import WorkItemsApi - from sailpoint.v2024.api_client import ApiClient - from sailpoint.v2024.models.work_items import WorkItems - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - id = 'ef38f94347e94562b5bb8424a56397d8' # str | The ID of the work item # str | The ID of the work item - try: - # Bulk approve Approval Items - - results = WorkItemsApi(api_client).approve_approval_items_in_bulk(id=id) - # Below is a request that includes all optional parameters - # results = WorkItemsApi(api_client).approve_approval_items_in_bulk(id) - print("The response of WorkItemsApi->approve_approval_items_in_bulk:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling WorkItemsApi->approve_approval_items_in_bulk: %s\n" % e) -- path: /work-items/{id} - method: POST - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v2024/methods/work-items#complete-work-item - source: | - from sailpoint.v2024.api.work_items_api import WorkItemsApi - from sailpoint.v2024.api_client import ApiClient - from sailpoint.v2024.models.work_items import WorkItems - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - id = 'ef38f94347e94562b5bb8424a56397d8' # str | The ID of the work item # str | The ID of the work item - body = 'body_example' # str | Body is the request payload to create form definition request (optional) # str | Body is the request payload to create form definition request (optional) - try: - # Complete a Work Item - - results = WorkItemsApi(api_client).complete_work_item(id=id) - # Below is a request that includes all optional parameters - # results = WorkItemsApi(api_client).complete_work_item(id, new_body) - print("The response of WorkItemsApi->complete_work_item:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling WorkItemsApi->complete_work_item: %s\n" % e) -- path: /work-items/{id}/forward - method: POST - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v2024/methods/work-items#forward-work-item - source: | - from sailpoint.v2024.api.work_items_api import WorkItemsApi - from sailpoint.v2024.api_client import ApiClient - from sailpoint.v2024.models.work_item_forward import WorkItemForward - from sailpoint.configuration import Configuration - configuration = Configuration() - - configuration.experimental = true - - with ApiClient(configuration) as api_client: - id = 'ef38f94347e94562b5bb8424a56397d8' # str | The ID of the work item # str | The ID of the work item - x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') - work_item_forward = '''{ - "targetOwnerId" : "2c9180835d2e5168015d32f890ca1581", - "comment" : "I'm going on vacation.", - "sendNotifications" : true - }''' # WorkItemForward | - try: - # Forward a Work Item - new_work_item_forward = WorkItemForward.from_json(work_item_forward) - WorkItemsApi(api_client).forward_work_item(id=id, x_sail_point_experimental=x_sail_point_experimental, work_item_forward=new_work_item_forward) - # Below is a request that includes all optional parameters - # WorkItemsApi(api_client).forward_work_item(id, x_sail_point_experimental, new_work_item_forward) - except Exception as e: - print("Exception when calling WorkItemsApi->forward_work_item: %s\n" % e) -- path: /work-items/completed - method: GET - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v2024/methods/work-items#get-completed-work-items - source: | - from sailpoint.v2024.api.work_items_api import WorkItemsApi - from sailpoint.v2024.api_client import ApiClient - from sailpoint.v2024.models.work_items import WorkItems - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - owner_id = '1211bcaa32112bcef6122adb21cef1ac' # str | The id of the owner of the work item list being requested. Either an admin, or the owning/current user must make this request. (optional) # str | The id of the owner of the work item list being requested. Either an admin, or the owning/current user must make this request. (optional) - 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) - offset = 0 # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) - count = False # bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to False) # bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to False) - try: - # Completed Work Items - - results = WorkItemsApi(api_client).get_completed_work_items() - # Below is a request that includes all optional parameters - # results = WorkItemsApi(api_client).get_completed_work_items(owner_id, limit, offset, count) - print("The response of WorkItemsApi->get_completed_work_items:\n") - for item in results: - print(item.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling WorkItemsApi->get_completed_work_items: %s\n" % e) -- path: /work-items/completed/count - method: GET - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v2024/methods/work-items#get-count-completed-work-items - source: | - from sailpoint.v2024.api.work_items_api import WorkItemsApi - from sailpoint.v2024.api_client import ApiClient - from sailpoint.v2024.models.work_items_count import WorkItemsCount - from sailpoint.configuration import Configuration - configuration = Configuration() - - configuration.experimental = true - - with ApiClient(configuration) as api_client: - x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') - owner_id = 'owner_id_example' # str | ID of the work item owner. (optional) # str | ID of the work item owner. (optional) - try: - # Count Completed Work Items - - results = WorkItemsApi(api_client).get_count_completed_work_items(x_sail_point_experimental=x_sail_point_experimental) - # Below is a request that includes all optional parameters - # results = WorkItemsApi(api_client).get_count_completed_work_items(x_sail_point_experimental, owner_id) - print("The response of WorkItemsApi->get_count_completed_work_items:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling WorkItemsApi->get_count_completed_work_items: %s\n" % e) -- path: /work-items/count - method: GET - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v2024/methods/work-items#get-count-work-items - source: | - from sailpoint.v2024.api.work_items_api import WorkItemsApi - from sailpoint.v2024.api_client import ApiClient - from sailpoint.v2024.models.work_items_count import WorkItemsCount - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - owner_id = 'ef38f94347e94562b5bb8424a56397d8' # str | ID of the work item owner. (optional) # str | ID of the work item owner. (optional) - try: - # Count Work Items - - results = WorkItemsApi(api_client).get_count_work_items() - # Below is a request that includes all optional parameters - # results = WorkItemsApi(api_client).get_count_work_items(owner_id) - print("The response of WorkItemsApi->get_count_work_items:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling WorkItemsApi->get_count_work_items: %s\n" % e) -- path: /work-items/{id} - method: GET - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v2024/methods/work-items#get-work-item - source: | - from sailpoint.v2024.api.work_items_api import WorkItemsApi - from sailpoint.v2024.api_client import ApiClient - from sailpoint.v2024.models.work_items import WorkItems - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - id = '2c9180835d191a86015d28455b4a2329' # str | ID of the work item. # str | ID of the work item. - try: - # Get a Work Item - - results = WorkItemsApi(api_client).get_work_item(id=id) - # Below is a request that includes all optional parameters - # results = WorkItemsApi(api_client).get_work_item(id) - print("The response of WorkItemsApi->get_work_item:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling WorkItemsApi->get_work_item: %s\n" % e) -- path: /work-items/summary - method: GET - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v2024/methods/work-items#get-work-items-summary - source: | - from sailpoint.v2024.api.work_items_api import WorkItemsApi - from sailpoint.v2024.api_client import ApiClient - from sailpoint.v2024.models.work_items_summary import WorkItemsSummary - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - owner_id = '1211bcaa32112bcef6122adb21cef1ac' # str | ID of the work item owner. (optional) # str | ID of the work item owner. (optional) - try: - # Work Items Summary - - results = WorkItemsApi(api_client).get_work_items_summary() - # Below is a request that includes all optional parameters - # results = WorkItemsApi(api_client).get_work_items_summary(owner_id) - print("The response of WorkItemsApi->get_work_items_summary:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling WorkItemsApi->get_work_items_summary: %s\n" % e) -- path: /work-items - method: GET - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v2024/methods/work-items#list-work-items - source: | - from sailpoint.v2024.api.work_items_api import WorkItemsApi - from sailpoint.v2024.api_client import ApiClient - from sailpoint.v2024.models.work_items import WorkItems - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - 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) - offset = 0 # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) - count = False # bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to False) # bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to False) - owner_id = '1211bcaa32112bcef6122adb21cef1ac' # str | ID of the work item owner. (optional) # str | ID of the work item owner. (optional) - try: - # List Work Items - - results = WorkItemsApi(api_client).list_work_items() - # Below is a request that includes all optional parameters - # results = WorkItemsApi(api_client).list_work_items(limit, offset, count, owner_id) - print("The response of WorkItemsApi->list_work_items:\n") - for item in results: - print(item.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling WorkItemsApi->list_work_items: %s\n" % e) -- path: /work-items/{id}/reject/{approvalItemId} - method: POST - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v2024/methods/work-items#reject-approval-item - source: | - from sailpoint.v2024.api.work_items_api import WorkItemsApi - from sailpoint.v2024.api_client import ApiClient - from sailpoint.v2024.models.work_items import WorkItems - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - id = 'ef38f94347e94562b5bb8424a56397d8' # str | The ID of the work item # str | The ID of the work item - approval_item_id = '1211bcaa32112bcef6122adb21cef1ac' # str | The ID of the approval item. # str | The ID of the approval item. - try: - # Reject an Approval Item - - results = WorkItemsApi(api_client).reject_approval_item(id=id, approval_item_id=approval_item_id) - # Below is a request that includes all optional parameters - # results = WorkItemsApi(api_client).reject_approval_item(id, approval_item_id) - print("The response of WorkItemsApi->reject_approval_item:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling WorkItemsApi->reject_approval_item: %s\n" % e) -- path: /work-items/bulk-reject/{id} - method: POST - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v2024/methods/work-items#reject-approval-items-in-bulk - source: | - from sailpoint.v2024.api.work_items_api import WorkItemsApi - from sailpoint.v2024.api_client import ApiClient - from sailpoint.v2024.models.work_items import WorkItems - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - id = 'ef38f94347e94562b5bb8424a56397d8' # str | The ID of the work item # str | The ID of the work item - try: - # Bulk reject Approval Items - - results = WorkItemsApi(api_client).reject_approval_items_in_bulk(id=id) - # Below is a request that includes all optional parameters - # results = WorkItemsApi(api_client).reject_approval_items_in_bulk(id) - print("The response of WorkItemsApi->reject_approval_items_in_bulk:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling WorkItemsApi->reject_approval_items_in_bulk: %s\n" % e) -- path: /work-items/{id}/submit-account-selection - method: POST - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v2024/methods/work-items#submit-account-selection - source: | - from sailpoint.v2024.api.work_items_api import WorkItemsApi - from sailpoint.v2024.api_client import ApiClient - from sailpoint.v2024.models.work_items import WorkItems - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - id = 'ef38f94347e94562b5bb8424a56397d8' # str | The ID of the work item # str | The ID of the work item - request_body = {fieldName=fieldValue} # Dict[str, object] | Account Selection Data map, keyed on fieldName # Dict[str, object] | Account Selection Data map, keyed on fieldName - try: - # Submit Account Selections - new_request_body = RequestBody.from_json(request_body) - results = WorkItemsApi(api_client).submit_account_selection(id=id, request_body=new_request_body) - # Below is a request that includes all optional parameters - # results = WorkItemsApi(api_client).submit_account_selection(id, new_request_body) - print("The response of WorkItemsApi->submit_account_selection:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling WorkItemsApi->submit_account_selection: %s\n" % e) -- path: /reassignment-configurations - method: POST - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v2024/methods/work-reassignment#create-reassignment-configuration - source: | - from sailpoint.v2024.api.work_reassignment_api import WorkReassignmentApi - from sailpoint.v2024.api_client import ApiClient - from sailpoint.v2024.models.configuration_item_request import ConfigurationItemRequest - from sailpoint.v2024.models.configuration_item_response import ConfigurationItemResponse - from sailpoint.configuration import Configuration - configuration = Configuration() - - configuration.experimental = true - - with ApiClient(configuration) as api_client: - x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') - configuration_item_request = '''{ - "endDate" : "2022-07-30T17:00:00Z", - "reassignedFromId" : "2c91808781a71ddb0181b9090b5c504e", - "configType" : "ACCESS_REQUESTS", - "reassignedToId" : "2c91808781a71ddb0181b9090b53504a", - "startDate" : "2022-07-21T11:13:12.345Z" - }''' # ConfigurationItemRequest | - try: - # Create a Reassignment Configuration - new_configuration_item_request = ConfigurationItemRequest.from_json(configuration_item_request) - results = WorkReassignmentApi(api_client).create_reassignment_configuration(x_sail_point_experimental=x_sail_point_experimental, configuration_item_request=new_configuration_item_request) - # Below is a request that includes all optional parameters - # results = WorkReassignmentApi(api_client).create_reassignment_configuration(x_sail_point_experimental, new_configuration_item_request) - print("The response of WorkReassignmentApi->create_reassignment_configuration:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling WorkReassignmentApi->create_reassignment_configuration: %s\n" % e) -- path: /reassignment-configurations/{identityId}/{configType} - method: DELETE - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v2024/methods/work-reassignment#delete-reassignment-configuration - source: | - from sailpoint.v2024.api.work_reassignment_api import WorkReassignmentApi - from sailpoint.v2024.api_client import ApiClient - from sailpoint.v2024.models.config_type_enum import ConfigTypeEnum - from sailpoint.configuration import Configuration - configuration = Configuration() - - configuration.experimental = true - - with ApiClient(configuration) as api_client: - identity_id = '2c91808781a71ddb0181b9090b5c504e' # str | unique identity id # str | unique identity id - config_type = sailpoint.v2024.ConfigTypeEnum() # ConfigTypeEnum | # ConfigTypeEnum | - x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') - try: - # Delete Reassignment Configuration - - WorkReassignmentApi(api_client).delete_reassignment_configuration(identity_id=identity_id, config_type=config_type, x_sail_point_experimental=x_sail_point_experimental) - # Below is a request that includes all optional parameters - # WorkReassignmentApi(api_client).delete_reassignment_configuration(identity_id, config_type, x_sail_point_experimental) - except Exception as e: - print("Exception when calling WorkReassignmentApi->delete_reassignment_configuration: %s\n" % e) -- path: /reassignment-configurations/{identityId}/evaluate/{configType} - method: GET - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v2024/methods/work-reassignment#get-evaluate-reassignment-configuration - source: | - from sailpoint.v2024.api.work_reassignment_api import WorkReassignmentApi - from sailpoint.v2024.api_client import ApiClient - from sailpoint.v2024.models.config_type_enum import ConfigTypeEnum - from sailpoint.v2024.models.evaluate_response import EvaluateResponse - from sailpoint.configuration import Configuration - configuration = Configuration() - - configuration.experimental = true - - with ApiClient(configuration) as api_client: - identity_id = '2c91808781a71ddb0181b9090b5c504e' # str | unique identity id # str | unique identity id - config_type = sailpoint.v2024.ConfigTypeEnum() # ConfigTypeEnum | Reassignment work type # ConfigTypeEnum | Reassignment work type - x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') - exclusion_filters = '''['SELF_REVIEW_DELEGATION']''' # List[str] | Exclusion filters that disable parts of the reassignment evaluation. Possible values are listed below: - `SELF_REVIEW_DELEGATION`: This will exclude delegations of self-review reassignments (optional) - try: - # Evaluate Reassignment Configuration - - results = WorkReassignmentApi(api_client).get_evaluate_reassignment_configuration(identity_id=identity_id, config_type=config_type, x_sail_point_experimental=x_sail_point_experimental) - # Below is a request that includes all optional parameters - # results = WorkReassignmentApi(api_client).get_evaluate_reassignment_configuration(identity_id, config_type, x_sail_point_experimental, exclusion_filters) - print("The response of WorkReassignmentApi->get_evaluate_reassignment_configuration:\n") - for item in results: - print(item.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling WorkReassignmentApi->get_evaluate_reassignment_configuration: %s\n" % e) -- path: /reassignment-configurations/types - method: GET - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v2024/methods/work-reassignment#get-reassignment-config-types - source: | - from sailpoint.v2024.api.work_reassignment_api import WorkReassignmentApi - from sailpoint.v2024.api_client import ApiClient - from sailpoint.v2024.models.config_type import ConfigType - from sailpoint.configuration import Configuration - configuration = Configuration() - - configuration.experimental = true - - with ApiClient(configuration) as api_client: - x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') - try: - # List Reassignment Config Types - - results = WorkReassignmentApi(api_client).get_reassignment_config_types(x_sail_point_experimental=x_sail_point_experimental) - # Below is a request that includes all optional parameters - # results = WorkReassignmentApi(api_client).get_reassignment_config_types(x_sail_point_experimental) - print("The response of WorkReassignmentApi->get_reassignment_config_types:\n") - for item in results: - print(item.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling WorkReassignmentApi->get_reassignment_config_types: %s\n" % e) -- path: /reassignment-configurations/{identityId} - method: GET - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v2024/methods/work-reassignment#get-reassignment-configuration - source: | - from sailpoint.v2024.api.work_reassignment_api import WorkReassignmentApi - from sailpoint.v2024.api_client import ApiClient - from sailpoint.v2024.models.configuration_response import ConfigurationResponse - from sailpoint.configuration import Configuration - configuration = Configuration() - - configuration.experimental = true - - with ApiClient(configuration) as api_client: - identity_id = '2c91808781a71ddb0181b9090b5c504f' # str | unique identity id # str | unique identity id - x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') - try: - # Get Reassignment Configuration - - results = WorkReassignmentApi(api_client).get_reassignment_configuration(identity_id=identity_id, x_sail_point_experimental=x_sail_point_experimental) - # Below is a request that includes all optional parameters - # results = WorkReassignmentApi(api_client).get_reassignment_configuration(identity_id, x_sail_point_experimental) - print("The response of WorkReassignmentApi->get_reassignment_configuration:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling WorkReassignmentApi->get_reassignment_configuration: %s\n" % e) -- path: /reassignment-configurations/tenant-config - method: GET - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v2024/methods/work-reassignment#get-tenant-config-configuration - source: | - from sailpoint.v2024.api.work_reassignment_api import WorkReassignmentApi - from sailpoint.v2024.api_client import ApiClient - from sailpoint.v2024.models.tenant_configuration_response import TenantConfigurationResponse - from sailpoint.configuration import Configuration - configuration = Configuration() - - configuration.experimental = true - - with ApiClient(configuration) as api_client: - x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') - try: - # Get Tenant-wide Reassignment Configuration settings - - results = WorkReassignmentApi(api_client).get_tenant_config_configuration(x_sail_point_experimental=x_sail_point_experimental) - # Below is a request that includes all optional parameters - # results = WorkReassignmentApi(api_client).get_tenant_config_configuration(x_sail_point_experimental) - print("The response of WorkReassignmentApi->get_tenant_config_configuration:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling WorkReassignmentApi->get_tenant_config_configuration: %s\n" % e) -- path: /reassignment-configurations - method: GET - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v2024/methods/work-reassignment#list-reassignment-configurations - source: | - from sailpoint.v2024.api.work_reassignment_api import WorkReassignmentApi - from sailpoint.v2024.api_client import ApiClient - from sailpoint.v2024.models.configuration_response import ConfigurationResponse - from sailpoint.configuration import Configuration - configuration = Configuration() - - configuration.experimental = true - - with ApiClient(configuration) as api_client: - x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') - try: - # List Reassignment Configurations - - results = WorkReassignmentApi(api_client).list_reassignment_configurations(x_sail_point_experimental=x_sail_point_experimental) - # Below is a request that includes all optional parameters - # results = WorkReassignmentApi(api_client).list_reassignment_configurations(x_sail_point_experimental) - print("The response of WorkReassignmentApi->list_reassignment_configurations:\n") - for item in results: - print(item.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling WorkReassignmentApi->list_reassignment_configurations: %s\n" % e) -- path: /reassignment-configurations/{identityId} - method: PUT - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v2024/methods/work-reassignment#put-reassignment-config - source: | - from sailpoint.v2024.api.work_reassignment_api import WorkReassignmentApi - from sailpoint.v2024.api_client import ApiClient - from sailpoint.v2024.models.configuration_item_request import ConfigurationItemRequest - from sailpoint.v2024.models.configuration_item_response import ConfigurationItemResponse - from sailpoint.configuration import Configuration - configuration = Configuration() - - configuration.experimental = true - - with ApiClient(configuration) as api_client: - identity_id = '2c91808781a71ddb0181b9090b5c504e' # str | unique identity id # str | unique identity id - x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') - configuration_item_request = '''{ - "endDate" : "2022-07-30T17:00:00Z", - "reassignedFromId" : "2c91808781a71ddb0181b9090b5c504e", - "configType" : "ACCESS_REQUESTS", - "reassignedToId" : "2c91808781a71ddb0181b9090b53504a", - "startDate" : "2022-07-21T11:13:12.345Z" - }''' # ConfigurationItemRequest | - try: - # Update Reassignment Configuration - new_configuration_item_request = ConfigurationItemRequest.from_json(configuration_item_request) - results = WorkReassignmentApi(api_client).put_reassignment_config(identity_id=identity_id, x_sail_point_experimental=x_sail_point_experimental, configuration_item_request=new_configuration_item_request) - # Below is a request that includes all optional parameters - # results = WorkReassignmentApi(api_client).put_reassignment_config(identity_id, x_sail_point_experimental, new_configuration_item_request) - print("The response of WorkReassignmentApi->put_reassignment_config:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling WorkReassignmentApi->put_reassignment_config: %s\n" % e) -- path: /reassignment-configurations/tenant-config - method: PUT - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v2024/methods/work-reassignment#put-tenant-configuration - source: | - from sailpoint.v2024.api.work_reassignment_api import WorkReassignmentApi - from sailpoint.v2024.api_client import ApiClient - from sailpoint.v2024.models.tenant_configuration_request import TenantConfigurationRequest - from sailpoint.v2024.models.tenant_configuration_response import TenantConfigurationResponse - from sailpoint.configuration import Configuration - configuration = Configuration() - - configuration.experimental = true - - with ApiClient(configuration) as api_client: - x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') - tenant_configuration_request = '''{ - "configDetails" : { - "disabled" : true - } - }''' # TenantConfigurationRequest | - try: - # Update Tenant-wide Reassignment Configuration settings - new_tenant_configuration_request = TenantConfigurationRequest.from_json(tenant_configuration_request) - results = WorkReassignmentApi(api_client).put_tenant_configuration(x_sail_point_experimental=x_sail_point_experimental, tenant_configuration_request=new_tenant_configuration_request) - # Below is a request that includes all optional parameters - # results = WorkReassignmentApi(api_client).put_tenant_configuration(x_sail_point_experimental, new_tenant_configuration_request) - print("The response of WorkReassignmentApi->put_tenant_configuration:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling WorkReassignmentApi->put_tenant_configuration: %s\n" % e) - path: /workflow-executions/{id}/cancel method: POST xCodeSample: @@ -22008,3 +21399,612 @@ print(results.model_dump_json(by_alias=True, indent=4)) except Exception as e: print("Exception when calling WorkflowsApi->test_workflow: %s\n" % e) +- path: /work-items/{id}/approve/{approvalItemId} + method: POST + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v2024/methods/work-items#approve-approval-item + source: | + from sailpoint.v2024.api.work_items_api import WorkItemsApi + from sailpoint.v2024.api_client import ApiClient + from sailpoint.v2024.models.work_items import WorkItems + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + id = 'ef38f94347e94562b5bb8424a56397d8' # str | The ID of the work item # str | The ID of the work item + approval_item_id = '1211bcaa32112bcef6122adb21cef1ac' # str | The ID of the approval item. # str | The ID of the approval item. + try: + # Approve an Approval Item + + results = WorkItemsApi(api_client).approve_approval_item(id=id, approval_item_id=approval_item_id) + # Below is a request that includes all optional parameters + # results = WorkItemsApi(api_client).approve_approval_item(id, approval_item_id) + print("The response of WorkItemsApi->approve_approval_item:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling WorkItemsApi->approve_approval_item: %s\n" % e) +- path: /work-items/bulk-approve/{id} + method: POST + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v2024/methods/work-items#approve-approval-items-in-bulk + source: | + from sailpoint.v2024.api.work_items_api import WorkItemsApi + from sailpoint.v2024.api_client import ApiClient + from sailpoint.v2024.models.work_items import WorkItems + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + id = 'ef38f94347e94562b5bb8424a56397d8' # str | The ID of the work item # str | The ID of the work item + try: + # Bulk approve Approval Items + + results = WorkItemsApi(api_client).approve_approval_items_in_bulk(id=id) + # Below is a request that includes all optional parameters + # results = WorkItemsApi(api_client).approve_approval_items_in_bulk(id) + print("The response of WorkItemsApi->approve_approval_items_in_bulk:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling WorkItemsApi->approve_approval_items_in_bulk: %s\n" % e) +- path: /work-items/{id} + method: POST + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v2024/methods/work-items#complete-work-item + source: | + from sailpoint.v2024.api.work_items_api import WorkItemsApi + from sailpoint.v2024.api_client import ApiClient + from sailpoint.v2024.models.work_items import WorkItems + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + id = 'ef38f94347e94562b5bb8424a56397d8' # str | The ID of the work item # str | The ID of the work item + body = 'body_example' # str | Body is the request payload to create form definition request (optional) # str | Body is the request payload to create form definition request (optional) + try: + # Complete a Work Item + + results = WorkItemsApi(api_client).complete_work_item(id=id) + # Below is a request that includes all optional parameters + # results = WorkItemsApi(api_client).complete_work_item(id, new_body) + print("The response of WorkItemsApi->complete_work_item:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling WorkItemsApi->complete_work_item: %s\n" % e) +- path: /work-items/{id}/forward + method: POST + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v2024/methods/work-items#forward-work-item + source: | + from sailpoint.v2024.api.work_items_api import WorkItemsApi + from sailpoint.v2024.api_client import ApiClient + from sailpoint.v2024.models.work_item_forward import WorkItemForward + from sailpoint.configuration import Configuration + configuration = Configuration() + + configuration.experimental = True + + with ApiClient(configuration) as api_client: + id = 'ef38f94347e94562b5bb8424a56397d8' # str | The ID of the work item # str | The ID of the work item + x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') + work_item_forward = '''{ + "targetOwnerId" : "2c9180835d2e5168015d32f890ca1581", + "comment" : "I'm going on vacation.", + "sendNotifications" : true + }''' # WorkItemForward | + try: + # Forward a Work Item + new_work_item_forward = WorkItemForward.from_json(work_item_forward) + WorkItemsApi(api_client).forward_work_item(id=id, x_sail_point_experimental=x_sail_point_experimental, work_item_forward=new_work_item_forward) + # Below is a request that includes all optional parameters + # WorkItemsApi(api_client).forward_work_item(id, x_sail_point_experimental, new_work_item_forward) + except Exception as e: + print("Exception when calling WorkItemsApi->forward_work_item: %s\n" % e) +- path: /work-items/completed + method: GET + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v2024/methods/work-items#get-completed-work-items + source: | + from sailpoint.v2024.api.work_items_api import WorkItemsApi + from sailpoint.v2024.api_client import ApiClient + from sailpoint.v2024.models.work_items import WorkItems + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + owner_id = '1211bcaa32112bcef6122adb21cef1ac' # str | The id of the owner of the work item list being requested. Either an admin, or the owning/current user must make this request. (optional) # str | The id of the owner of the work item list being requested. Either an admin, or the owning/current user must make this request. (optional) + 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) + offset = 0 # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) + count = False # bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to False) # bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to False) + try: + # Completed Work Items + + results = WorkItemsApi(api_client).get_completed_work_items() + # Below is a request that includes all optional parameters + # results = WorkItemsApi(api_client).get_completed_work_items(owner_id, limit, offset, count) + print("The response of WorkItemsApi->get_completed_work_items:\n") + for item in results: + print(item.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling WorkItemsApi->get_completed_work_items: %s\n" % e) +- path: /work-items/completed/count + method: GET + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v2024/methods/work-items#get-count-completed-work-items + source: | + from sailpoint.v2024.api.work_items_api import WorkItemsApi + from sailpoint.v2024.api_client import ApiClient + from sailpoint.v2024.models.work_items_count import WorkItemsCount + from sailpoint.configuration import Configuration + configuration = Configuration() + + configuration.experimental = True + + with ApiClient(configuration) as api_client: + x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') + owner_id = 'owner_id_example' # str | ID of the work item owner. (optional) # str | ID of the work item owner. (optional) + try: + # Count Completed Work Items + + results = WorkItemsApi(api_client).get_count_completed_work_items(x_sail_point_experimental=x_sail_point_experimental) + # Below is a request that includes all optional parameters + # results = WorkItemsApi(api_client).get_count_completed_work_items(x_sail_point_experimental, owner_id) + print("The response of WorkItemsApi->get_count_completed_work_items:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling WorkItemsApi->get_count_completed_work_items: %s\n" % e) +- path: /work-items/count + method: GET + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v2024/methods/work-items#get-count-work-items + source: | + from sailpoint.v2024.api.work_items_api import WorkItemsApi + from sailpoint.v2024.api_client import ApiClient + from sailpoint.v2024.models.work_items_count import WorkItemsCount + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + owner_id = 'ef38f94347e94562b5bb8424a56397d8' # str | ID of the work item owner. (optional) # str | ID of the work item owner. (optional) + try: + # Count Work Items + + results = WorkItemsApi(api_client).get_count_work_items() + # Below is a request that includes all optional parameters + # results = WorkItemsApi(api_client).get_count_work_items(owner_id) + print("The response of WorkItemsApi->get_count_work_items:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling WorkItemsApi->get_count_work_items: %s\n" % e) +- path: /work-items/{id} + method: GET + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v2024/methods/work-items#get-work-item + source: | + from sailpoint.v2024.api.work_items_api import WorkItemsApi + from sailpoint.v2024.api_client import ApiClient + from sailpoint.v2024.models.work_items import WorkItems + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + id = '2c9180835d191a86015d28455b4a2329' # str | ID of the work item. # str | ID of the work item. + try: + # Get a Work Item + + results = WorkItemsApi(api_client).get_work_item(id=id) + # Below is a request that includes all optional parameters + # results = WorkItemsApi(api_client).get_work_item(id) + print("The response of WorkItemsApi->get_work_item:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling WorkItemsApi->get_work_item: %s\n" % e) +- path: /work-items/summary + method: GET + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v2024/methods/work-items#get-work-items-summary + source: | + from sailpoint.v2024.api.work_items_api import WorkItemsApi + from sailpoint.v2024.api_client import ApiClient + from sailpoint.v2024.models.work_items_summary import WorkItemsSummary + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + owner_id = '1211bcaa32112bcef6122adb21cef1ac' # str | ID of the work item owner. (optional) # str | ID of the work item owner. (optional) + try: + # Work Items Summary + + results = WorkItemsApi(api_client).get_work_items_summary() + # Below is a request that includes all optional parameters + # results = WorkItemsApi(api_client).get_work_items_summary(owner_id) + print("The response of WorkItemsApi->get_work_items_summary:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling WorkItemsApi->get_work_items_summary: %s\n" % e) +- path: /work-items + method: GET + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v2024/methods/work-items#list-work-items + source: | + from sailpoint.v2024.api.work_items_api import WorkItemsApi + from sailpoint.v2024.api_client import ApiClient + from sailpoint.v2024.models.work_items import WorkItems + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + 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) + offset = 0 # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) + count = False # bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to False) # bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to False) + owner_id = '1211bcaa32112bcef6122adb21cef1ac' # str | ID of the work item owner. (optional) # str | ID of the work item owner. (optional) + try: + # List Work Items + + results = WorkItemsApi(api_client).list_work_items() + # Below is a request that includes all optional parameters + # results = WorkItemsApi(api_client).list_work_items(limit, offset, count, owner_id) + print("The response of WorkItemsApi->list_work_items:\n") + for item in results: + print(item.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling WorkItemsApi->list_work_items: %s\n" % e) +- path: /work-items/{id}/reject/{approvalItemId} + method: POST + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v2024/methods/work-items#reject-approval-item + source: | + from sailpoint.v2024.api.work_items_api import WorkItemsApi + from sailpoint.v2024.api_client import ApiClient + from sailpoint.v2024.models.work_items import WorkItems + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + id = 'ef38f94347e94562b5bb8424a56397d8' # str | The ID of the work item # str | The ID of the work item + approval_item_id = '1211bcaa32112bcef6122adb21cef1ac' # str | The ID of the approval item. # str | The ID of the approval item. + try: + # Reject an Approval Item + + results = WorkItemsApi(api_client).reject_approval_item(id=id, approval_item_id=approval_item_id) + # Below is a request that includes all optional parameters + # results = WorkItemsApi(api_client).reject_approval_item(id, approval_item_id) + print("The response of WorkItemsApi->reject_approval_item:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling WorkItemsApi->reject_approval_item: %s\n" % e) +- path: /work-items/bulk-reject/{id} + method: POST + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v2024/methods/work-items#reject-approval-items-in-bulk + source: | + from sailpoint.v2024.api.work_items_api import WorkItemsApi + from sailpoint.v2024.api_client import ApiClient + from sailpoint.v2024.models.work_items import WorkItems + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + id = 'ef38f94347e94562b5bb8424a56397d8' # str | The ID of the work item # str | The ID of the work item + try: + # Bulk reject Approval Items + + results = WorkItemsApi(api_client).reject_approval_items_in_bulk(id=id) + # Below is a request that includes all optional parameters + # results = WorkItemsApi(api_client).reject_approval_items_in_bulk(id) + print("The response of WorkItemsApi->reject_approval_items_in_bulk:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling WorkItemsApi->reject_approval_items_in_bulk: %s\n" % e) +- path: /work-items/{id}/submit-account-selection + method: POST + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v2024/methods/work-items#submit-account-selection + source: | + from sailpoint.v2024.api.work_items_api import WorkItemsApi + from sailpoint.v2024.api_client import ApiClient + from sailpoint.v2024.models.work_items import WorkItems + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + id = 'ef38f94347e94562b5bb8424a56397d8' # str | The ID of the work item # str | The ID of the work item + request_body = {fieldName=fieldValue} # Dict[str, object] | Account Selection Data map, keyed on fieldName # Dict[str, object] | Account Selection Data map, keyed on fieldName + try: + # Submit Account Selections + new_request_body = RequestBody.from_json(request_body) + results = WorkItemsApi(api_client).submit_account_selection(id=id, request_body=new_request_body) + # Below is a request that includes all optional parameters + # results = WorkItemsApi(api_client).submit_account_selection(id, new_request_body) + print("The response of WorkItemsApi->submit_account_selection:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling WorkItemsApi->submit_account_selection: %s\n" % e) +- path: /reassignment-configurations + method: POST + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v2024/methods/work-reassignment#create-reassignment-configuration + source: | + from sailpoint.v2024.api.work_reassignment_api import WorkReassignmentApi + from sailpoint.v2024.api_client import ApiClient + from sailpoint.v2024.models.configuration_item_request import ConfigurationItemRequest + from sailpoint.v2024.models.configuration_item_response import ConfigurationItemResponse + from sailpoint.configuration import Configuration + configuration = Configuration() + + configuration.experimental = True + + with ApiClient(configuration) as api_client: + x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') + configuration_item_request = '''{ + "endDate" : "2022-07-30T17:00:00Z", + "reassignedFromId" : "2c91808781a71ddb0181b9090b5c504e", + "configType" : "ACCESS_REQUESTS", + "reassignedToId" : "2c91808781a71ddb0181b9090b53504a", + "startDate" : "2022-07-21T11:13:12.345Z" + }''' # ConfigurationItemRequest | + try: + # Create a Reassignment Configuration + new_configuration_item_request = ConfigurationItemRequest.from_json(configuration_item_request) + results = WorkReassignmentApi(api_client).create_reassignment_configuration(x_sail_point_experimental=x_sail_point_experimental, configuration_item_request=new_configuration_item_request) + # Below is a request that includes all optional parameters + # results = WorkReassignmentApi(api_client).create_reassignment_configuration(x_sail_point_experimental, new_configuration_item_request) + print("The response of WorkReassignmentApi->create_reassignment_configuration:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling WorkReassignmentApi->create_reassignment_configuration: %s\n" % e) +- path: /reassignment-configurations/{identityId}/{configType} + method: DELETE + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v2024/methods/work-reassignment#delete-reassignment-configuration + source: | + from sailpoint.v2024.api.work_reassignment_api import WorkReassignmentApi + from sailpoint.v2024.api_client import ApiClient + from sailpoint.v2024.models.config_type_enum import ConfigTypeEnum + from sailpoint.configuration import Configuration + configuration = Configuration() + + configuration.experimental = True + + with ApiClient(configuration) as api_client: + identity_id = '2c91808781a71ddb0181b9090b5c504e' # str | unique identity id # str | unique identity id + config_type = sailpoint.v2024.ConfigTypeEnum() # ConfigTypeEnum | # ConfigTypeEnum | + x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') + try: + # Delete Reassignment Configuration + + WorkReassignmentApi(api_client).delete_reassignment_configuration(identity_id=identity_id, config_type=config_type, x_sail_point_experimental=x_sail_point_experimental) + # Below is a request that includes all optional parameters + # WorkReassignmentApi(api_client).delete_reassignment_configuration(identity_id, config_type, x_sail_point_experimental) + except Exception as e: + print("Exception when calling WorkReassignmentApi->delete_reassignment_configuration: %s\n" % e) +- path: /reassignment-configurations/{identityId}/evaluate/{configType} + method: GET + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v2024/methods/work-reassignment#get-evaluate-reassignment-configuration + source: | + from sailpoint.v2024.api.work_reassignment_api import WorkReassignmentApi + from sailpoint.v2024.api_client import ApiClient + from sailpoint.v2024.models.config_type_enum import ConfigTypeEnum + from sailpoint.v2024.models.evaluate_response import EvaluateResponse + from sailpoint.configuration import Configuration + configuration = Configuration() + + configuration.experimental = True + + with ApiClient(configuration) as api_client: + identity_id = '2c91808781a71ddb0181b9090b5c504e' # str | unique identity id # str | unique identity id + config_type = sailpoint.v2024.ConfigTypeEnum() # ConfigTypeEnum | Reassignment work type # ConfigTypeEnum | Reassignment work type + x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') + exclusion_filters = '''['SELF_REVIEW_DELEGATION']''' # List[str] | Exclusion filters that disable parts of the reassignment evaluation. Possible values are listed below: - `SELF_REVIEW_DELEGATION`: This will exclude delegations of self-review reassignments (optional) + try: + # Evaluate Reassignment Configuration + + results = WorkReassignmentApi(api_client).get_evaluate_reassignment_configuration(identity_id=identity_id, config_type=config_type, x_sail_point_experimental=x_sail_point_experimental) + # Below is a request that includes all optional parameters + # results = WorkReassignmentApi(api_client).get_evaluate_reassignment_configuration(identity_id, config_type, x_sail_point_experimental, exclusion_filters) + print("The response of WorkReassignmentApi->get_evaluate_reassignment_configuration:\n") + for item in results: + print(item.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling WorkReassignmentApi->get_evaluate_reassignment_configuration: %s\n" % e) +- path: /reassignment-configurations/types + method: GET + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v2024/methods/work-reassignment#get-reassignment-config-types + source: | + from sailpoint.v2024.api.work_reassignment_api import WorkReassignmentApi + from sailpoint.v2024.api_client import ApiClient + from sailpoint.v2024.models.config_type import ConfigType + from sailpoint.configuration import Configuration + configuration = Configuration() + + configuration.experimental = True + + with ApiClient(configuration) as api_client: + x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') + try: + # List Reassignment Config Types + + results = WorkReassignmentApi(api_client).get_reassignment_config_types(x_sail_point_experimental=x_sail_point_experimental) + # Below is a request that includes all optional parameters + # results = WorkReassignmentApi(api_client).get_reassignment_config_types(x_sail_point_experimental) + print("The response of WorkReassignmentApi->get_reassignment_config_types:\n") + for item in results: + print(item.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling WorkReassignmentApi->get_reassignment_config_types: %s\n" % e) +- path: /reassignment-configurations/{identityId} + method: GET + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v2024/methods/work-reassignment#get-reassignment-configuration + source: | + from sailpoint.v2024.api.work_reassignment_api import WorkReassignmentApi + from sailpoint.v2024.api_client import ApiClient + from sailpoint.v2024.models.configuration_response import ConfigurationResponse + from sailpoint.configuration import Configuration + configuration = Configuration() + + configuration.experimental = True + + with ApiClient(configuration) as api_client: + identity_id = '2c91808781a71ddb0181b9090b5c504f' # str | unique identity id # str | unique identity id + x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') + try: + # Get Reassignment Configuration + + results = WorkReassignmentApi(api_client).get_reassignment_configuration(identity_id=identity_id, x_sail_point_experimental=x_sail_point_experimental) + # Below is a request that includes all optional parameters + # results = WorkReassignmentApi(api_client).get_reassignment_configuration(identity_id, x_sail_point_experimental) + print("The response of WorkReassignmentApi->get_reassignment_configuration:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling WorkReassignmentApi->get_reassignment_configuration: %s\n" % e) +- path: /reassignment-configurations/tenant-config + method: GET + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v2024/methods/work-reassignment#get-tenant-config-configuration + source: | + from sailpoint.v2024.api.work_reassignment_api import WorkReassignmentApi + from sailpoint.v2024.api_client import ApiClient + from sailpoint.v2024.models.tenant_configuration_response import TenantConfigurationResponse + from sailpoint.configuration import Configuration + configuration = Configuration() + + configuration.experimental = True + + with ApiClient(configuration) as api_client: + x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') + try: + # Get Tenant-wide Reassignment Configuration settings + + results = WorkReassignmentApi(api_client).get_tenant_config_configuration(x_sail_point_experimental=x_sail_point_experimental) + # Below is a request that includes all optional parameters + # results = WorkReassignmentApi(api_client).get_tenant_config_configuration(x_sail_point_experimental) + print("The response of WorkReassignmentApi->get_tenant_config_configuration:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling WorkReassignmentApi->get_tenant_config_configuration: %s\n" % e) +- path: /reassignment-configurations + method: GET + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v2024/methods/work-reassignment#list-reassignment-configurations + source: | + from sailpoint.v2024.api.work_reassignment_api import WorkReassignmentApi + from sailpoint.v2024.api_client import ApiClient + from sailpoint.v2024.models.configuration_response import ConfigurationResponse + from sailpoint.configuration import Configuration + configuration = Configuration() + + configuration.experimental = True + + with ApiClient(configuration) as api_client: + x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') + try: + # List Reassignment Configurations + + results = WorkReassignmentApi(api_client).list_reassignment_configurations(x_sail_point_experimental=x_sail_point_experimental) + # Below is a request that includes all optional parameters + # results = WorkReassignmentApi(api_client).list_reassignment_configurations(x_sail_point_experimental) + print("The response of WorkReassignmentApi->list_reassignment_configurations:\n") + for item in results: + print(item.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling WorkReassignmentApi->list_reassignment_configurations: %s\n" % e) +- path: /reassignment-configurations/{identityId} + method: PUT + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v2024/methods/work-reassignment#put-reassignment-config + source: | + from sailpoint.v2024.api.work_reassignment_api import WorkReassignmentApi + from sailpoint.v2024.api_client import ApiClient + from sailpoint.v2024.models.configuration_item_request import ConfigurationItemRequest + from sailpoint.v2024.models.configuration_item_response import ConfigurationItemResponse + from sailpoint.configuration import Configuration + configuration = Configuration() + + configuration.experimental = True + + with ApiClient(configuration) as api_client: + identity_id = '2c91808781a71ddb0181b9090b5c504e' # str | unique identity id # str | unique identity id + x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') + configuration_item_request = '''{ + "endDate" : "2022-07-30T17:00:00Z", + "reassignedFromId" : "2c91808781a71ddb0181b9090b5c504e", + "configType" : "ACCESS_REQUESTS", + "reassignedToId" : "2c91808781a71ddb0181b9090b53504a", + "startDate" : "2022-07-21T11:13:12.345Z" + }''' # ConfigurationItemRequest | + try: + # Update Reassignment Configuration + new_configuration_item_request = ConfigurationItemRequest.from_json(configuration_item_request) + results = WorkReassignmentApi(api_client).put_reassignment_config(identity_id=identity_id, x_sail_point_experimental=x_sail_point_experimental, configuration_item_request=new_configuration_item_request) + # Below is a request that includes all optional parameters + # results = WorkReassignmentApi(api_client).put_reassignment_config(identity_id, x_sail_point_experimental, new_configuration_item_request) + print("The response of WorkReassignmentApi->put_reassignment_config:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling WorkReassignmentApi->put_reassignment_config: %s\n" % e) +- path: /reassignment-configurations/tenant-config + method: PUT + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v2024/methods/work-reassignment#put-tenant-configuration + source: | + from sailpoint.v2024.api.work_reassignment_api import WorkReassignmentApi + from sailpoint.v2024.api_client import ApiClient + from sailpoint.v2024.models.tenant_configuration_request import TenantConfigurationRequest + from sailpoint.v2024.models.tenant_configuration_response import TenantConfigurationResponse + from sailpoint.configuration import Configuration + configuration = Configuration() + + configuration.experimental = True + + with ApiClient(configuration) as api_client: + x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') + tenant_configuration_request = '''{ + "configDetails" : { + "disabled" : true + } + }''' # TenantConfigurationRequest | + try: + # Update Tenant-wide Reassignment Configuration settings + new_tenant_configuration_request = TenantConfigurationRequest.from_json(tenant_configuration_request) + results = WorkReassignmentApi(api_client).put_tenant_configuration(x_sail_point_experimental=x_sail_point_experimental, tenant_configuration_request=new_tenant_configuration_request) + # Below is a request that includes all optional parameters + # results = WorkReassignmentApi(api_client).put_tenant_configuration(x_sail_point_experimental, new_tenant_configuration_request) + print("The response of WorkReassignmentApi->put_tenant_configuration:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling WorkReassignmentApi->put_tenant_configuration: %s\n" % e) diff --git a/static/code-examples/v2025/python_code_examples_overlay.yaml b/static/code-examples/v2025/python_code_examples_overlay.yaml index 971268b3c..86d8ab9b0 100644 --- a/static/code-examples/v2025/python_code_examples_overlay.yaml +++ b/static/code-examples/v2025/python_code_examples_overlay.yaml @@ -10,7 +10,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: key = 'iscPrivacy' # str | Technical name of the Attribute. # str | Technical name of the Attribute. @@ -37,7 +37,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: key = 'iscPrivacy' # str | Technical name of the Attribute. # str | Technical name of the Attribute. @@ -65,7 +65,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -93,7 +93,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: key = 'iscPrivacy' # str | Technical name of the Attribute. # str | Technical name of the Attribute. @@ -399,7 +399,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -751,7 +751,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -1013,7 +1013,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -1308,7 +1308,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: id = '2c91808477a6b0c60177a81146b8110b' # str | The account aggregation id # str | The account aggregation id @@ -1323,36 +1323,6 @@ print(results.model_dump_json(by_alias=True, indent=4)) except Exception as e: print("Exception when calling AccountAggregationsApi->get_account_aggregation_status: %s\n" % e) -- path: /account-usages/{accountId}/summaries - method: GET - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v2025/methods/account-usages#get-usages-by-account-id - source: | - from sailpoint.v2025.api.account_usages_api import AccountUsagesApi - from sailpoint.v2025.api_client import ApiClient - from sailpoint.v2025.models.account_usage import AccountUsage - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - account_id = 'ef38f94347e94562b5bb8424a56397d8' # str | ID of IDN account # str | ID of IDN account - 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) - offset = 0 # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) - count = False # bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to False) # bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to False) - sorters = '-date' # str | Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **date** (optional) # str | Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **date** (optional) - try: - # Returns account usage insights - - results = AccountUsagesApi(api_client).get_usages_by_account_id(account_id=account_id) - # Below is a request that includes all optional parameters - # results = AccountUsagesApi(api_client).get_usages_by_account_id(account_id, limit, offset, count, sorters) - print("The response of AccountUsagesApi->get_usages_by_account_id:\n") - for item in results: - print(item.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling AccountUsagesApi->get_usages_by_account_id: %s\n" % e) - path: /accounts method: POST xCodeSample: @@ -1425,7 +1395,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: id = 'c350d6aa4f104c61b062cb632421ad10' # str | The account id # str | The account id @@ -1481,7 +1451,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: id = '2c91808384203c2d018437e631158309' # str | The identity id. # str | The identity id. @@ -1509,7 +1479,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -1568,7 +1538,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: id = '2c91808384203c2d018437e631158309' # str | The identity id. # str | The identity id. @@ -1596,7 +1566,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -1815,6 +1785,36 @@ print(results.model_dump_json(by_alias=True, indent=4)) except Exception as e: print("Exception when calling AccountsApi->update_account: %s\n" % e) +- path: /account-usages/{accountId}/summaries + method: GET + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v2025/methods/account-usages#get-usages-by-account-id + source: | + from sailpoint.v2025.api.account_usages_api import AccountUsagesApi + from sailpoint.v2025.api_client import ApiClient + from sailpoint.v2025.models.account_usage import AccountUsage + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + account_id = 'ef38f94347e94562b5bb8424a56397d8' # str | ID of IDN account # str | ID of IDN account + 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) + offset = 0 # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) + count = False # bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to False) # bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to False) + sorters = '-date' # str | Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **date** (optional) # str | Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **date** (optional) + try: + # Returns account usage insights + + results = AccountUsagesApi(api_client).get_usages_by_account_id(account_id=account_id) + # Below is a request that includes all optional parameters + # results = AccountUsagesApi(api_client).get_usages_by_account_id(account_id, limit, offset, count, sorters) + print("The response of AccountUsagesApi->get_usages_by_account_id:\n") + for item in results: + print(item.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling AccountUsagesApi->get_usages_by_account_id: %s\n" % e) - path: /discovered-applications method: GET xCodeSample: @@ -1903,7 +1903,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: id = '38453251-6be2-5f8f-df93-5ce19e295837' # str | ID of the approval that is to be returned # str | ID of the approval that is to be returned @@ -1930,7 +1930,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -1961,7 +1961,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -1997,7 +1997,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: id = '2c91808a7813090a017814121e121518' # str | ID of the source app # str | ID of the source app @@ -2027,7 +2027,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: id = '2c9180835d191a86015d28455b4a2329' # str | source app ID. # str | source app ID. @@ -2054,7 +2054,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: id = '2c91808a7813090a017814121e121518' # str | ID of the source app # str | ID of the source app @@ -2081,7 +2081,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: id = '2c91808a7813090a017814121e121518' # str | ID of the source app # str | ID of the source app @@ -2112,7 +2112,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -2144,7 +2144,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: filters = 'name eq \"user app name\"' # str | Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **id**: *eq* **ownerId**: *eq* **ownerName**: *eq, sw* **ownerAlias**: *eq, sw* **accountId**: *eq* **sourceAppId**: *eq* # str | Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **id**: *eq* **ownerId**: *eq* **ownerName**: *eq, sw* **ownerAlias**: *eq, sw* **accountId**: *eq* **sourceAppId**: *eq* @@ -2175,7 +2175,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -2207,7 +2207,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: id = '2c91808a7813090a017814121e121518' # str | ID of the user app # str | ID of the user app @@ -2237,7 +2237,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -2269,7 +2269,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -2301,7 +2301,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: id = '2c91808a7813090a017814121e121518' # str | ID of the source app to patch # str | ID of the source app to patch @@ -2330,7 +2330,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: id = '2c91808a7813090a017814121e121518' # str | ID of the user app to patch # str | ID of the user app to patch @@ -2358,7 +2358,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -2394,7 +2394,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -2421,7 +2421,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -2449,7 +2449,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: id = '2c91808a7813090a017814121919ecca' # str | ID of the Auth Profile to patch. # str | ID of the Auth Profile to patch. @@ -3643,121 +3643,6 @@ print(results.model_dump_json(by_alias=True, indent=4)) except Exception as e: print("Exception when calling CertificationCampaignsApi->update_campaign: %s\n" % e) -- path: /certifications/{id}/access-summaries/{type} - method: GET - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v2025/methods/certification-summaries#get-identity-access-summaries - source: | - from sailpoint.v2025.api.certification_summaries_api import CertificationSummariesApi - from sailpoint.v2025.api_client import ApiClient - from sailpoint.v2025.models.access_summary import AccessSummary - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - id = 'ef38f94347e94562b5bb8424a56397d8' # str | The identity campaign certification ID # str | The identity campaign certification ID - type = 'ACCESS_PROFILE' # str | The type of access review item to retrieve summaries for # str | The type of access review item to retrieve summaries for - 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) - offset = 0 # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) - count = False # bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to False) # bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to False) - filters = 'access.id eq \"ef38f94347e94562b5bb8424a56397d8\"' # str | Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **completed**: *eq, ne* **access.id**: *eq, in* **access.name**: *eq, sw* **entitlement.sourceName**: *eq, sw* **accessProfile.sourceName**: *eq, sw* (optional) # str | Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **completed**: *eq, ne* **access.id**: *eq, in* **access.name**: *eq, sw* **entitlement.sourceName**: *eq, sw* **accessProfile.sourceName**: *eq, sw* (optional) - sorters = 'access.name' # str | Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **access.name** (optional) # str | Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **access.name** (optional) - try: - # Access Summaries - - results = CertificationSummariesApi(api_client).get_identity_access_summaries(id=id, type=type) - # Below is a request that includes all optional parameters - # results = CertificationSummariesApi(api_client).get_identity_access_summaries(id, type, limit, offset, count, filters, sorters) - print("The response of CertificationSummariesApi->get_identity_access_summaries:\n") - for item in results: - print(item.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling CertificationSummariesApi->get_identity_access_summaries: %s\n" % e) -- path: /certifications/{id}/decision-summary - method: GET - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v2025/methods/certification-summaries#get-identity-decision-summary - source: | - from sailpoint.v2025.api.certification_summaries_api import CertificationSummariesApi - from sailpoint.v2025.api_client import ApiClient - from sailpoint.v2025.models.identity_cert_decision_summary import IdentityCertDecisionSummary - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - id = 'ef38f94347e94562b5bb8424a56397d8' # str | The certification ID # str | The certification ID - filters = 'identitySummary.id eq \"ef38f94347e94562b5bb8424a56397d8\"' # str | Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **identitySummary.id**: *eq, in* (optional) # str | Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **identitySummary.id**: *eq, in* (optional) - try: - # Summary of Certification Decisions - - results = CertificationSummariesApi(api_client).get_identity_decision_summary(id=id) - # Below is a request that includes all optional parameters - # results = CertificationSummariesApi(api_client).get_identity_decision_summary(id, filters) - print("The response of CertificationSummariesApi->get_identity_decision_summary:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling CertificationSummariesApi->get_identity_decision_summary: %s\n" % e) -- path: /certifications/{id}/identity-summaries - method: GET - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v2025/methods/certification-summaries#get-identity-summaries - source: | - from sailpoint.v2025.api.certification_summaries_api import CertificationSummariesApi - from sailpoint.v2025.api_client import ApiClient - from sailpoint.v2025.models.certification_identity_summary import CertificationIdentitySummary - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - id = 'ef38f94347e94562b5bb8424a56397d8' # str | The identity campaign certification ID # str | The identity campaign certification ID - 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) - offset = 0 # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) - count = False # bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to False) # bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to False) - filters = 'id eq \"ef38f94347e94562b5bb8424a56397d8\"' # str | Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **id**: *eq, in* **completed**: *eq, ne* **name**: *eq, sw* (optional) # str | Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **id**: *eq, in* **completed**: *eq, ne* **name**: *eq, sw* (optional) - sorters = 'name' # str | Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **name** (optional) # str | Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **name** (optional) - try: - # Identity Summaries for Campaign Certification - - results = CertificationSummariesApi(api_client).get_identity_summaries(id=id) - # Below is a request that includes all optional parameters - # results = CertificationSummariesApi(api_client).get_identity_summaries(id, limit, offset, count, filters, sorters) - print("The response of CertificationSummariesApi->get_identity_summaries:\n") - for item in results: - print(item.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling CertificationSummariesApi->get_identity_summaries: %s\n" % e) -- path: /certifications/{id}/identity-summaries/{identitySummaryId} - method: GET - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v2025/methods/certification-summaries#get-identity-summary - source: | - from sailpoint.v2025.api.certification_summaries_api import CertificationSummariesApi - from sailpoint.v2025.api_client import ApiClient - from sailpoint.v2025.models.certification_identity_summary import CertificationIdentitySummary - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - id = 'ef38f94347e94562b5bb8424a56397d8' # str | The identity campaign certification ID # str | The identity campaign certification ID - identity_summary_id = '2c91808772a504f50172a9540e501ba8' # str | The identity summary ID # str | The identity summary ID - try: - # Summary for Identity - - results = CertificationSummariesApi(api_client).get_identity_summary(id=id, identity_summary_id=identity_summary_id) - # Below is a request that includes all optional parameters - # results = CertificationSummariesApi(api_client).get_identity_summary(id, identity_summary_id) - print("The response of CertificationSummariesApi->get_identity_summary:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling CertificationSummariesApi->get_identity_summary: %s\n" % e) - path: /certification-tasks/{id} method: GET xCodeSample: @@ -4091,6 +3976,121 @@ print(results.model_dump_json(by_alias=True, indent=4)) except Exception as e: print("Exception when calling CertificationsApi->submit_reassign_certs_async: %s\n" % e) +- path: /certifications/{id}/access-summaries/{type} + method: GET + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v2025/methods/certification-summaries#get-identity-access-summaries + source: | + from sailpoint.v2025.api.certification_summaries_api import CertificationSummariesApi + from sailpoint.v2025.api_client import ApiClient + from sailpoint.v2025.models.access_summary import AccessSummary + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + id = 'ef38f94347e94562b5bb8424a56397d8' # str | The identity campaign certification ID # str | The identity campaign certification ID + type = 'ACCESS_PROFILE' # str | The type of access review item to retrieve summaries for # str | The type of access review item to retrieve summaries for + 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) + offset = 0 # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) + count = False # bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to False) # bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to False) + filters = 'access.id eq \"ef38f94347e94562b5bb8424a56397d8\"' # str | Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **completed**: *eq, ne* **access.id**: *eq, in* **access.name**: *eq, sw* **entitlement.sourceName**: *eq, sw* **accessProfile.sourceName**: *eq, sw* (optional) # str | Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **completed**: *eq, ne* **access.id**: *eq, in* **access.name**: *eq, sw* **entitlement.sourceName**: *eq, sw* **accessProfile.sourceName**: *eq, sw* (optional) + sorters = 'access.name' # str | Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **access.name** (optional) # str | Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **access.name** (optional) + try: + # Access Summaries + + results = CertificationSummariesApi(api_client).get_identity_access_summaries(id=id, type=type) + # Below is a request that includes all optional parameters + # results = CertificationSummariesApi(api_client).get_identity_access_summaries(id, type, limit, offset, count, filters, sorters) + print("The response of CertificationSummariesApi->get_identity_access_summaries:\n") + for item in results: + print(item.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling CertificationSummariesApi->get_identity_access_summaries: %s\n" % e) +- path: /certifications/{id}/decision-summary + method: GET + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v2025/methods/certification-summaries#get-identity-decision-summary + source: | + from sailpoint.v2025.api.certification_summaries_api import CertificationSummariesApi + from sailpoint.v2025.api_client import ApiClient + from sailpoint.v2025.models.identity_cert_decision_summary import IdentityCertDecisionSummary + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + id = 'ef38f94347e94562b5bb8424a56397d8' # str | The certification ID # str | The certification ID + filters = 'identitySummary.id eq \"ef38f94347e94562b5bb8424a56397d8\"' # str | Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **identitySummary.id**: *eq, in* (optional) # str | Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **identitySummary.id**: *eq, in* (optional) + try: + # Summary of Certification Decisions + + results = CertificationSummariesApi(api_client).get_identity_decision_summary(id=id) + # Below is a request that includes all optional parameters + # results = CertificationSummariesApi(api_client).get_identity_decision_summary(id, filters) + print("The response of CertificationSummariesApi->get_identity_decision_summary:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling CertificationSummariesApi->get_identity_decision_summary: %s\n" % e) +- path: /certifications/{id}/identity-summaries + method: GET + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v2025/methods/certification-summaries#get-identity-summaries + source: | + from sailpoint.v2025.api.certification_summaries_api import CertificationSummariesApi + from sailpoint.v2025.api_client import ApiClient + from sailpoint.v2025.models.certification_identity_summary import CertificationIdentitySummary + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + id = 'ef38f94347e94562b5bb8424a56397d8' # str | The identity campaign certification ID # str | The identity campaign certification ID + 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) + offset = 0 # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) + count = False # bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to False) # bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to False) + filters = 'id eq \"ef38f94347e94562b5bb8424a56397d8\"' # str | Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **id**: *eq, in* **completed**: *eq, ne* **name**: *eq, sw* (optional) # str | Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **id**: *eq, in* **completed**: *eq, ne* **name**: *eq, sw* (optional) + sorters = 'name' # str | Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **name** (optional) # str | Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **name** (optional) + try: + # Identity Summaries for Campaign Certification + + results = CertificationSummariesApi(api_client).get_identity_summaries(id=id) + # Below is a request that includes all optional parameters + # results = CertificationSummariesApi(api_client).get_identity_summaries(id, limit, offset, count, filters, sorters) + print("The response of CertificationSummariesApi->get_identity_summaries:\n") + for item in results: + print(item.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling CertificationSummariesApi->get_identity_summaries: %s\n" % e) +- path: /certifications/{id}/identity-summaries/{identitySummaryId} + method: GET + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v2025/methods/certification-summaries#get-identity-summary + source: | + from sailpoint.v2025.api.certification_summaries_api import CertificationSummariesApi + from sailpoint.v2025.api_client import ApiClient + from sailpoint.v2025.models.certification_identity_summary import CertificationIdentitySummary + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + id = 'ef38f94347e94562b5bb8424a56397d8' # str | The identity campaign certification ID # str | The identity campaign certification ID + identity_summary_id = '2c91808772a504f50172a9540e501ba8' # str | The identity summary ID # str | The identity summary ID + try: + # Summary for Identity + + results = CertificationSummariesApi(api_client).get_identity_summary(id=id, identity_summary_id=identity_summary_id) + # Below is a request that includes all optional parameters + # results = CertificationSummariesApi(api_client).get_identity_summary(id, identity_summary_id) + print("The response of CertificationSummariesApi->get_identity_summary:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling CertificationSummariesApi->get_identity_summary: %s\n" % e) - path: /configuration-hub/deploys method: POST xCodeSample: @@ -5991,7 +5991,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -6021,7 +6021,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: page_id = 'mfa:select' # str | The page ID of custom password instructions to delete. # str | The page ID of custom password instructions to delete. @@ -6047,7 +6047,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: page_id = 'mfa:select' # str | The page ID of custom password instructions to query. # str | The page ID of custom password instructions to query. @@ -6099,7 +6099,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: id = 'ef38f943-47e9-4562-b5bb-8424a56397d8' # str | The segment ID to delete. # str | The segment ID to delete. @@ -6125,7 +6125,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: id = 'ef38f943-47e9-4562-b5bb-8424a56397d8' # str | The segment ID to retrieve. # str | The segment ID to retrieve. @@ -6151,7 +6151,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: identity_id = 'ef38f943-47e9-4562-b5bb-8424a56397d8' # str | The identity ID to retrieve the segments they are in. # str | The identity ID to retrieve the segments they are in. @@ -6177,7 +6177,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: identity_id = 'ef38f943-47e9-4562-b5bb-8424a56397d8' # str | The identity ID to retrieve if segmentation is enabled for the identity. # str | The identity ID to retrieve if segmentation is enabled for the identity. @@ -6204,7 +6204,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -6238,7 +6238,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: id = 'ef38f943-47e9-4562-b5bb-8424a56397d8' # str | The segment ID to modify. # str | The segment ID to modify. @@ -6265,7 +6265,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -6605,7 +6605,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: id = '2c91808c74ff913f0175097daa9d59cd' # str | The entitlement id. # str | The entitlement id. @@ -6633,7 +6633,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: id = '2c91808c74ff913f0175097daa9d59cd' # str | The entitlement id. # str | The entitlement id. @@ -6660,7 +6660,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: id = '2c91808874ff91550175097daaec161c' # str | The entitlement ID # str | The entitlement ID @@ -6687,7 +6687,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: id = '2c91808874ff91550175097daaec161c' # str | Entitlement Id # str | Entitlement Id @@ -6714,7 +6714,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: id = 'ef38f94347e94562b5bb8424a56397d8' # str | Source Id # str | Source Id @@ -6742,7 +6742,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: id = '2c91808874ff91550175097daaec161c' # str | Entitlement Id # str | Entitlement Id @@ -6775,7 +6775,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: id = '2c91808c74ff913f0175097daa9d59cd' # str | Entitlement Id # str | Entitlement Id @@ -6808,7 +6808,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -6845,7 +6845,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: id = '2c91808a7813090a017814121e121518' # str | ID of the entitlement to patch # str | ID of the entitlement to patch @@ -6873,7 +6873,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: id = '2c91808a7813090a017814121e121518' # str | Entitlement ID # str | Entitlement ID @@ -6906,7 +6906,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: id = '2c91808a7813090a017814121919ecca' # str | ID of source for the entitlement reset # str | ID of source for the entitlement reset @@ -6933,7 +6933,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -7198,7 +7198,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -7239,7 +7239,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: id = '2c9180837ca6693d017ca8d097500149' # str | ID of the Governance Group # str | ID of the Governance Group @@ -7265,7 +7265,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: workgroup_id = '2c91808a7813090a017814121919ecca' # str | ID of the Governance Group. # str | ID of the Governance Group. @@ -7295,7 +7295,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -7325,7 +7325,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: id = '2c9180837ca6693d017ca8d097500149' # str | ID of the Governance Group # str | ID of the Governance Group @@ -7352,7 +7352,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: workgroup_id = '2c91808a7813090a017814121919ecca' # str | ID of the Governance Group. # str | ID of the Governance Group. @@ -7384,7 +7384,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: workgroup_id = '2c91808a7813090a017814121919ecca' # str | ID of the Governance Group. # str | ID of the Governance Group. @@ -7416,7 +7416,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -7449,7 +7449,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: id = '2c9180837ca6693d017ca8d097500149' # str | ID of the Governance Group # str | ID of the Governance Group @@ -7478,7 +7478,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: workgroup_id = '2c91808a7813090a017814121919ecca' # str | ID of the Governance Group. # str | ID of the Governance Group. @@ -7508,7 +7508,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -7542,7 +7542,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -7576,7 +7576,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -7610,7 +7610,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -7638,7 +7638,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -7672,7 +7672,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -7698,7 +7698,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -7730,7 +7730,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -7762,7 +7762,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -7794,7 +7794,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -7829,7 +7829,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -7866,7 +7866,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -7898,7 +7898,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -7924,7 +7924,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -7951,7 +7951,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -7983,7 +7983,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -8016,7 +8016,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -8044,7 +8044,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: outlier_feature_id = '04654b66-7561-4090-94f9-abee0722a1af' # str | Contributing feature id # str | Contributing feature id @@ -8071,7 +8071,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: outlier_id = '2c918085842e69ae018432d22ccb212f' # str | The outlier id # str | The outlier id @@ -8103,7 +8103,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -8128,7 +8128,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: outlier_id = '2c918085842e69ae018432d22ccb212f' # str | The outlier id # str | The outlier id @@ -8161,7 +8161,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -8186,7 +8186,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True 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. @@ -8218,7 +8218,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -8263,7 +8263,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -8289,7 +8289,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -8322,7 +8322,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: session_id = '8c190e67-87aa-4ed9-a90b-d9d5344523fb' # str | The role mining session id # str | The role mining session id @@ -8360,7 +8360,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -8417,7 +8417,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: session_id = '8c190e67-87aa-4ed9-a90b-d9d5344523fb' # str | The role mining session id # str | The role mining session id @@ -8445,7 +8445,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: session_id = '8c190e67-87aa-4ed9-a90b-d9d5344523fb' # str | The role mining session id # str | The role mining session id @@ -8474,7 +8474,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: session_id = '8c190e67-87aa-4ed9-a90b-d9d5344523fb' # str | The role mining session id # str | The role mining session id @@ -8506,7 +8506,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: session_id = '8c190e67-87aa-4ed9-a90b-d9d5344523fb' # str | The role mining session id # str | The role mining session id @@ -8535,7 +8535,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -8566,7 +8566,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: session_id = '8c190e67-87aa-4ed9-a90b-d9d5344523fb' # str | The role mining session id # str | The role mining session id @@ -8595,7 +8595,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: session_id = '8c190e67-87aa-4ed9-a90b-d9d5344523fb' # str | The role mining session id # str | The role mining session id @@ -8630,7 +8630,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: session_id = '8c190e67-87aa-4ed9-a90b-d9d5344523fb' # str | The role mining session id # str | The role mining session id @@ -8664,7 +8664,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: session_id = '8c190e67-87aa-4ed9-a90b-d9d5344523fb' # str | The role mining session id # str | The role mining session id @@ -8698,7 +8698,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: session_id = '8c190e67-87aa-4ed9-a90b-d9d5344523fb' # str | The role mining session id # str | The role mining session id @@ -8726,7 +8726,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: session_id = '8c190e67-87aa-4ed9-a90b-d9d5344523fb' # str | The role mining session id # str | The role mining session id @@ -8759,7 +8759,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: session_id = '8c190e67-87aa-4ed9-a90b-d9d5344523fb' # str | The role mining session id # str | The role mining session id @@ -8792,7 +8792,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: potential_role_id = 'e0cc5d7d-bf7f-4f81-b2af-8885b09d9923' # str | A potential role id # str | A potential role id @@ -8825,7 +8825,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: session_id = '8c190e67-87aa-4ed9-a90b-d9d5344523fb' # str | The role mining session id # str | The role mining session id @@ -8858,7 +8858,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: potential_role_id = '8c190e67-87aa-4ed9-a90b-d9d5344523fb' # str | A potential role id # str | A potential role id @@ -8885,7 +8885,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: session_id = '8c190e67-87aa-4ed9-a90b-d9d5344523fb' # str | The role mining session id to be retrieved. # str | The role mining session id to be retrieved. @@ -8912,7 +8912,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: session_id = '8c190e67-87aa-4ed9-a90b-d9d5344523fb' # str | The role mining session id # str | The role mining session id @@ -8939,7 +8939,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -8971,7 +8971,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -9002,7 +9002,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: session_id = '8c190e67-87aa-4ed9-a90b-d9d5344523fb' # str | The role mining session id # str | The role mining session id @@ -9031,7 +9031,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: session_id = '8c190e67-87aa-4ed9-a90b-d9d5344523fb' # str | The role mining session id # str | The role mining session id @@ -9060,7 +9060,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: session_id = '8c190e67-87aa-4ed9-a90b-d9d5344523fb' # str | The role mining session id to be patched # str | The role mining session id to be patched @@ -9089,7 +9089,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: session_id = '8c190e67-87aa-4ed9-a90b-d9d5344523fb' # str | The role mining session id # str | The role mining session id @@ -9120,7 +9120,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: object_type = 'application' # str | Object type. Available options ['application'] # str | Object type. Available options ['application'] @@ -9146,7 +9146,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: object_type = 'application' # str | Object type. Available options ['application'] # str | Object type. Available options ['application'] @@ -9174,7 +9174,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: id = 'ef38f94347e94562b5bb8424a56397d8' # str | Identity Id # str | Identity Id @@ -9199,7 +9199,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: id = 'ef38f94347e94562b5bb8424a56397d8' # str | Identity Id # str | Identity Id @@ -9226,7 +9226,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: identity_id = 'ff8081814d2a8036014d701f3fbf53fa' # str | Identity ID. # str | Identity ID. @@ -9253,7 +9253,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: identity_id = 'ef38f94347e94562b5bb8424a56397d8' # str | Identity Id # str | Identity Id @@ -9281,7 +9281,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: identity_id = 'ef38f94347e94562b5bb8424a56397d8' # str | Identity Id to get the role assignments for # str | Identity Id to get the role assignments for @@ -9311,7 +9311,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -9343,7 +9343,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: identity_id = 'ef38f94347e94562b5bb8424a56397d8' # str | Identity Id # str | Identity Id @@ -9368,7 +9368,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -9398,7 +9398,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -9429,7 +9429,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -9458,7 +9458,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: identity_id = 'identity_id_example' # str | The Identity id # str | The Identity id @@ -9485,7 +9485,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -9532,7 +9532,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: name = 'displayName' # str | The attribute's technical name. # str | The attribute's technical name. @@ -9557,7 +9557,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -9584,7 +9584,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: name = 'displayName' # str | The attribute's technical name. # str | The attribute's technical name. @@ -9611,7 +9611,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -9642,7 +9642,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: name = 'displayName' # str | The attribute's technical name. # str | The attribute's technical name. @@ -9691,7 +9691,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: id = '8c190e6787aa4ed9a90bd9d5344523fb' # str | The identity id # str | The identity id @@ -9725,7 +9725,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: id = '8c190e6787aa4ed9a90bd9d5344523fb' # str | The identity id # str | The identity id @@ -9760,7 +9760,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: id = '8c190e6787aa4ed9a90bd9d5344523fb' # str | The identity id # str | The identity id @@ -9787,7 +9787,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: id = '8c190e6787aa4ed9a90bd9d5344523fb' # str | The identity id # str | The identity id @@ -9821,7 +9821,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: id = '8c190e6787aa4ed9a90bd9d5344523fb' # str | The identity id # str | The identity id @@ -9849,7 +9849,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: id = '8c190e6787aa4ed9a90bd9d5344523fb' # str | The identity id # str | The identity id @@ -9882,7 +9882,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: id = '8c190e6787aa4ed9a90bd9d5344523fb' # str | The identity id # str | The identity id @@ -9909,7 +9909,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -9941,7 +9941,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: id = '8c190e6787aa4ed9a90bd9d5344523fb' # str | The identity id # str | The identity id @@ -9973,7 +9973,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: id = '8c190e6787aa4ed9a90bd9d5344523fb' # str | The identity id # str | The identity id @@ -10003,7 +10003,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: id = '8c190e6787aa4ed9a90bd9d5344523fb' # str | The identity id # str | The identity id @@ -10190,7 +10190,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -10575,198 +10575,6 @@ print(results.model_dump_json(by_alias=True, indent=4)) except Exception as e: print("Exception when calling LifecycleStatesApi->update_lifecycle_states: %s\n" % e) -- path: /mfa/duo-web/config - method: GET - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v2025/methods/mfa-configuration#get-mfa-duo-config - source: | - from sailpoint.v2025.api.mfa_configuration_api import MFAConfigurationApi - from sailpoint.v2025.api_client import ApiClient - from sailpoint.v2025.models.mfa_duo_config import MfaDuoConfig - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - try: - # Configuration of Duo MFA method - - results = MFAConfigurationApi(api_client).get_mfa_duo_config() - # Below is a request that includes all optional parameters - # results = MFAConfigurationApi(api_client).get_mfa_duo_config() - print("The response of MFAConfigurationApi->get_mfa_duo_config:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling MFAConfigurationApi->get_mfa_duo_config: %s\n" % e) -- path: /mfa/kba/config - method: GET - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v2025/methods/mfa-configuration#get-mfa-kba-config - source: | - from sailpoint.v2025.api.mfa_configuration_api import MFAConfigurationApi - from sailpoint.v2025.api_client import ApiClient - from sailpoint.v2025.models.kba_question import KbaQuestion - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - all_languages = allLanguages=true # bool | Indicator whether the question text should be returned in all configured languages * If true, the question text is returned in all languages that it is configured in. * If false, the question text is returned in the user locale if available, else for the default locale. * If not passed, it behaves the same way as passing this parameter as false (optional) # bool | Indicator whether the question text should be returned in all configured languages * If true, the question text is returned in all languages that it is configured in. * If false, the question text is returned in the user locale if available, else for the default locale. * If not passed, it behaves the same way as passing this parameter as false (optional) - try: - # Configuration of KBA MFA method - - results = MFAConfigurationApi(api_client).get_mfa_kba_config() - # Below is a request that includes all optional parameters - # results = MFAConfigurationApi(api_client).get_mfa_kba_config(all_languages) - print("The response of MFAConfigurationApi->get_mfa_kba_config:\n") - for item in results: - print(item.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling MFAConfigurationApi->get_mfa_kba_config: %s\n" % e) -- path: /mfa/okta-verify/config - method: GET - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v2025/methods/mfa-configuration#get-mfa-okta-config - source: | - from sailpoint.v2025.api.mfa_configuration_api import MFAConfigurationApi - from sailpoint.v2025.api_client import ApiClient - from sailpoint.v2025.models.mfa_okta_config import MfaOktaConfig - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - try: - # Configuration of Okta MFA method - - results = MFAConfigurationApi(api_client).get_mfa_okta_config() - # Below is a request that includes all optional parameters - # results = MFAConfigurationApi(api_client).get_mfa_okta_config() - print("The response of MFAConfigurationApi->get_mfa_okta_config:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling MFAConfigurationApi->get_mfa_okta_config: %s\n" % e) -- path: /mfa/duo-web/config - method: PUT - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v2025/methods/mfa-configuration#set-mfa-duo-config - source: | - from sailpoint.v2025.api.mfa_configuration_api import MFAConfigurationApi - from sailpoint.v2025.api_client import ApiClient - from sailpoint.v2025.models.mfa_duo_config import MfaDuoConfig - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - mfa_duo_config = '''{ - "accessKey" : "qw123Y3QlA5UqocYpdU3rEkzrK2D497y", - "host" : "example.com", - "configProperties" : { - "skey" : "qwERttyZx1CdlQye2Vwtbsjr3HKddy4BAiCXjc5x", - "ikey" : "Q123WE45R6TY7890ZXCV" - }, - "mfaMethod" : "duo-web", - "enabled" : true, - "identityAttribute" : "email" - }''' # MfaDuoConfig | - try: - # Set Duo MFA configuration - new_mfa_duo_config = MfaDuoConfig.from_json(mfa_duo_config) - results = MFAConfigurationApi(api_client).set_mfa_duo_config(mfa_duo_config=new_mfa_duo_config) - # Below is a request that includes all optional parameters - # results = MFAConfigurationApi(api_client).set_mfa_duo_config(new_mfa_duo_config) - print("The response of MFAConfigurationApi->set_mfa_duo_config:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling MFAConfigurationApi->set_mfa_duo_config: %s\n" % e) -- path: /mfa/okta-verify/config - method: PUT - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v2025/methods/mfa-configuration#set-mfa-okta-config - source: | - from sailpoint.v2025.api.mfa_configuration_api import MFAConfigurationApi - from sailpoint.v2025.api_client import ApiClient - from sailpoint.v2025.models.mfa_okta_config import MfaOktaConfig - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - mfa_okta_config = '''{ - "accessKey" : "qw123Y3QlA5UqocYpdU3rEkzrK2D497y", - "host" : "example.com", - "mfaMethod" : "okta-verify", - "enabled" : true, - "identityAttribute" : "email" - }''' # MfaOktaConfig | - try: - # Set Okta MFA configuration - new_mfa_okta_config = MfaOktaConfig.from_json(mfa_okta_config) - results = MFAConfigurationApi(api_client).set_mfa_okta_config(mfa_okta_config=new_mfa_okta_config) - # Below is a request that includes all optional parameters - # results = MFAConfigurationApi(api_client).set_mfa_okta_config(new_mfa_okta_config) - print("The response of MFAConfigurationApi->set_mfa_okta_config:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling MFAConfigurationApi->set_mfa_okta_config: %s\n" % e) -- path: /mfa/kba/config/answers - method: POST - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v2025/methods/mfa-configuration#set-mfakba-config - source: | - from sailpoint.v2025.api.mfa_configuration_api import MFAConfigurationApi - from sailpoint.v2025.api_client import ApiClient - from sailpoint.v2025.models.kba_answer_request_item import KbaAnswerRequestItem - from sailpoint.v2025.models.kba_answer_response_item import KbaAnswerResponseItem - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - kba_answer_request_item = '''[{id=173423, answer=822cd15d6c15aa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a0859a2fea34}, {id=c54fee53-2d63-4fc5-9259-3e93b9994135, answer=9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08}]''' # List[KbaAnswerRequestItem] | - try: - # Set MFA KBA configuration - new_kba_answer_request_item = KbaAnswerRequestItem.from_json(kba_answer_request_item) - results = MFAConfigurationApi(api_client).set_mfakba_config(kba_answer_request_item=new_kba_answer_request_item) - # Below is a request that includes all optional parameters - # results = MFAConfigurationApi(api_client).set_mfakba_config(new_kba_answer_request_item) - print("The response of MFAConfigurationApi->set_mfakba_config:\n") - for item in results: - print(item.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling MFAConfigurationApi->set_mfakba_config: %s\n" % e) -- path: /mfa/{method}/test - method: GET - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v2025/methods/mfa-configuration#test-mfa-config - source: | - from sailpoint.v2025.api.mfa_configuration_api import MFAConfigurationApi - from sailpoint.v2025.api_client import ApiClient - from sailpoint.v2025.models.mfa_config_test_response import MfaConfigTestResponse - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - method = 'okta-verify' # str | The name of the MFA method. The currently supported method names are 'okta-verify' and 'duo-web'. # str | The name of the MFA method. The currently supported method names are 'okta-verify' and 'duo-web'. - try: - # MFA method's test configuration - - results = MFAConfigurationApi(api_client).test_mfa_config(method=method) - # Below is a request that includes all optional parameters - # results = MFAConfigurationApi(api_client).test_mfa_config(method) - print("The response of MFAConfigurationApi->test_mfa_config:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling MFAConfigurationApi->test_mfa_config: %s\n" % e) - path: /machine-accounts/{id} method: GET xCodeSample: @@ -10779,7 +10587,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: id = 'ef38f94347e94562b5bb8424a56397d8' # str | Machine Account ID. # str | Machine Account ID. @@ -10806,7 +10614,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -10838,7 +10646,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: id = 'ef38f94347e94562b5bb8424a56397d8' # str | Machine Account ID. # str | Machine Account ID. @@ -10866,7 +10674,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -10901,7 +10709,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: id = 'ef38f94347e94562b5bb8424a56397d8' # str | Machine Identity ID # str | Machine Identity ID @@ -10926,7 +10734,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: id = 'ef38f94347e94562b5bb8424a56397d8' # str | Machine Identity ID # str | Machine Identity ID @@ -10953,7 +10761,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -10985,7 +10793,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: id = 'ef38f94347e94562b5bb8424a56397d8' # str | Machine Identity ID. # str | Machine Identity ID. @@ -11162,151 +10970,6 @@ print(results.model_dump_json(by_alias=True, indent=4)) except Exception as e: print("Exception when calling ManagedClientsApi->update_managed_client: %s\n" % e) -- path: /managed-cluster-types - method: POST - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v2025/methods/managed-cluster-types#create-managed-cluster-type - source: | - from sailpoint.v2025.api.managed_cluster_types_api import ManagedClusterTypesApi - from sailpoint.v2025.api_client import ApiClient - from sailpoint.v2025.models.managed_cluster_type import ManagedClusterType - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - managed_cluster_type = '''{ - "managedProcessIds" : [ "someId", "someId2" ], - "pod" : "megapod-useast1", - "org" : "denali-cjh", - "id" : "aClusterTypeId", - "type" : "idn" - }''' # ManagedClusterType | - try: - # Create new Managed Cluster Type - new_managed_cluster_type = ManagedClusterType.from_json(managed_cluster_type) - results = ManagedClusterTypesApi(api_client).create_managed_cluster_type(managed_cluster_type=new_managed_cluster_type) - # Below is a request that includes all optional parameters - # results = ManagedClusterTypesApi(api_client).create_managed_cluster_type(new_managed_cluster_type) - print("The response of ManagedClusterTypesApi->create_managed_cluster_type:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling ManagedClusterTypesApi->create_managed_cluster_type: %s\n" % e) -- path: /managed-cluster-types/{id} - method: DELETE - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v2025/methods/managed-cluster-types#delete-managed-cluster-type - source: | - from sailpoint.v2025.api.managed_cluster_types_api import ManagedClusterTypesApi - from sailpoint.v2025.api_client import ApiClient - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - id = 'aClusterTypeId' # str | The Managed Cluster Type ID # str | The Managed Cluster Type ID - try: - # Delete a Managed Cluster Type - - ManagedClusterTypesApi(api_client).delete_managed_cluster_type(id=id) - # Below is a request that includes all optional parameters - # ManagedClusterTypesApi(api_client).delete_managed_cluster_type(id) - except Exception as e: - print("Exception when calling ManagedClusterTypesApi->delete_managed_cluster_type: %s\n" % e) -- path: /managed-cluster-types/{id} - method: GET - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v2025/methods/managed-cluster-types#get-managed-cluster-type - source: | - from sailpoint.v2025.api.managed_cluster_types_api import ManagedClusterTypesApi - from sailpoint.v2025.api_client import ApiClient - from sailpoint.v2025.models.managed_cluster_type import ManagedClusterType - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - id = 'aClusterTypeId' # str | The Managed Cluster Type ID # str | The Managed Cluster Type ID - try: - # Get a Managed Cluster Type - - results = ManagedClusterTypesApi(api_client).get_managed_cluster_type(id=id) - # Below is a request that includes all optional parameters - # results = ManagedClusterTypesApi(api_client).get_managed_cluster_type(id) - print("The response of ManagedClusterTypesApi->get_managed_cluster_type:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling ManagedClusterTypesApi->get_managed_cluster_type: %s\n" % e) -- path: /managed-cluster-types - method: GET - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v2025/methods/managed-cluster-types#get-managed-cluster-types - source: | - from sailpoint.v2025.api.managed_cluster_types_api import ManagedClusterTypesApi - from sailpoint.v2025.api_client import ApiClient - from sailpoint.v2025.models.managed_cluster_type import ManagedClusterType - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - type = 'IDN' # str | Type descriptor (optional) # str | Type descriptor (optional) - pod = 'megapod-useast1' # str | Pinned pod (or default) (optional) # str | Pinned pod (or default) (optional) - org = 'denali-xyz' # str | Pinned org (or default) (optional) # str | Pinned org (or default) (optional) - offset = 0 # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) - 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) - try: - # List Managed Cluster Types - - results = ManagedClusterTypesApi(api_client).get_managed_cluster_types() - # Below is a request that includes all optional parameters - # results = ManagedClusterTypesApi(api_client).get_managed_cluster_types(type, pod, org, offset, limit) - print("The response of ManagedClusterTypesApi->get_managed_cluster_types:\n") - for item in results: - print(item.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling ManagedClusterTypesApi->get_managed_cluster_types: %s\n" % e) -- path: /managed-cluster-types/{id} - method: PATCH - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v2025/methods/managed-cluster-types#update-managed-cluster-type - source: | - from sailpoint.v2025.api.managed_cluster_types_api import ManagedClusterTypesApi - from sailpoint.v2025.api_client import ApiClient - from sailpoint.v2025.models.json_patch import JsonPatch - from sailpoint.v2025.models.managed_cluster_type import ManagedClusterType - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - id = 'aClusterTypeId' # str | The Managed Cluster Type ID # str | The Managed Cluster Type ID - json_patch = '''{ - "operations" : [ { - "op" : "replace", - "path" : "/description", - "value" : "New description" - }, { - "op" : "replace", - "path" : "/description", - "value" : "New description" - } ] - }''' # JsonPatch | The JSONPatch payload used to update the schema. - try: - # Update a Managed Cluster Type - new_json_patch = JsonPatch.from_json(json_patch) - results = ManagedClusterTypesApi(api_client).update_managed_cluster_type(id=id, json_patch=new_json_patch) - # Below is a request that includes all optional parameters - # results = ManagedClusterTypesApi(api_client).update_managed_cluster_type(id, new_json_patch) - print("The response of ManagedClusterTypesApi->update_managed_cluster_type:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling ManagedClusterTypesApi->update_managed_cluster_type: %s\n" % e) - path: /managed-clusters method: POST xCodeSample: @@ -11522,6 +11185,343 @@ print(results.model_dump_json(by_alias=True, indent=4)) except Exception as e: print("Exception when calling ManagedClustersApi->update_managed_cluster: %s\n" % e) +- path: /managed-cluster-types + method: POST + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v2025/methods/managed-cluster-types#create-managed-cluster-type + source: | + from sailpoint.v2025.api.managed_cluster_types_api import ManagedClusterTypesApi + from sailpoint.v2025.api_client import ApiClient + from sailpoint.v2025.models.managed_cluster_type import ManagedClusterType + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + managed_cluster_type = '''{ + "managedProcessIds" : [ "someId", "someId2" ], + "pod" : "megapod-useast1", + "org" : "denali-cjh", + "id" : "aClusterTypeId", + "type" : "idn" + }''' # ManagedClusterType | + try: + # Create new Managed Cluster Type + new_managed_cluster_type = ManagedClusterType.from_json(managed_cluster_type) + results = ManagedClusterTypesApi(api_client).create_managed_cluster_type(managed_cluster_type=new_managed_cluster_type) + # Below is a request that includes all optional parameters + # results = ManagedClusterTypesApi(api_client).create_managed_cluster_type(new_managed_cluster_type) + print("The response of ManagedClusterTypesApi->create_managed_cluster_type:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling ManagedClusterTypesApi->create_managed_cluster_type: %s\n" % e) +- path: /managed-cluster-types/{id} + method: DELETE + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v2025/methods/managed-cluster-types#delete-managed-cluster-type + source: | + from sailpoint.v2025.api.managed_cluster_types_api import ManagedClusterTypesApi + from sailpoint.v2025.api_client import ApiClient + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + id = 'aClusterTypeId' # str | The Managed Cluster Type ID # str | The Managed Cluster Type ID + try: + # Delete a Managed Cluster Type + + ManagedClusterTypesApi(api_client).delete_managed_cluster_type(id=id) + # Below is a request that includes all optional parameters + # ManagedClusterTypesApi(api_client).delete_managed_cluster_type(id) + except Exception as e: + print("Exception when calling ManagedClusterTypesApi->delete_managed_cluster_type: %s\n" % e) +- path: /managed-cluster-types/{id} + method: GET + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v2025/methods/managed-cluster-types#get-managed-cluster-type + source: | + from sailpoint.v2025.api.managed_cluster_types_api import ManagedClusterTypesApi + from sailpoint.v2025.api_client import ApiClient + from sailpoint.v2025.models.managed_cluster_type import ManagedClusterType + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + id = 'aClusterTypeId' # str | The Managed Cluster Type ID # str | The Managed Cluster Type ID + try: + # Get a Managed Cluster Type + + results = ManagedClusterTypesApi(api_client).get_managed_cluster_type(id=id) + # Below is a request that includes all optional parameters + # results = ManagedClusterTypesApi(api_client).get_managed_cluster_type(id) + print("The response of ManagedClusterTypesApi->get_managed_cluster_type:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling ManagedClusterTypesApi->get_managed_cluster_type: %s\n" % e) +- path: /managed-cluster-types + method: GET + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v2025/methods/managed-cluster-types#get-managed-cluster-types + source: | + from sailpoint.v2025.api.managed_cluster_types_api import ManagedClusterTypesApi + from sailpoint.v2025.api_client import ApiClient + from sailpoint.v2025.models.managed_cluster_type import ManagedClusterType + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + type = 'IDN' # str | Type descriptor (optional) # str | Type descriptor (optional) + pod = 'megapod-useast1' # str | Pinned pod (or default) (optional) # str | Pinned pod (or default) (optional) + org = 'denali-xyz' # str | Pinned org (or default) (optional) # str | Pinned org (or default) (optional) + offset = 0 # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) + 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) + try: + # List Managed Cluster Types + + results = ManagedClusterTypesApi(api_client).get_managed_cluster_types() + # Below is a request that includes all optional parameters + # results = ManagedClusterTypesApi(api_client).get_managed_cluster_types(type, pod, org, offset, limit) + print("The response of ManagedClusterTypesApi->get_managed_cluster_types:\n") + for item in results: + print(item.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling ManagedClusterTypesApi->get_managed_cluster_types: %s\n" % e) +- path: /managed-cluster-types/{id} + method: PATCH + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v2025/methods/managed-cluster-types#update-managed-cluster-type + source: | + from sailpoint.v2025.api.managed_cluster_types_api import ManagedClusterTypesApi + from sailpoint.v2025.api_client import ApiClient + from sailpoint.v2025.models.json_patch import JsonPatch + from sailpoint.v2025.models.managed_cluster_type import ManagedClusterType + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + id = 'aClusterTypeId' # str | The Managed Cluster Type ID # str | The Managed Cluster Type ID + json_patch = '''{ + "operations" : [ { + "op" : "replace", + "path" : "/description", + "value" : "New description" + }, { + "op" : "replace", + "path" : "/description", + "value" : "New description" + } ] + }''' # JsonPatch | The JSONPatch payload used to update the schema. + try: + # Update a Managed Cluster Type + new_json_patch = JsonPatch.from_json(json_patch) + results = ManagedClusterTypesApi(api_client).update_managed_cluster_type(id=id, json_patch=new_json_patch) + # Below is a request that includes all optional parameters + # results = ManagedClusterTypesApi(api_client).update_managed_cluster_type(id, new_json_patch) + print("The response of ManagedClusterTypesApi->update_managed_cluster_type:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling ManagedClusterTypesApi->update_managed_cluster_type: %s\n" % e) +- path: /mfa/duo-web/config + method: GET + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v2025/methods/mfa-configuration#get-mfa-duo-config + source: | + from sailpoint.v2025.api.mfa_configuration_api import MFAConfigurationApi + from sailpoint.v2025.api_client import ApiClient + from sailpoint.v2025.models.mfa_duo_config import MfaDuoConfig + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + try: + # Configuration of Duo MFA method + + results = MFAConfigurationApi(api_client).get_mfa_duo_config() + # Below is a request that includes all optional parameters + # results = MFAConfigurationApi(api_client).get_mfa_duo_config() + print("The response of MFAConfigurationApi->get_mfa_duo_config:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling MFAConfigurationApi->get_mfa_duo_config: %s\n" % e) +- path: /mfa/kba/config + method: GET + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v2025/methods/mfa-configuration#get-mfa-kba-config + source: | + from sailpoint.v2025.api.mfa_configuration_api import MFAConfigurationApi + from sailpoint.v2025.api_client import ApiClient + from sailpoint.v2025.models.kba_question import KbaQuestion + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + all_languages = allLanguages=true # bool | Indicator whether the question text should be returned in all configured languages * If true, the question text is returned in all languages that it is configured in. * If false, the question text is returned in the user locale if available, else for the default locale. * If not passed, it behaves the same way as passing this parameter as false (optional) # bool | Indicator whether the question text should be returned in all configured languages * If true, the question text is returned in all languages that it is configured in. * If false, the question text is returned in the user locale if available, else for the default locale. * If not passed, it behaves the same way as passing this parameter as false (optional) + try: + # Configuration of KBA MFA method + + results = MFAConfigurationApi(api_client).get_mfa_kba_config() + # Below is a request that includes all optional parameters + # results = MFAConfigurationApi(api_client).get_mfa_kba_config(all_languages) + print("The response of MFAConfigurationApi->get_mfa_kba_config:\n") + for item in results: + print(item.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling MFAConfigurationApi->get_mfa_kba_config: %s\n" % e) +- path: /mfa/okta-verify/config + method: GET + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v2025/methods/mfa-configuration#get-mfa-okta-config + source: | + from sailpoint.v2025.api.mfa_configuration_api import MFAConfigurationApi + from sailpoint.v2025.api_client import ApiClient + from sailpoint.v2025.models.mfa_okta_config import MfaOktaConfig + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + try: + # Configuration of Okta MFA method + + results = MFAConfigurationApi(api_client).get_mfa_okta_config() + # Below is a request that includes all optional parameters + # results = MFAConfigurationApi(api_client).get_mfa_okta_config() + print("The response of MFAConfigurationApi->get_mfa_okta_config:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling MFAConfigurationApi->get_mfa_okta_config: %s\n" % e) +- path: /mfa/duo-web/config + method: PUT + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v2025/methods/mfa-configuration#set-mfa-duo-config + source: | + from sailpoint.v2025.api.mfa_configuration_api import MFAConfigurationApi + from sailpoint.v2025.api_client import ApiClient + from sailpoint.v2025.models.mfa_duo_config import MfaDuoConfig + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + mfa_duo_config = '''{ + "accessKey" : "qw123Y3QlA5UqocYpdU3rEkzrK2D497y", + "host" : "example.com", + "configProperties" : { + "skey" : "qwERttyZx1CdlQye2Vwtbsjr3HKddy4BAiCXjc5x", + "ikey" : "Q123WE45R6TY7890ZXCV" + }, + "mfaMethod" : "duo-web", + "enabled" : true, + "identityAttribute" : "email" + }''' # MfaDuoConfig | + try: + # Set Duo MFA configuration + new_mfa_duo_config = MfaDuoConfig.from_json(mfa_duo_config) + results = MFAConfigurationApi(api_client).set_mfa_duo_config(mfa_duo_config=new_mfa_duo_config) + # Below is a request that includes all optional parameters + # results = MFAConfigurationApi(api_client).set_mfa_duo_config(new_mfa_duo_config) + print("The response of MFAConfigurationApi->set_mfa_duo_config:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling MFAConfigurationApi->set_mfa_duo_config: %s\n" % e) +- path: /mfa/okta-verify/config + method: PUT + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v2025/methods/mfa-configuration#set-mfa-okta-config + source: | + from sailpoint.v2025.api.mfa_configuration_api import MFAConfigurationApi + from sailpoint.v2025.api_client import ApiClient + from sailpoint.v2025.models.mfa_okta_config import MfaOktaConfig + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + mfa_okta_config = '''{ + "accessKey" : "qw123Y3QlA5UqocYpdU3rEkzrK2D497y", + "host" : "example.com", + "mfaMethod" : "okta-verify", + "enabled" : true, + "identityAttribute" : "email" + }''' # MfaOktaConfig | + try: + # Set Okta MFA configuration + new_mfa_okta_config = MfaOktaConfig.from_json(mfa_okta_config) + results = MFAConfigurationApi(api_client).set_mfa_okta_config(mfa_okta_config=new_mfa_okta_config) + # Below is a request that includes all optional parameters + # results = MFAConfigurationApi(api_client).set_mfa_okta_config(new_mfa_okta_config) + print("The response of MFAConfigurationApi->set_mfa_okta_config:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling MFAConfigurationApi->set_mfa_okta_config: %s\n" % e) +- path: /mfa/kba/config/answers + method: POST + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v2025/methods/mfa-configuration#set-mfakba-config + source: | + from sailpoint.v2025.api.mfa_configuration_api import MFAConfigurationApi + from sailpoint.v2025.api_client import ApiClient + from sailpoint.v2025.models.kba_answer_request_item import KbaAnswerRequestItem + from sailpoint.v2025.models.kba_answer_response_item import KbaAnswerResponseItem + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + kba_answer_request_item = '''[{id=173423, answer=822cd15d6c15aa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a0859a2fea34}, {id=c54fee53-2d63-4fc5-9259-3e93b9994135, answer=9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08}]''' # List[KbaAnswerRequestItem] | + try: + # Set MFA KBA configuration + new_kba_answer_request_item = KbaAnswerRequestItem.from_json(kba_answer_request_item) + results = MFAConfigurationApi(api_client).set_mfakba_config(kba_answer_request_item=new_kba_answer_request_item) + # Below is a request that includes all optional parameters + # results = MFAConfigurationApi(api_client).set_mfakba_config(new_kba_answer_request_item) + print("The response of MFAConfigurationApi->set_mfakba_config:\n") + for item in results: + print(item.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling MFAConfigurationApi->set_mfakba_config: %s\n" % e) +- path: /mfa/{method}/test + method: GET + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v2025/methods/mfa-configuration#test-mfa-config + source: | + from sailpoint.v2025.api.mfa_configuration_api import MFAConfigurationApi + from sailpoint.v2025.api_client import ApiClient + from sailpoint.v2025.models.mfa_config_test_response import MfaConfigTestResponse + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + method = 'okta-verify' # str | The name of the MFA method. The currently supported method names are 'okta-verify' and 'duo-web'. # str | The name of the MFA method. The currently supported method names are 'okta-verify' and 'duo-web'. + try: + # MFA method's test configuration + + results = MFAConfigurationApi(api_client).test_mfa_config(method=method) + # Below is a request that includes all optional parameters + # results = MFAConfigurationApi(api_client).test_mfa_config(method) + print("The response of MFAConfigurationApi->test_mfa_config:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling MFAConfigurationApi->test_mfa_config: %s\n" % e) - path: /multihosts method: POST xCodeSample: @@ -12796,7 +12796,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -12825,7 +12825,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -12869,7 +12869,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -12901,7 +12901,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -12925,7 +12925,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: id = 'id_example' # str | # str | @@ -12950,7 +12950,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -12977,7 +12977,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: id = 'bobsmith@sailpoint.com' # str | Returns the MX and TXT record to be put in your DNS, as well as the MAIL FROM domain status # str | Returns the MX and TXT record to be put in your DNS, as well as the MAIL FROM domain status @@ -13004,7 +13004,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: id = 'c17bea3a-574d-453c-9e04-4365fbf5af0b' # str | Id of the Notification Template # str | Id of the Notification Template @@ -13031,7 +13031,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -13057,7 +13057,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -13089,7 +13089,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -13115,7 +13115,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -13145,7 +13145,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -13176,7 +13176,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -13206,7 +13206,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -13377,7 +13377,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -13402,7 +13402,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -13433,7 +13433,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -13590,7 +13590,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -14380,7 +14380,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -14405,7 +14405,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: insight_id = '8c190e67-87aa-4ed9-a90b-d9d5344523fb' # str | The role insight id # str | The role insight id @@ -14434,7 +14434,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: insight_id = '8c190e67-87aa-4ed9-a90b-d9d5344523fb' # str | The role insight id # str | The role insight id @@ -14469,7 +14469,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: insight_id = '8c190e67-87aa-4ed9-a90b-d9d5344523fb' # str | The role insight id # str | The role insight id @@ -14496,7 +14496,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -14528,7 +14528,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: insight_id = '8c190e67-87aa-4ed9-a90b-d9d5344523fb' # str | The role insight id # str | The role insight id @@ -14557,7 +14557,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: insight_id = '8c190e67-87aa-4ed9-a90b-d9d5344523fb' # str | The role insight id # str | The role insight id @@ -14587,7 +14587,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: id = '8c190e67-87aa-4ed9-a90b-d9d5344523fb' # str | The role insights request id # str | The role insights request id @@ -14614,7 +14614,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -15003,7 +15003,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: id = '2c91808a7813090a017814121919ecca' # str | Containing role's ID. # str | Containing role's ID. @@ -15267,1122 +15267,6 @@ print(results.model_dump_json(by_alias=True, indent=4)) except Exception as e: print("Exception when calling RolesApi->update_roles_metadata_by_query: %s\n" % e) -- path: /sim-integrations - method: POST - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v2025/methods/sim-integrations#create-sim-integration - source: | - from sailpoint.v2025.api.sim_integrations_api import SIMIntegrationsApi - from sailpoint.v2025.api_client import ApiClient - from sailpoint.v2025.models.service_desk_integration_dto import ServiceDeskIntegrationDto - from sailpoint.v2025.models.sim_integration_details import SimIntegrationDetails - from sailpoint.configuration import Configuration - configuration = Configuration() - - configuration.experimental = true - - with ApiClient(configuration) as api_client: - x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') - sim_integration_details = '''{ - "cluster" : "xyzzy999", - "statusMap" : "{closed_cancelled=Failed, closed_complete=Committed, closed_incomplete=Failed, closed_rejected=Failed, in_process=Queued, requested=Queued}", - "request" : "{description=SailPoint Access Request,, req_description=The Service Request created by SailPoint ServiceNow Service Integration Module (SIM).,, req_short_description=SailPoint New Access Request Created from IdentityNow,, short_description=SailPoint Access Request $!plan.arguments.identityRequestId}", - "sources" : [ "2c9180835d191a86015d28455b4a2329", "2c5680835d191a85765d28455b4a9823" ], - "created" : "2015-05-28T14:07:17Z", - "name" : "aName", - "modified" : "2015-05-28T14:07:17Z", - "description" : "Integration description", - "attributes" : "{\"uid\":\"Walter White\",\"firstname\":\"walter\",\"cloudStatus\":\"UNREGISTERED\",\"displayName\":\"Walter White\",\"identificationNumber\":\"942\",\"lastSyncDate\":1470348809380,\"email\":\"walter@gmail.com\",\"lastname\":\"white\"}", - "id" : "id12345", - "type" : "ServiceNow Service Desk", - "beforeProvisioningRule" : { - "name" : "Example Rule", - "id" : "2c918085708c274401708c2a8a760001", - "type" : "IDENTITY" - } - }''' # SimIntegrationDetails | DTO containing the details of the SIM integration - try: - # Create new SIM integration - new_sim_integration_details = SimIntegrationDetails.from_json(sim_integration_details) - results = SIMIntegrationsApi(api_client).create_sim_integration(x_sail_point_experimental=x_sail_point_experimental, sim_integration_details=new_sim_integration_details) - # Below is a request that includes all optional parameters - # results = SIMIntegrationsApi(api_client).create_sim_integration(x_sail_point_experimental, new_sim_integration_details) - print("The response of SIMIntegrationsApi->create_sim_integration:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling SIMIntegrationsApi->create_sim_integration: %s\n" % e) -- path: /sim-integrations/{id} - method: DELETE - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v2025/methods/sim-integrations#delete-sim-integration - source: | - from sailpoint.v2025.api.sim_integrations_api import SIMIntegrationsApi - from sailpoint.v2025.api_client import ApiClient - from sailpoint.configuration import Configuration - configuration = Configuration() - - configuration.experimental = true - - with ApiClient(configuration) as api_client: - id = '12345' # str | The id of the integration to delete. # str | The id of the integration to delete. - x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') - try: - # Delete a SIM integration - - SIMIntegrationsApi(api_client).delete_sim_integration(id=id, x_sail_point_experimental=x_sail_point_experimental) - # Below is a request that includes all optional parameters - # SIMIntegrationsApi(api_client).delete_sim_integration(id, x_sail_point_experimental) - except Exception as e: - print("Exception when calling SIMIntegrationsApi->delete_sim_integration: %s\n" % e) -- path: /sim-integrations/{id} - method: GET - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v2025/methods/sim-integrations#get-sim-integration - source: | - from sailpoint.v2025.api.sim_integrations_api import SIMIntegrationsApi - from sailpoint.v2025.api_client import ApiClient - from sailpoint.v2025.models.service_desk_integration_dto import ServiceDeskIntegrationDto - from sailpoint.configuration import Configuration - configuration = Configuration() - - configuration.experimental = true - - with ApiClient(configuration) as api_client: - id = '12345' # str | The id of the integration. # str | The id of the integration. - x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') - try: - # Get a SIM integration details. - - results = SIMIntegrationsApi(api_client).get_sim_integration(id=id, x_sail_point_experimental=x_sail_point_experimental) - # Below is a request that includes all optional parameters - # results = SIMIntegrationsApi(api_client).get_sim_integration(id, x_sail_point_experimental) - print("The response of SIMIntegrationsApi->get_sim_integration:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling SIMIntegrationsApi->get_sim_integration: %s\n" % e) -- path: /sim-integrations - method: GET - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v2025/methods/sim-integrations#get-sim-integrations - source: | - from sailpoint.v2025.api.sim_integrations_api import SIMIntegrationsApi - from sailpoint.v2025.api_client import ApiClient - from sailpoint.v2025.models.service_desk_integration_dto import ServiceDeskIntegrationDto - from sailpoint.configuration import Configuration - configuration = Configuration() - - configuration.experimental = true - - with ApiClient(configuration) as api_client: - x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') - try: - # List the existing SIM integrations. - - results = SIMIntegrationsApi(api_client).get_sim_integrations(x_sail_point_experimental=x_sail_point_experimental) - # Below is a request that includes all optional parameters - # results = SIMIntegrationsApi(api_client).get_sim_integrations(x_sail_point_experimental) - print("The response of SIMIntegrationsApi->get_sim_integrations:\n") - for item in results: - print(item.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling SIMIntegrationsApi->get_sim_integrations: %s\n" % e) -- path: /sim-integrations/{id}/beforeProvisioningRule - method: PATCH - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v2025/methods/sim-integrations#patch-before-provisioning-rule - source: | - from sailpoint.v2025.api.sim_integrations_api import SIMIntegrationsApi - from sailpoint.v2025.api_client import ApiClient - from sailpoint.v2025.models.json_patch import JsonPatch - from sailpoint.v2025.models.service_desk_integration_dto import ServiceDeskIntegrationDto - from sailpoint.configuration import Configuration - configuration = Configuration() - - configuration.experimental = true - - with ApiClient(configuration) as api_client: - id = '12345' # str | SIM integration id # str | SIM integration id - x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') - json_patch = '''{ - "operations" : [ { - "op" : "replace", - "path" : "/description", - "value" : "New description" - }, { - "op" : "replace", - "path" : "/description", - "value" : "New description" - } ] - }''' # JsonPatch | The JsonPatch object that describes the changes of SIM beforeProvisioningRule. - try: - # Patch a SIM beforeProvisioningRule attribute. - new_json_patch = JsonPatch.from_json(json_patch) - results = SIMIntegrationsApi(api_client).patch_before_provisioning_rule(id=id, x_sail_point_experimental=x_sail_point_experimental, json_patch=new_json_patch) - # Below is a request that includes all optional parameters - # results = SIMIntegrationsApi(api_client).patch_before_provisioning_rule(id, x_sail_point_experimental, new_json_patch) - print("The response of SIMIntegrationsApi->patch_before_provisioning_rule:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling SIMIntegrationsApi->patch_before_provisioning_rule: %s\n" % e) -- path: /sim-integrations/{id} - method: PATCH - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v2025/methods/sim-integrations#patch-sim-attributes - source: | - from sailpoint.v2025.api.sim_integrations_api import SIMIntegrationsApi - from sailpoint.v2025.api_client import ApiClient - from sailpoint.v2025.models.json_patch import JsonPatch - from sailpoint.v2025.models.service_desk_integration_dto import ServiceDeskIntegrationDto - from sailpoint.configuration import Configuration - configuration = Configuration() - - configuration.experimental = true - - with ApiClient(configuration) as api_client: - id = '12345' # str | SIM integration id # str | SIM integration id - x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') - json_patch = '''{ - "operations" : [ { - "op" : "replace", - "path" : "/description", - "value" : "New description" - }, { - "op" : "replace", - "path" : "/description", - "value" : "New description" - } ] - }''' # JsonPatch | The JsonPatch object that describes the changes of SIM - try: - # Patch a SIM attribute. - new_json_patch = JsonPatch.from_json(json_patch) - results = SIMIntegrationsApi(api_client).patch_sim_attributes(id=id, x_sail_point_experimental=x_sail_point_experimental, json_patch=new_json_patch) - # Below is a request that includes all optional parameters - # results = SIMIntegrationsApi(api_client).patch_sim_attributes(id, x_sail_point_experimental, new_json_patch) - print("The response of SIMIntegrationsApi->patch_sim_attributes:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling SIMIntegrationsApi->patch_sim_attributes: %s\n" % e) -- path: /sim-integrations/{id} - method: PUT - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v2025/methods/sim-integrations#put-sim-integration - source: | - from sailpoint.v2025.api.sim_integrations_api import SIMIntegrationsApi - from sailpoint.v2025.api_client import ApiClient - from sailpoint.v2025.models.service_desk_integration_dto import ServiceDeskIntegrationDto - from sailpoint.v2025.models.sim_integration_details import SimIntegrationDetails - from sailpoint.configuration import Configuration - configuration = Configuration() - - configuration.experimental = true - - with ApiClient(configuration) as api_client: - id = '12345' # str | The id of the integration. # str | The id of the integration. - x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') - sim_integration_details = '''{ - "cluster" : "xyzzy999", - "statusMap" : "{closed_cancelled=Failed, closed_complete=Committed, closed_incomplete=Failed, closed_rejected=Failed, in_process=Queued, requested=Queued}", - "request" : "{description=SailPoint Access Request,, req_description=The Service Request created by SailPoint ServiceNow Service Integration Module (SIM).,, req_short_description=SailPoint New Access Request Created from IdentityNow,, short_description=SailPoint Access Request $!plan.arguments.identityRequestId}", - "sources" : [ "2c9180835d191a86015d28455b4a2329", "2c5680835d191a85765d28455b4a9823" ], - "created" : "2015-05-28T14:07:17Z", - "name" : "aName", - "modified" : "2015-05-28T14:07:17Z", - "description" : "Integration description", - "attributes" : "{\"uid\":\"Walter White\",\"firstname\":\"walter\",\"cloudStatus\":\"UNREGISTERED\",\"displayName\":\"Walter White\",\"identificationNumber\":\"942\",\"lastSyncDate\":1470348809380,\"email\":\"walter@gmail.com\",\"lastname\":\"white\"}", - "id" : "id12345", - "type" : "ServiceNow Service Desk", - "beforeProvisioningRule" : { - "name" : "Example Rule", - "id" : "2c918085708c274401708c2a8a760001", - "type" : "IDENTITY" - } - }''' # SimIntegrationDetails | The full DTO of the integration containing the updated model - try: - # Update an existing SIM integration - new_sim_integration_details = SimIntegrationDetails.from_json(sim_integration_details) - results = SIMIntegrationsApi(api_client).put_sim_integration(id=id, x_sail_point_experimental=x_sail_point_experimental, sim_integration_details=new_sim_integration_details) - # Below is a request that includes all optional parameters - # results = SIMIntegrationsApi(api_client).put_sim_integration(id, x_sail_point_experimental, new_sim_integration_details) - print("The response of SIMIntegrationsApi->put_sim_integration:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling SIMIntegrationsApi->put_sim_integration: %s\n" % e) -- path: /sod-policies - method: POST - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v2025/methods/sod-policies#create-sod-policy - source: | - from sailpoint.v2025.api.sod_policies_api import SODPoliciesApi - from sailpoint.v2025.api_client import ApiClient - from sailpoint.v2025.models.sod_policy import SodPolicy - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - sod_policy = '''{ - "conflictingAccessCriteria" : { - "leftCriteria" : { - "name" : "money-in", - "criteriaList" : [ { - "type" : "ENTITLEMENT", - "id" : "2c9180866166b5b0016167c32ef31a66", - "name" : "Administrator" - }, { - "type" : "ENTITLEMENT", - "id" : "2c9180866166b5b0016167c32ef31a67", - "name" : "Administrator" - } ] - }, - "rightCriteria" : { - "name" : "money-in", - "criteriaList" : [ { - "type" : "ENTITLEMENT", - "id" : "2c9180866166b5b0016167c32ef31a66", - "name" : "Administrator" - }, { - "type" : "ENTITLEMENT", - "id" : "2c9180866166b5b0016167c32ef31a67", - "name" : "Administrator" - } ] - } - }, - "ownerRef" : { - "name" : "Support", - "id" : "2c9180a46faadee4016fb4e018c20639", - "type" : "IDENTITY" - }, - "created" : "2020-01-01T00:00:00Z", - "scheduled" : true, - "creatorId" : "0f11f2a4-7c94-4bf3-a2bd-742580fe3bde", - "modifierId" : "0f11f2a4-7c94-4bf3-a2bd-742580fe3bde", - "description" : "This policy ensures compliance of xyz", - "violationOwnerAssignmentConfig" : { - "assignmentRule" : "MANAGER", - "ownerRef" : { - "name" : "Support", - "id" : "2c9180a46faadee4016fb4e018c20639", - "type" : "IDENTITY" - } - }, - "correctionAdvice" : "Based on the role of the employee, managers should remove access that is not required for their job function.", - "type" : "GENERAL", - "tags" : [ "TAG1", "TAG2" ], - "name" : "policy-xyz", - "modified" : "2020-01-01T00:00:00Z", - "policyQuery" : "@access(id:0f11f2a4-7c94-4bf3-a2bd-742580fe3bdg) AND @access(id:0f11f2a4-7c94-4bf3-a2bd-742580fe3bdf)", - "compensatingControls" : "Have a manager review the transaction decisions for their \"out of compliance\" employee", - "id" : "0f11f2a4-7c94-4bf3-a2bd-742580fe3bde", - "state" : "ENFORCED", - "externalPolicyReference" : "XYZ policy" - }''' # SodPolicy | - try: - # Create SOD policy - new_sod_policy = SodPolicy.from_json(sod_policy) - results = SODPoliciesApi(api_client).create_sod_policy(sod_policy=new_sod_policy) - # Below is a request that includes all optional parameters - # results = SODPoliciesApi(api_client).create_sod_policy(new_sod_policy) - print("The response of SODPoliciesApi->create_sod_policy:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling SODPoliciesApi->create_sod_policy: %s\n" % e) -- path: /sod-policies/{id} - method: DELETE - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v2025/methods/sod-policies#delete-sod-policy - source: | - from sailpoint.v2025.api.sod_policies_api import SODPoliciesApi - from sailpoint.v2025.api_client import ApiClient - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - id = 'ef38f943-47e9-4562-b5bb-8424a56397d8' # str | The ID of the SOD Policy to delete. # str | The ID of the SOD Policy to delete. - logical = True # bool | Indicates whether this is a soft delete (logical true) or a hard delete. Soft delete marks the policy as deleted and just save it with this status. It could be fully deleted or recovered further. Hard delete vise versa permanently delete SOD request during this call. (optional) (default to True) # bool | Indicates whether this is a soft delete (logical true) or a hard delete. Soft delete marks the policy as deleted and just save it with this status. It could be fully deleted or recovered further. Hard delete vise versa permanently delete SOD request during this call. (optional) (default to True) - try: - # Delete SOD policy by ID - - SODPoliciesApi(api_client).delete_sod_policy(id=id) - # Below is a request that includes all optional parameters - # SODPoliciesApi(api_client).delete_sod_policy(id, logical) - except Exception as e: - print("Exception when calling SODPoliciesApi->delete_sod_policy: %s\n" % e) -- path: /sod-policies/{id}/schedule - method: DELETE - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v2025/methods/sod-policies#delete-sod-policy-schedule - source: | - from sailpoint.v2025.api.sod_policies_api import SODPoliciesApi - from sailpoint.v2025.api_client import ApiClient - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - id = 'ef38f943-47e9-4562-b5bb-8424a56397d8' # str | The ID of the SOD policy the schedule must be deleted for. # str | The ID of the SOD policy the schedule must be deleted for. - try: - # Delete SOD policy schedule - - SODPoliciesApi(api_client).delete_sod_policy_schedule(id=id) - # Below is a request that includes all optional parameters - # SODPoliciesApi(api_client).delete_sod_policy_schedule(id) - except Exception as e: - print("Exception when calling SODPoliciesApi->delete_sod_policy_schedule: %s\n" % e) -- path: /sod-violation-report/{reportResultId}/download/{fileName} - method: GET - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v2025/methods/sod-policies#get-custom-violation-report - source: | - from sailpoint.v2025.api.sod_policies_api import SODPoliciesApi - from sailpoint.v2025.api_client import ApiClient - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - report_result_id = 'ef38f94347e94562b5bb8424a56397d8' # str | The ID of the report reference to download. # str | The ID of the report reference to download. - file_name = 'custom-name' # str | Custom Name for the file. # str | Custom Name for the file. - try: - # Download custom violation report - - results = SODPoliciesApi(api_client).get_custom_violation_report(report_result_id=report_result_id, file_name=file_name) - # Below is a request that includes all optional parameters - # results = SODPoliciesApi(api_client).get_custom_violation_report(report_result_id, file_name) - print("The response of SODPoliciesApi->get_custom_violation_report:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling SODPoliciesApi->get_custom_violation_report: %s\n" % e) -- path: /sod-violation-report/{reportResultId}/download - method: GET - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v2025/methods/sod-policies#get-default-violation-report - source: | - from sailpoint.v2025.api.sod_policies_api import SODPoliciesApi - from sailpoint.v2025.api_client import ApiClient - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - report_result_id = 'ef38f94347e94562b5bb8424a56397d8' # str | The ID of the report reference to download. # str | The ID of the report reference to download. - try: - # Download violation report - - results = SODPoliciesApi(api_client).get_default_violation_report(report_result_id=report_result_id) - # Below is a request that includes all optional parameters - # results = SODPoliciesApi(api_client).get_default_violation_report(report_result_id) - print("The response of SODPoliciesApi->get_default_violation_report:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling SODPoliciesApi->get_default_violation_report: %s\n" % e) -- path: /sod-violation-report - method: GET - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v2025/methods/sod-policies#get-sod-all-report-run-status - source: | - from sailpoint.v2025.api.sod_policies_api import SODPoliciesApi - from sailpoint.v2025.api_client import ApiClient - from sailpoint.v2025.models.report_result_reference import ReportResultReference - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - try: - # Get multi-report run task status - - results = SODPoliciesApi(api_client).get_sod_all_report_run_status() - # Below is a request that includes all optional parameters - # results = SODPoliciesApi(api_client).get_sod_all_report_run_status() - print("The response of SODPoliciesApi->get_sod_all_report_run_status:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling SODPoliciesApi->get_sod_all_report_run_status: %s\n" % e) -- path: /sod-policies/{id} - method: GET - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v2025/methods/sod-policies#get-sod-policy - source: | - from sailpoint.v2025.api.sod_policies_api import SODPoliciesApi - from sailpoint.v2025.api_client import ApiClient - from sailpoint.v2025.models.sod_policy import SodPolicy - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - id = 'ef38f943-47e9-4562-b5bb-8424a56397d8' # str | The ID of the SOD Policy to retrieve. # str | The ID of the SOD Policy to retrieve. - try: - # Get SOD policy by ID - - results = SODPoliciesApi(api_client).get_sod_policy(id=id) - # Below is a request that includes all optional parameters - # results = SODPoliciesApi(api_client).get_sod_policy(id) - print("The response of SODPoliciesApi->get_sod_policy:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling SODPoliciesApi->get_sod_policy: %s\n" % e) -- path: /sod-policies/{id}/schedule - method: GET - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v2025/methods/sod-policies#get-sod-policy-schedule - source: | - from sailpoint.v2025.api.sod_policies_api import SODPoliciesApi - from sailpoint.v2025.api_client import ApiClient - from sailpoint.v2025.models.sod_policy_schedule import SodPolicySchedule - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - id = 'ef38f943-47e9-4562-b5bb-8424a56397d8' # str | The ID of the SOD policy schedule to retrieve. # str | The ID of the SOD policy schedule to retrieve. - try: - # Get SOD policy schedule - - results = SODPoliciesApi(api_client).get_sod_policy_schedule(id=id) - # Below is a request that includes all optional parameters - # results = SODPoliciesApi(api_client).get_sod_policy_schedule(id) - print("The response of SODPoliciesApi->get_sod_policy_schedule:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling SODPoliciesApi->get_sod_policy_schedule: %s\n" % e) -- path: /sod-policies/sod-violation-report-status/{reportResultId} - method: GET - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v2025/methods/sod-policies#get-sod-violation-report-run-status - source: | - from sailpoint.v2025.api.sod_policies_api import SODPoliciesApi - from sailpoint.v2025.api_client import ApiClient - from sailpoint.v2025.models.report_result_reference import ReportResultReference - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - report_result_id = '2e8d8180-24bc-4d21-91c6-7affdb473b0d' # str | The ID of the report reference to retrieve. # str | The ID of the report reference to retrieve. - try: - # Get violation report run status - - results = SODPoliciesApi(api_client).get_sod_violation_report_run_status(report_result_id=report_result_id) - # Below is a request that includes all optional parameters - # results = SODPoliciesApi(api_client).get_sod_violation_report_run_status(report_result_id) - print("The response of SODPoliciesApi->get_sod_violation_report_run_status:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling SODPoliciesApi->get_sod_violation_report_run_status: %s\n" % e) -- path: /sod-policies/{id}/violation-report - method: GET - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v2025/methods/sod-policies#get-sod-violation-report-status - source: | - from sailpoint.v2025.api.sod_policies_api import SODPoliciesApi - from sailpoint.v2025.api_client import ApiClient - from sailpoint.v2025.models.report_result_reference import ReportResultReference - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - id = 'ef38f943-47e9-4562-b5bb-8424a56397d8' # str | The ID of the violation report to retrieve status for. # str | The ID of the violation report to retrieve status for. - try: - # Get SOD violation report status - - results = SODPoliciesApi(api_client).get_sod_violation_report_status(id=id) - # Below is a request that includes all optional parameters - # results = SODPoliciesApi(api_client).get_sod_violation_report_status(id) - print("The response of SODPoliciesApi->get_sod_violation_report_status:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling SODPoliciesApi->get_sod_violation_report_status: %s\n" % e) -- path: /sod-policies - method: GET - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v2025/methods/sod-policies#list-sod-policies - source: | - from sailpoint.v2025.api.sod_policies_api import SODPoliciesApi - from sailpoint.v2025.api_client import ApiClient - from sailpoint.v2025.models.sod_policy import SodPolicy - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - 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) - offset = 0 # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) - count = False # bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to False) # bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to False) - filters = 'id eq \"bc693f07e7b645539626c25954c58554\"' # str | Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **id**: *eq, in* **name**: *eq, in* **state**: *eq, in* (optional) # str | Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **id**: *eq, in* **name**: *eq, in* **state**: *eq, in* (optional) - sorters = 'id,name' # str | Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **id, name, created, modified, description** (optional) # str | Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **id, name, created, modified, description** (optional) - try: - # List SOD policies - - results = SODPoliciesApi(api_client).list_sod_policies() - # Below is a request that includes all optional parameters - # results = SODPoliciesApi(api_client).list_sod_policies(limit, offset, count, filters, sorters) - print("The response of SODPoliciesApi->list_sod_policies:\n") - for item in results: - print(item.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling SODPoliciesApi->list_sod_policies: %s\n" % e) -- path: /sod-policies/{id} - method: PATCH - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v2025/methods/sod-policies#patch-sod-policy - source: | - from sailpoint.v2025.api.sod_policies_api import SODPoliciesApi - from sailpoint.v2025.api_client import ApiClient - from sailpoint.v2025.models.json_patch_operation import JsonPatchOperation - from sailpoint.v2025.models.sod_policy import SodPolicy - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - id = '2c918083-5d19-1a86-015d-28455b4a2329' # str | The ID of the SOD policy being modified. # str | The ID of the SOD policy being modified. - json_patch_operation = '''[{op=replace, path=/description, value=Modified description}, {op=replace, path=/conflictingAccessCriteria/leftCriteria/name, value=money-in-modified}, {op=replace, path=/conflictingAccessCriteria/rightCriteria, value={name=money-out-modified, criteriaList=[{type=ENTITLEMENT, id=2c918087682f9a86016839c0509c1ab2}]}}]''' # List[JsonPatchOperation] | A list of SOD Policy update operations according to the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard. The following fields are patchable: * name * description * ownerRef * externalPolicyReference * compensatingControls * correctionAdvice * state * tags * violationOwnerAssignmentConfig * scheduled * conflictingAccessCriteria - try: - # Patch SOD policy by ID - new_json_patch_operation = JsonPatchOperation.from_json(json_patch_operation) - results = SODPoliciesApi(api_client).patch_sod_policy(id=id, json_patch_operation=new_json_patch_operation) - # Below is a request that includes all optional parameters - # results = SODPoliciesApi(api_client).patch_sod_policy(id, new_json_patch_operation) - print("The response of SODPoliciesApi->patch_sod_policy:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling SODPoliciesApi->patch_sod_policy: %s\n" % e) -- path: /sod-policies/{id}/schedule - method: PUT - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v2025/methods/sod-policies#put-policy-schedule - source: | - from sailpoint.v2025.api.sod_policies_api import SODPoliciesApi - from sailpoint.v2025.api_client import ApiClient - from sailpoint.v2025.models.sod_policy_schedule import SodPolicySchedule - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - id = 'ef38f943-47e9-4562-b5bb-8424a56397d8' # str | The ID of the SOD policy to update its schedule. # str | The ID of the SOD policy to update its schedule. - sod_policy_schedule = '''{ - "schedule" : { - "hours" : { - "accountMatchConfig" : { - "matchExpression" : { - "and" : true, - "matchTerms" : [ { - "name" : "", - "value" : "", - "container" : true, - "and" : false, - "children" : [ { - "name" : "businessCategory", - "value" : "Service", - "op" : "eq", - "container" : false, - "and" : false - } ] - } ] - } - }, - "applicationId" : "2c91808874ff91550175097daaec161c\"" - }, - "months" : { - "accountMatchConfig" : { - "matchExpression" : { - "and" : true, - "matchTerms" : [ { - "name" : "", - "value" : "", - "container" : true, - "and" : false, - "children" : [ { - "name" : "businessCategory", - "value" : "Service", - "op" : "eq", - "container" : false, - "and" : false - } ] - } ] - } - }, - "applicationId" : "2c91808874ff91550175097daaec161c\"" - }, - "timeZoneId" : "America/Chicago", - "days" : { - "accountMatchConfig" : { - "matchExpression" : { - "and" : true, - "matchTerms" : [ { - "name" : "", - "value" : "", - "container" : true, - "and" : false, - "children" : [ { - "name" : "businessCategory", - "value" : "Service", - "op" : "eq", - "container" : false, - "and" : false - } ] - } ] - } - }, - "applicationId" : "2c91808874ff91550175097daaec161c\"" - }, - "expiration" : "2018-06-25T20:22:28.104Z", - "type" : "WEEKLY" - }, - "created" : "2020-01-01T00:00:00Z", - "recipients" : [ { - "name" : "Michael Michaels", - "id" : "2c7180a46faadee4016fb4e018c20642", - "type" : "IDENTITY" - }, { - "name" : "Michael Michaels", - "id" : "2c7180a46faadee4016fb4e018c20642", - "type" : "IDENTITY" - } ], - "name" : "SCH-1584312283015", - "creatorId" : "0f11f2a47c944bf3a2bd742580fe3bde", - "modifierId" : "0f11f2a47c944bf3a2bd742580fe3bde", - "modified" : "2020-01-01T00:00:00Z", - "description" : "Schedule for policy xyz", - "emailEmptyResults" : false - }''' # SodPolicySchedule | - try: - # Update SOD Policy schedule - new_sod_policy_schedule = SodPolicySchedule.from_json(sod_policy_schedule) - results = SODPoliciesApi(api_client).put_policy_schedule(id=id, sod_policy_schedule=new_sod_policy_schedule) - # Below is a request that includes all optional parameters - # results = SODPoliciesApi(api_client).put_policy_schedule(id, new_sod_policy_schedule) - print("The response of SODPoliciesApi->put_policy_schedule:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling SODPoliciesApi->put_policy_schedule: %s\n" % e) -- path: /sod-policies/{id} - method: PUT - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v2025/methods/sod-policies#put-sod-policy - source: | - from sailpoint.v2025.api.sod_policies_api import SODPoliciesApi - from sailpoint.v2025.api_client import ApiClient - from sailpoint.v2025.models.sod_policy import SodPolicy - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - id = 'ef38f943-47e9-4562-b5bb-8424a56397d8' # str | The ID of the SOD policy to update. # str | The ID of the SOD policy to update. - sod_policy = '''{ - "conflictingAccessCriteria" : { - "leftCriteria" : { - "name" : "money-in", - "criteriaList" : [ { - "type" : "ENTITLEMENT", - "id" : "2c9180866166b5b0016167c32ef31a66", - "name" : "Administrator" - }, { - "type" : "ENTITLEMENT", - "id" : "2c9180866166b5b0016167c32ef31a67", - "name" : "Administrator" - } ] - }, - "rightCriteria" : { - "name" : "money-in", - "criteriaList" : [ { - "type" : "ENTITLEMENT", - "id" : "2c9180866166b5b0016167c32ef31a66", - "name" : "Administrator" - }, { - "type" : "ENTITLEMENT", - "id" : "2c9180866166b5b0016167c32ef31a67", - "name" : "Administrator" - } ] - } - }, - "ownerRef" : { - "name" : "Support", - "id" : "2c9180a46faadee4016fb4e018c20639", - "type" : "IDENTITY" - }, - "created" : "2020-01-01T00:00:00Z", - "scheduled" : true, - "creatorId" : "0f11f2a4-7c94-4bf3-a2bd-742580fe3bde", - "modifierId" : "0f11f2a4-7c94-4bf3-a2bd-742580fe3bde", - "description" : "This policy ensures compliance of xyz", - "violationOwnerAssignmentConfig" : { - "assignmentRule" : "MANAGER", - "ownerRef" : { - "name" : "Support", - "id" : "2c9180a46faadee4016fb4e018c20639", - "type" : "IDENTITY" - } - }, - "correctionAdvice" : "Based on the role of the employee, managers should remove access that is not required for their job function.", - "type" : "GENERAL", - "tags" : [ "TAG1", "TAG2" ], - "name" : "policy-xyz", - "modified" : "2020-01-01T00:00:00Z", - "policyQuery" : "@access(id:0f11f2a4-7c94-4bf3-a2bd-742580fe3bdg) AND @access(id:0f11f2a4-7c94-4bf3-a2bd-742580fe3bdf)", - "compensatingControls" : "Have a manager review the transaction decisions for their \"out of compliance\" employee", - "id" : "0f11f2a4-7c94-4bf3-a2bd-742580fe3bde", - "state" : "ENFORCED", - "externalPolicyReference" : "XYZ policy" - }''' # SodPolicy | - try: - # Update SOD policy by ID - new_sod_policy = SodPolicy.from_json(sod_policy) - results = SODPoliciesApi(api_client).put_sod_policy(id=id, sod_policy=new_sod_policy) - # Below is a request that includes all optional parameters - # results = SODPoliciesApi(api_client).put_sod_policy(id, new_sod_policy) - print("The response of SODPoliciesApi->put_sod_policy:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling SODPoliciesApi->put_sod_policy: %s\n" % e) -- path: /sod-policies/{id}/evaluate - method: POST - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v2025/methods/sod-policies#start-evaluate-sod-policy - source: | - from sailpoint.v2025.api.sod_policies_api import SODPoliciesApi - from sailpoint.v2025.api_client import ApiClient - from sailpoint.v2025.models.report_result_reference import ReportResultReference - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - id = 'ef38f943-47e9-4562-b5bb-8424a56397d8' # str | The SOD policy ID to run. # str | The SOD policy ID to run. - try: - # Evaluate one policy by ID - - results = SODPoliciesApi(api_client).start_evaluate_sod_policy(id=id) - # Below is a request that includes all optional parameters - # results = SODPoliciesApi(api_client).start_evaluate_sod_policy(id) - print("The response of SODPoliciesApi->start_evaluate_sod_policy:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling SODPoliciesApi->start_evaluate_sod_policy: %s\n" % e) -- path: /sod-violation-report/run - method: POST - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v2025/methods/sod-policies#start-sod-all-policies-for-org - source: | - from sailpoint.v2025.api.sod_policies_api import SODPoliciesApi - from sailpoint.v2025.api_client import ApiClient - from sailpoint.v2025.models.multi_policy_request import MultiPolicyRequest - from sailpoint.v2025.models.report_result_reference import ReportResultReference - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - multi_policy_request = '''{ - "filteredPolicyList" : [ "[b868cd40-ffa4-4337-9c07-1a51846cfa94, 63a07a7b-39a4-48aa-956d-50c827deba2a]", "[b868cd40-ffa4-4337-9c07-1a51846cfa94, 63a07a7b-39a4-48aa-956d-50c827deba2a]" ] - }''' # MultiPolicyRequest | (optional) - try: - # Runs all policies for org - - results = SODPoliciesApi(api_client).start_sod_all_policies_for_org() - # Below is a request that includes all optional parameters - # results = SODPoliciesApi(api_client).start_sod_all_policies_for_org(new_multi_policy_request) - print("The response of SODPoliciesApi->start_sod_all_policies_for_org:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling SODPoliciesApi->start_sod_all_policies_for_org: %s\n" % e) -- path: /sod-policies/{id}/violation-report/run - method: POST - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v2025/methods/sod-policies#start-sod-policy - source: | - from sailpoint.v2025.api.sod_policies_api import SODPoliciesApi - from sailpoint.v2025.api_client import ApiClient - from sailpoint.v2025.models.report_result_reference import ReportResultReference - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - id = 'ef38f943-47e9-4562-b5bb-8424a56397d8' # str | The SOD policy ID to run. # str | The SOD policy ID to run. - try: - # Runs SOD policy violation report - - results = SODPoliciesApi(api_client).start_sod_policy(id=id) - # Below is a request that includes all optional parameters - # results = SODPoliciesApi(api_client).start_sod_policy(id) - print("The response of SODPoliciesApi->start_sod_policy:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling SODPoliciesApi->start_sod_policy: %s\n" % e) -- path: /sod-violations/predict - method: POST - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v2025/methods/sod-violations#start-predict-sod-violations - source: | - from sailpoint.v2025.api.sod_violations_api import SODViolationsApi - from sailpoint.v2025.api_client import ApiClient - from sailpoint.v2025.models.identity_with_new_access import IdentityWithNewAccess - from sailpoint.v2025.models.violation_prediction import ViolationPrediction - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - identity_with_new_access = '''{ - "identityId" : "2c91808568c529c60168cca6f90c1313", - "accessRefs" : [ { - "type" : "ENTITLEMENT", - "id" : "2c918087682f9a86016839c050861ab1", - "name" : "CN=Information Access,OU=test,OU=test-service,DC=TestAD,DC=local" - }, { - "type" : "ENTITLEMENT", - "id" : "2c918087682f9a86016839c0509c1ab2", - "name" : "CN=Information Technology,OU=test,OU=test-service,DC=TestAD,DC=local" - } ] - }''' # IdentityWithNewAccess | - try: - # Predict SOD violations for identity. - new_identity_with_new_access = IdentityWithNewAccess.from_json(identity_with_new_access) - results = SODViolationsApi(api_client).start_predict_sod_violations(identity_with_new_access=new_identity_with_new_access) - # Below is a request that includes all optional parameters - # results = SODViolationsApi(api_client).start_predict_sod_violations(new_identity_with_new_access) - print("The response of SODViolationsApi->start_predict_sod_violations:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling SODViolationsApi->start_predict_sod_violations: %s\n" % e) -- path: /sod-violations/check - method: POST - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v2025/methods/sod-violations#start-violation-check - source: | - from sailpoint.v2025.api.sod_violations_api import SODViolationsApi - from sailpoint.v2025.api_client import ApiClient - from sailpoint.v2025.models.identity_with_new_access1 import IdentityWithNewAccess1 - from sailpoint.v2025.models.sod_violation_check import SodViolationCheck - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - identity_with_new_access1 = '''{identityId=2c91808568c529c60168cca6f90c1313, accessRefs=[{type=ENTITLEMENT, id=2c918087682f9a86016839c050861ab1, name=CN=Information Access,OU=test,OU=test-service,DC=TestAD,DC=local}, {type=ENTITLEMENT, id=2c918087682f9a86016839c0509c1ab2, name=CN=Information Technology,OU=test,OU=test-service,DC=TestAD,DC=local}], clientMetadata={additionalProp1=string, additionalProp2=string, additionalProp3=string}}''' # IdentityWithNewAccess1 | - try: - # Check SOD violations - new_identity_with_new_access1 = IdentityWithNewAccess1.from_json(identity_with_new_access1) - results = SODViolationsApi(api_client).start_violation_check(identity_with_new_access1=new_identity_with_new_access1) - # Below is a request that includes all optional parameters - # results = SODViolationsApi(api_client).start_violation_check(new_identity_with_new_access1) - print("The response of SODViolationsApi->start_violation_check:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling SODViolationsApi->start_violation_check: %s\n" % e) -- path: /sp-config/export - method: POST - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v2025/methods/sp-config#export-sp-config - source: | - from sailpoint.v2025.api.sp_config_api import SPConfigApi - from sailpoint.v2025.api_client import ApiClient - from sailpoint.v2025.models.export_payload import ExportPayload - from sailpoint.v2025.models.sp_config_export_job import SpConfigExportJob - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - export_payload = '''{ - "description" : "Export Job 1 Test" - }''' # ExportPayload | Export options control what will be included in the export. - try: - # Initiates configuration objects export job - new_export_payload = ExportPayload.from_json(export_payload) - results = SPConfigApi(api_client).export_sp_config(export_payload=new_export_payload) - # Below is a request that includes all optional parameters - # results = SPConfigApi(api_client).export_sp_config(new_export_payload) - print("The response of SPConfigApi->export_sp_config:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling SPConfigApi->export_sp_config: %s\n" % e) -- path: /sp-config/export/{id}/download - method: GET - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v2025/methods/sp-config#get-sp-config-export - source: | - from sailpoint.v2025.api.sp_config_api import SPConfigApi - from sailpoint.v2025.api_client import ApiClient - from sailpoint.v2025.models.sp_config_export_results import SpConfigExportResults - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - id = 'ef38f94347e94562b5bb8424a56397d8' # str | The ID of the export job whose results will be downloaded. # str | The ID of the export job whose results will be downloaded. - try: - # Download export job result. - - results = SPConfigApi(api_client).get_sp_config_export(id=id) - # Below is a request that includes all optional parameters - # results = SPConfigApi(api_client).get_sp_config_export(id) - print("The response of SPConfigApi->get_sp_config_export:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling SPConfigApi->get_sp_config_export: %s\n" % e) -- path: /sp-config/export/{id} - method: GET - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v2025/methods/sp-config#get-sp-config-export-status - source: | - from sailpoint.v2025.api.sp_config_api import SPConfigApi - from sailpoint.v2025.api_client import ApiClient - from sailpoint.v2025.models.sp_config_export_job_status import SpConfigExportJobStatus - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - id = 'ef38f94347e94562b5bb8424a56397d8' # str | The ID of the export job whose status will be returned. # str | The ID of the export job whose status will be returned. - try: - # Get export job status - - results = SPConfigApi(api_client).get_sp_config_export_status(id=id) - # Below is a request that includes all optional parameters - # results = SPConfigApi(api_client).get_sp_config_export_status(id) - print("The response of SPConfigApi->get_sp_config_export_status:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling SPConfigApi->get_sp_config_export_status: %s\n" % e) -- path: /sp-config/import/{id}/download - method: GET - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v2025/methods/sp-config#get-sp-config-import - source: | - from sailpoint.v2025.api.sp_config_api import SPConfigApi - from sailpoint.v2025.api_client import ApiClient - from sailpoint.v2025.models.sp_config_import_results import SpConfigImportResults - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - id = 'ef38f94347e94562b5bb8424a56397d8' # str | The ID of the import job whose results will be downloaded. # str | The ID of the import job whose results will be downloaded. - try: - # Download import job result - - results = SPConfigApi(api_client).get_sp_config_import(id=id) - # Below is a request that includes all optional parameters - # results = SPConfigApi(api_client).get_sp_config_import(id) - print("The response of SPConfigApi->get_sp_config_import:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling SPConfigApi->get_sp_config_import: %s\n" % e) -- path: /sp-config/import/{id} - method: GET - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v2025/methods/sp-config#get-sp-config-import-status - source: | - from sailpoint.v2025.api.sp_config_api import SPConfigApi - from sailpoint.v2025.api_client import ApiClient - from sailpoint.v2025.models.sp_config_import_job_status import SpConfigImportJobStatus - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - id = 'ef38f94347e94562b5bb8424a56397d8' # str | The ID of the import job whose status will be returned. # str | The ID of the import job whose status will be returned. - try: - # Get import job status - - results = SPConfigApi(api_client).get_sp_config_import_status(id=id) - # Below is a request that includes all optional parameters - # results = SPConfigApi(api_client).get_sp_config_import_status(id) - print("The response of SPConfigApi->get_sp_config_import_status:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling SPConfigApi->get_sp_config_import_status: %s\n" % e) -- path: /sp-config/import - method: POST - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v2025/methods/sp-config#import-sp-config - source: | - from sailpoint.v2025.api.sp_config_api import SPConfigApi - from sailpoint.v2025.api_client import ApiClient - from sailpoint.v2025.models.import_options import ImportOptions - from sailpoint.v2025.models.sp_config_job import SpConfigJob - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - data = None # bytearray | JSON file containing the objects to be imported. # bytearray | JSON file containing the objects to be imported. - preview = False # bool | This option is intended to give the user information about how an import operation would proceed, without having any effect on the target tenant. If this parameter is \"true\", no objects will be imported. Instead, the import process will pre-process the import file and attempt to resolve references within imported objects. The import result file will contain messages pertaining to how specific references were resolved, any errors associated with the preprocessing, and messages indicating which objects would be imported. (optional) (default to False) # bool | This option is intended to give the user information about how an import operation would proceed, without having any effect on the target tenant. If this parameter is \"true\", no objects will be imported. Instead, the import process will pre-process the import file and attempt to resolve references within imported objects. The import result file will contain messages pertaining to how specific references were resolved, any errors associated with the preprocessing, and messages indicating which objects would be imported. (optional) (default to False) - options = '''sailpoint.v2025.ImportOptions()''' # ImportOptions | (optional) - try: - # Initiates configuration objects import job - - results = SPConfigApi(api_client).import_sp_config(data=data) - # Below is a request that includes all optional parameters - # results = SPConfigApi(api_client).import_sp_config(data, preview, options) - print("The response of SPConfigApi->import_sp_config:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling SPConfigApi->import_sp_config: %s\n" % e) -- path: /sp-config/config-objects - method: GET - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v2025/methods/sp-config#list-sp-config-objects - source: | - from sailpoint.v2025.api.sp_config_api import SPConfigApi - from sailpoint.v2025.api_client import ApiClient - from sailpoint.v2025.models.sp_config_object import SpConfigObject - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - try: - # List Config Objects - - results = SPConfigApi(api_client).list_sp_config_objects() - # Below is a request that includes all optional parameters - # results = SPConfigApi(api_client).list_sp_config_objects() - print("The response of SPConfigApi->list_sp_config_objects:\n") - for item in results: - print(item.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling SPConfigApi->list_sp_config_objects: %s\n" % e) - path: /saved-searches method: POST xCodeSample: @@ -17300,7 +16184,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -17333,7 +16217,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: name = 'newMailAttribute' # str | Name of the extended search attribute configuration to delete. # str | Name of the extended search attribute configuration to delete. @@ -17358,7 +16242,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -17387,7 +16271,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: name = 'newMailAttribute' # str | Name of the extended search attribute configuration to get. # str | Name of the extended search attribute configuration to get. @@ -17415,7 +16299,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: name = 'promotedMailAttribute' # str | Name of the search attribute configuration to patch. # str | Name of the search attribute configuration to patch. @@ -17903,61 +16787,941 @@ print(results.model_dump_json(by_alias=True, indent=4)) except Exception as e: print("Exception when calling ServiceDeskIntegrationApi->update_status_check_details: %s\n" % e) -- path: /source-usages/{sourceId}/status - method: GET +- path: /sim-integrations + method: POST xCodeSample: - lang: Python - label: SDK_tools/sdk/python/v2025/methods/source-usages#get-status-by-source-id + label: SDK_tools/sdk/python/v2025/methods/sim-integrations#create-sim-integration source: | - from sailpoint.v2025.api.source_usages_api import SourceUsagesApi + from sailpoint.v2025.api.sim_integrations_api import SIMIntegrationsApi from sailpoint.v2025.api_client import ApiClient - from sailpoint.v2025.models.source_usage_status import SourceUsageStatus + from sailpoint.v2025.models.service_desk_integration_dto import ServiceDeskIntegrationDto + from sailpoint.v2025.models.sim_integration_details import SimIntegrationDetails from sailpoint.configuration import Configuration configuration = Configuration() + configuration.experimental = True with ApiClient(configuration) as api_client: - source_id = '2c9180835d191a86015d28455b4a2329' # str | ID of IDN source # str | ID of IDN source + x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') + sim_integration_details = '''{ + "cluster" : "xyzzy999", + "statusMap" : "{closed_cancelled=Failed, closed_complete=Committed, closed_incomplete=Failed, closed_rejected=Failed, in_process=Queued, requested=Queued}", + "request" : "{description=SailPoint Access Request,, req_description=The Service Request created by SailPoint ServiceNow Service Integration Module (SIM).,, req_short_description=SailPoint New Access Request Created from IdentityNow,, short_description=SailPoint Access Request $!plan.arguments.identityRequestId}", + "sources" : [ "2c9180835d191a86015d28455b4a2329", "2c5680835d191a85765d28455b4a9823" ], + "created" : "2015-05-28T14:07:17Z", + "name" : "aName", + "modified" : "2015-05-28T14:07:17Z", + "description" : "Integration description", + "attributes" : "{\"uid\":\"Walter White\",\"firstname\":\"walter\",\"cloudStatus\":\"UNREGISTERED\",\"displayName\":\"Walter White\",\"identificationNumber\":\"942\",\"lastSyncDate\":1470348809380,\"email\":\"walter@gmail.com\",\"lastname\":\"white\"}", + "id" : "id12345", + "type" : "ServiceNow Service Desk", + "beforeProvisioningRule" : { + "name" : "Example Rule", + "id" : "2c918085708c274401708c2a8a760001", + "type" : "IDENTITY" + } + }''' # SimIntegrationDetails | DTO containing the details of the SIM integration try: - # Finds status of source usage - - results = SourceUsagesApi(api_client).get_status_by_source_id(source_id=source_id) + # Create new SIM integration + new_sim_integration_details = SimIntegrationDetails.from_json(sim_integration_details) + results = SIMIntegrationsApi(api_client).create_sim_integration(x_sail_point_experimental=x_sail_point_experimental, sim_integration_details=new_sim_integration_details) # Below is a request that includes all optional parameters - # results = SourceUsagesApi(api_client).get_status_by_source_id(source_id) - print("The response of SourceUsagesApi->get_status_by_source_id:\n") + # results = SIMIntegrationsApi(api_client).create_sim_integration(x_sail_point_experimental, new_sim_integration_details) + print("The response of SIMIntegrationsApi->create_sim_integration:\n") print(results.model_dump_json(by_alias=True, indent=4)) except Exception as e: - print("Exception when calling SourceUsagesApi->get_status_by_source_id: %s\n" % e) -- path: /source-usages/{sourceId}/summaries - method: GET + print("Exception when calling SIMIntegrationsApi->create_sim_integration: %s\n" % e) +- path: /sim-integrations/{id} + method: DELETE xCodeSample: - lang: Python - label: SDK_tools/sdk/python/v2025/methods/source-usages#get-usages-by-source-id + label: SDK_tools/sdk/python/v2025/methods/sim-integrations#delete-sim-integration source: | - from sailpoint.v2025.api.source_usages_api import SourceUsagesApi + from sailpoint.v2025.api.sim_integrations_api import SIMIntegrationsApi from sailpoint.v2025.api_client import ApiClient - from sailpoint.v2025.models.source_usage import SourceUsage from sailpoint.configuration import Configuration configuration = Configuration() + configuration.experimental = True with ApiClient(configuration) as api_client: - source_id = '2c9180835d191a86015d28455b4a2329' # str | ID of IDN source # str | ID of IDN source - 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) - offset = 0 # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) - count = False # bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to False) # bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to False) - sorters = '-date' # str | Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **date** (optional) # str | Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **date** (optional) + id = '12345' # str | The id of the integration to delete. # str | The id of the integration to delete. + x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') try: - # Returns source usage insights + # Delete a SIM integration - results = SourceUsagesApi(api_client).get_usages_by_source_id(source_id=source_id) + SIMIntegrationsApi(api_client).delete_sim_integration(id=id, x_sail_point_experimental=x_sail_point_experimental) # Below is a request that includes all optional parameters - # results = SourceUsagesApi(api_client).get_usages_by_source_id(source_id, limit, offset, count, sorters) - print("The response of SourceUsagesApi->get_usages_by_source_id:\n") + # SIMIntegrationsApi(api_client).delete_sim_integration(id, x_sail_point_experimental) + except Exception as e: + print("Exception when calling SIMIntegrationsApi->delete_sim_integration: %s\n" % e) +- path: /sim-integrations/{id} + method: GET + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v2025/methods/sim-integrations#get-sim-integration + source: | + from sailpoint.v2025.api.sim_integrations_api import SIMIntegrationsApi + from sailpoint.v2025.api_client import ApiClient + from sailpoint.v2025.models.service_desk_integration_dto import ServiceDeskIntegrationDto + from sailpoint.configuration import Configuration + configuration = Configuration() + + configuration.experimental = True + + with ApiClient(configuration) as api_client: + id = '12345' # str | The id of the integration. # str | The id of the integration. + x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') + try: + # Get a SIM integration details. + + results = SIMIntegrationsApi(api_client).get_sim_integration(id=id, x_sail_point_experimental=x_sail_point_experimental) + # Below is a request that includes all optional parameters + # results = SIMIntegrationsApi(api_client).get_sim_integration(id, x_sail_point_experimental) + print("The response of SIMIntegrationsApi->get_sim_integration:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling SIMIntegrationsApi->get_sim_integration: %s\n" % e) +- path: /sim-integrations + method: GET + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v2025/methods/sim-integrations#get-sim-integrations + source: | + from sailpoint.v2025.api.sim_integrations_api import SIMIntegrationsApi + from sailpoint.v2025.api_client import ApiClient + from sailpoint.v2025.models.service_desk_integration_dto import ServiceDeskIntegrationDto + from sailpoint.configuration import Configuration + configuration = Configuration() + + configuration.experimental = True + + with ApiClient(configuration) as api_client: + x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') + try: + # List the existing SIM integrations. + + results = SIMIntegrationsApi(api_client).get_sim_integrations(x_sail_point_experimental=x_sail_point_experimental) + # Below is a request that includes all optional parameters + # results = SIMIntegrationsApi(api_client).get_sim_integrations(x_sail_point_experimental) + print("The response of SIMIntegrationsApi->get_sim_integrations:\n") for item in results: print(item.model_dump_json(by_alias=True, indent=4)) except Exception as e: - print("Exception when calling SourceUsagesApi->get_usages_by_source_id: %s\n" % e) + print("Exception when calling SIMIntegrationsApi->get_sim_integrations: %s\n" % e) +- path: /sim-integrations/{id}/beforeProvisioningRule + method: PATCH + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v2025/methods/sim-integrations#patch-before-provisioning-rule + source: | + from sailpoint.v2025.api.sim_integrations_api import SIMIntegrationsApi + from sailpoint.v2025.api_client import ApiClient + from sailpoint.v2025.models.json_patch import JsonPatch + from sailpoint.v2025.models.service_desk_integration_dto import ServiceDeskIntegrationDto + from sailpoint.configuration import Configuration + configuration = Configuration() + + configuration.experimental = True + + with ApiClient(configuration) as api_client: + id = '12345' # str | SIM integration id # str | SIM integration id + x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') + json_patch = '''{ + "operations" : [ { + "op" : "replace", + "path" : "/description", + "value" : "New description" + }, { + "op" : "replace", + "path" : "/description", + "value" : "New description" + } ] + }''' # JsonPatch | The JsonPatch object that describes the changes of SIM beforeProvisioningRule. + try: + # Patch a SIM beforeProvisioningRule attribute. + new_json_patch = JsonPatch.from_json(json_patch) + results = SIMIntegrationsApi(api_client).patch_before_provisioning_rule(id=id, x_sail_point_experimental=x_sail_point_experimental, json_patch=new_json_patch) + # Below is a request that includes all optional parameters + # results = SIMIntegrationsApi(api_client).patch_before_provisioning_rule(id, x_sail_point_experimental, new_json_patch) + print("The response of SIMIntegrationsApi->patch_before_provisioning_rule:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling SIMIntegrationsApi->patch_before_provisioning_rule: %s\n" % e) +- path: /sim-integrations/{id} + method: PATCH + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v2025/methods/sim-integrations#patch-sim-attributes + source: | + from sailpoint.v2025.api.sim_integrations_api import SIMIntegrationsApi + from sailpoint.v2025.api_client import ApiClient + from sailpoint.v2025.models.json_patch import JsonPatch + from sailpoint.v2025.models.service_desk_integration_dto import ServiceDeskIntegrationDto + from sailpoint.configuration import Configuration + configuration = Configuration() + + configuration.experimental = True + + with ApiClient(configuration) as api_client: + id = '12345' # str | SIM integration id # str | SIM integration id + x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') + json_patch = '''{ + "operations" : [ { + "op" : "replace", + "path" : "/description", + "value" : "New description" + }, { + "op" : "replace", + "path" : "/description", + "value" : "New description" + } ] + }''' # JsonPatch | The JsonPatch object that describes the changes of SIM + try: + # Patch a SIM attribute. + new_json_patch = JsonPatch.from_json(json_patch) + results = SIMIntegrationsApi(api_client).patch_sim_attributes(id=id, x_sail_point_experimental=x_sail_point_experimental, json_patch=new_json_patch) + # Below is a request that includes all optional parameters + # results = SIMIntegrationsApi(api_client).patch_sim_attributes(id, x_sail_point_experimental, new_json_patch) + print("The response of SIMIntegrationsApi->patch_sim_attributes:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling SIMIntegrationsApi->patch_sim_attributes: %s\n" % e) +- path: /sim-integrations/{id} + method: PUT + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v2025/methods/sim-integrations#put-sim-integration + source: | + from sailpoint.v2025.api.sim_integrations_api import SIMIntegrationsApi + from sailpoint.v2025.api_client import ApiClient + from sailpoint.v2025.models.service_desk_integration_dto import ServiceDeskIntegrationDto + from sailpoint.v2025.models.sim_integration_details import SimIntegrationDetails + from sailpoint.configuration import Configuration + configuration = Configuration() + + configuration.experimental = True + + with ApiClient(configuration) as api_client: + id = '12345' # str | The id of the integration. # str | The id of the integration. + x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') + sim_integration_details = '''{ + "cluster" : "xyzzy999", + "statusMap" : "{closed_cancelled=Failed, closed_complete=Committed, closed_incomplete=Failed, closed_rejected=Failed, in_process=Queued, requested=Queued}", + "request" : "{description=SailPoint Access Request,, req_description=The Service Request created by SailPoint ServiceNow Service Integration Module (SIM).,, req_short_description=SailPoint New Access Request Created from IdentityNow,, short_description=SailPoint Access Request $!plan.arguments.identityRequestId}", + "sources" : [ "2c9180835d191a86015d28455b4a2329", "2c5680835d191a85765d28455b4a9823" ], + "created" : "2015-05-28T14:07:17Z", + "name" : "aName", + "modified" : "2015-05-28T14:07:17Z", + "description" : "Integration description", + "attributes" : "{\"uid\":\"Walter White\",\"firstname\":\"walter\",\"cloudStatus\":\"UNREGISTERED\",\"displayName\":\"Walter White\",\"identificationNumber\":\"942\",\"lastSyncDate\":1470348809380,\"email\":\"walter@gmail.com\",\"lastname\":\"white\"}", + "id" : "id12345", + "type" : "ServiceNow Service Desk", + "beforeProvisioningRule" : { + "name" : "Example Rule", + "id" : "2c918085708c274401708c2a8a760001", + "type" : "IDENTITY" + } + }''' # SimIntegrationDetails | The full DTO of the integration containing the updated model + try: + # Update an existing SIM integration + new_sim_integration_details = SimIntegrationDetails.from_json(sim_integration_details) + results = SIMIntegrationsApi(api_client).put_sim_integration(id=id, x_sail_point_experimental=x_sail_point_experimental, sim_integration_details=new_sim_integration_details) + # Below is a request that includes all optional parameters + # results = SIMIntegrationsApi(api_client).put_sim_integration(id, x_sail_point_experimental, new_sim_integration_details) + print("The response of SIMIntegrationsApi->put_sim_integration:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling SIMIntegrationsApi->put_sim_integration: %s\n" % e) +- path: /sod-policies + method: POST + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v2025/methods/sod-policies#create-sod-policy + source: | + from sailpoint.v2025.api.sod_policies_api import SODPoliciesApi + from sailpoint.v2025.api_client import ApiClient + from sailpoint.v2025.models.sod_policy import SodPolicy + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + sod_policy = '''{ + "conflictingAccessCriteria" : { + "leftCriteria" : { + "name" : "money-in", + "criteriaList" : [ { + "type" : "ENTITLEMENT", + "id" : "2c9180866166b5b0016167c32ef31a66", + "name" : "Administrator" + }, { + "type" : "ENTITLEMENT", + "id" : "2c9180866166b5b0016167c32ef31a67", + "name" : "Administrator" + } ] + }, + "rightCriteria" : { + "name" : "money-in", + "criteriaList" : [ { + "type" : "ENTITLEMENT", + "id" : "2c9180866166b5b0016167c32ef31a66", + "name" : "Administrator" + }, { + "type" : "ENTITLEMENT", + "id" : "2c9180866166b5b0016167c32ef31a67", + "name" : "Administrator" + } ] + } + }, + "ownerRef" : { + "name" : "Support", + "id" : "2c9180a46faadee4016fb4e018c20639", + "type" : "IDENTITY" + }, + "created" : "2020-01-01T00:00:00Z", + "scheduled" : true, + "creatorId" : "0f11f2a4-7c94-4bf3-a2bd-742580fe3bde", + "modifierId" : "0f11f2a4-7c94-4bf3-a2bd-742580fe3bde", + "description" : "This policy ensures compliance of xyz", + "violationOwnerAssignmentConfig" : { + "assignmentRule" : "MANAGER", + "ownerRef" : { + "name" : "Support", + "id" : "2c9180a46faadee4016fb4e018c20639", + "type" : "IDENTITY" + } + }, + "correctionAdvice" : "Based on the role of the employee, managers should remove access that is not required for their job function.", + "type" : "GENERAL", + "tags" : [ "TAG1", "TAG2" ], + "name" : "policy-xyz", + "modified" : "2020-01-01T00:00:00Z", + "policyQuery" : "@access(id:0f11f2a4-7c94-4bf3-a2bd-742580fe3bdg) AND @access(id:0f11f2a4-7c94-4bf3-a2bd-742580fe3bdf)", + "compensatingControls" : "Have a manager review the transaction decisions for their \"out of compliance\" employee", + "id" : "0f11f2a4-7c94-4bf3-a2bd-742580fe3bde", + "state" : "ENFORCED", + "externalPolicyReference" : "XYZ policy" + }''' # SodPolicy | + try: + # Create SOD policy + new_sod_policy = SodPolicy.from_json(sod_policy) + results = SODPoliciesApi(api_client).create_sod_policy(sod_policy=new_sod_policy) + # Below is a request that includes all optional parameters + # results = SODPoliciesApi(api_client).create_sod_policy(new_sod_policy) + print("The response of SODPoliciesApi->create_sod_policy:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling SODPoliciesApi->create_sod_policy: %s\n" % e) +- path: /sod-policies/{id} + method: DELETE + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v2025/methods/sod-policies#delete-sod-policy + source: | + from sailpoint.v2025.api.sod_policies_api import SODPoliciesApi + from sailpoint.v2025.api_client import ApiClient + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + id = 'ef38f943-47e9-4562-b5bb-8424a56397d8' # str | The ID of the SOD Policy to delete. # str | The ID of the SOD Policy to delete. + logical = True # bool | Indicates whether this is a soft delete (logical true) or a hard delete. Soft delete marks the policy as deleted and just save it with this status. It could be fully deleted or recovered further. Hard delete vise versa permanently delete SOD request during this call. (optional) (default to True) # bool | Indicates whether this is a soft delete (logical true) or a hard delete. Soft delete marks the policy as deleted and just save it with this status. It could be fully deleted or recovered further. Hard delete vise versa permanently delete SOD request during this call. (optional) (default to True) + try: + # Delete SOD policy by ID + + SODPoliciesApi(api_client).delete_sod_policy(id=id) + # Below is a request that includes all optional parameters + # SODPoliciesApi(api_client).delete_sod_policy(id, logical) + except Exception as e: + print("Exception when calling SODPoliciesApi->delete_sod_policy: %s\n" % e) +- path: /sod-policies/{id}/schedule + method: DELETE + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v2025/methods/sod-policies#delete-sod-policy-schedule + source: | + from sailpoint.v2025.api.sod_policies_api import SODPoliciesApi + from sailpoint.v2025.api_client import ApiClient + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + id = 'ef38f943-47e9-4562-b5bb-8424a56397d8' # str | The ID of the SOD policy the schedule must be deleted for. # str | The ID of the SOD policy the schedule must be deleted for. + try: + # Delete SOD policy schedule + + SODPoliciesApi(api_client).delete_sod_policy_schedule(id=id) + # Below is a request that includes all optional parameters + # SODPoliciesApi(api_client).delete_sod_policy_schedule(id) + except Exception as e: + print("Exception when calling SODPoliciesApi->delete_sod_policy_schedule: %s\n" % e) +- path: /sod-violation-report/{reportResultId}/download/{fileName} + method: GET + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v2025/methods/sod-policies#get-custom-violation-report + source: | + from sailpoint.v2025.api.sod_policies_api import SODPoliciesApi + from sailpoint.v2025.api_client import ApiClient + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + report_result_id = 'ef38f94347e94562b5bb8424a56397d8' # str | The ID of the report reference to download. # str | The ID of the report reference to download. + file_name = 'custom-name' # str | Custom Name for the file. # str | Custom Name for the file. + try: + # Download custom violation report + + results = SODPoliciesApi(api_client).get_custom_violation_report(report_result_id=report_result_id, file_name=file_name) + # Below is a request that includes all optional parameters + # results = SODPoliciesApi(api_client).get_custom_violation_report(report_result_id, file_name) + print("The response of SODPoliciesApi->get_custom_violation_report:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling SODPoliciesApi->get_custom_violation_report: %s\n" % e) +- path: /sod-violation-report/{reportResultId}/download + method: GET + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v2025/methods/sod-policies#get-default-violation-report + source: | + from sailpoint.v2025.api.sod_policies_api import SODPoliciesApi + from sailpoint.v2025.api_client import ApiClient + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + report_result_id = 'ef38f94347e94562b5bb8424a56397d8' # str | The ID of the report reference to download. # str | The ID of the report reference to download. + try: + # Download violation report + + results = SODPoliciesApi(api_client).get_default_violation_report(report_result_id=report_result_id) + # Below is a request that includes all optional parameters + # results = SODPoliciesApi(api_client).get_default_violation_report(report_result_id) + print("The response of SODPoliciesApi->get_default_violation_report:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling SODPoliciesApi->get_default_violation_report: %s\n" % e) +- path: /sod-violation-report + method: GET + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v2025/methods/sod-policies#get-sod-all-report-run-status + source: | + from sailpoint.v2025.api.sod_policies_api import SODPoliciesApi + from sailpoint.v2025.api_client import ApiClient + from sailpoint.v2025.models.report_result_reference import ReportResultReference + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + try: + # Get multi-report run task status + + results = SODPoliciesApi(api_client).get_sod_all_report_run_status() + # Below is a request that includes all optional parameters + # results = SODPoliciesApi(api_client).get_sod_all_report_run_status() + print("The response of SODPoliciesApi->get_sod_all_report_run_status:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling SODPoliciesApi->get_sod_all_report_run_status: %s\n" % e) +- path: /sod-policies/{id} + method: GET + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v2025/methods/sod-policies#get-sod-policy + source: | + from sailpoint.v2025.api.sod_policies_api import SODPoliciesApi + from sailpoint.v2025.api_client import ApiClient + from sailpoint.v2025.models.sod_policy import SodPolicy + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + id = 'ef38f943-47e9-4562-b5bb-8424a56397d8' # str | The ID of the SOD Policy to retrieve. # str | The ID of the SOD Policy to retrieve. + try: + # Get SOD policy by ID + + results = SODPoliciesApi(api_client).get_sod_policy(id=id) + # Below is a request that includes all optional parameters + # results = SODPoliciesApi(api_client).get_sod_policy(id) + print("The response of SODPoliciesApi->get_sod_policy:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling SODPoliciesApi->get_sod_policy: %s\n" % e) +- path: /sod-policies/{id}/schedule + method: GET + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v2025/methods/sod-policies#get-sod-policy-schedule + source: | + from sailpoint.v2025.api.sod_policies_api import SODPoliciesApi + from sailpoint.v2025.api_client import ApiClient + from sailpoint.v2025.models.sod_policy_schedule import SodPolicySchedule + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + id = 'ef38f943-47e9-4562-b5bb-8424a56397d8' # str | The ID of the SOD policy schedule to retrieve. # str | The ID of the SOD policy schedule to retrieve. + try: + # Get SOD policy schedule + + results = SODPoliciesApi(api_client).get_sod_policy_schedule(id=id) + # Below is a request that includes all optional parameters + # results = SODPoliciesApi(api_client).get_sod_policy_schedule(id) + print("The response of SODPoliciesApi->get_sod_policy_schedule:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling SODPoliciesApi->get_sod_policy_schedule: %s\n" % e) +- path: /sod-policies/sod-violation-report-status/{reportResultId} + method: GET + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v2025/methods/sod-policies#get-sod-violation-report-run-status + source: | + from sailpoint.v2025.api.sod_policies_api import SODPoliciesApi + from sailpoint.v2025.api_client import ApiClient + from sailpoint.v2025.models.report_result_reference import ReportResultReference + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + report_result_id = '2e8d8180-24bc-4d21-91c6-7affdb473b0d' # str | The ID of the report reference to retrieve. # str | The ID of the report reference to retrieve. + try: + # Get violation report run status + + results = SODPoliciesApi(api_client).get_sod_violation_report_run_status(report_result_id=report_result_id) + # Below is a request that includes all optional parameters + # results = SODPoliciesApi(api_client).get_sod_violation_report_run_status(report_result_id) + print("The response of SODPoliciesApi->get_sod_violation_report_run_status:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling SODPoliciesApi->get_sod_violation_report_run_status: %s\n" % e) +- path: /sod-policies/{id}/violation-report + method: GET + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v2025/methods/sod-policies#get-sod-violation-report-status + source: | + from sailpoint.v2025.api.sod_policies_api import SODPoliciesApi + from sailpoint.v2025.api_client import ApiClient + from sailpoint.v2025.models.report_result_reference import ReportResultReference + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + id = 'ef38f943-47e9-4562-b5bb-8424a56397d8' # str | The ID of the violation report to retrieve status for. # str | The ID of the violation report to retrieve status for. + try: + # Get SOD violation report status + + results = SODPoliciesApi(api_client).get_sod_violation_report_status(id=id) + # Below is a request that includes all optional parameters + # results = SODPoliciesApi(api_client).get_sod_violation_report_status(id) + print("The response of SODPoliciesApi->get_sod_violation_report_status:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling SODPoliciesApi->get_sod_violation_report_status: %s\n" % e) +- path: /sod-policies + method: GET + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v2025/methods/sod-policies#list-sod-policies + source: | + from sailpoint.v2025.api.sod_policies_api import SODPoliciesApi + from sailpoint.v2025.api_client import ApiClient + from sailpoint.v2025.models.sod_policy import SodPolicy + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + 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) + offset = 0 # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) + count = False # bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to False) # bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to False) + filters = 'id eq \"bc693f07e7b645539626c25954c58554\"' # str | Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **id**: *eq, in* **name**: *eq, in* **state**: *eq, in* (optional) # str | Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **id**: *eq, in* **name**: *eq, in* **state**: *eq, in* (optional) + sorters = 'id,name' # str | Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **id, name, created, modified, description** (optional) # str | Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **id, name, created, modified, description** (optional) + try: + # List SOD policies + + results = SODPoliciesApi(api_client).list_sod_policies() + # Below is a request that includes all optional parameters + # results = SODPoliciesApi(api_client).list_sod_policies(limit, offset, count, filters, sorters) + print("The response of SODPoliciesApi->list_sod_policies:\n") + for item in results: + print(item.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling SODPoliciesApi->list_sod_policies: %s\n" % e) +- path: /sod-policies/{id} + method: PATCH + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v2025/methods/sod-policies#patch-sod-policy + source: | + from sailpoint.v2025.api.sod_policies_api import SODPoliciesApi + from sailpoint.v2025.api_client import ApiClient + from sailpoint.v2025.models.json_patch_operation import JsonPatchOperation + from sailpoint.v2025.models.sod_policy import SodPolicy + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + id = '2c918083-5d19-1a86-015d-28455b4a2329' # str | The ID of the SOD policy being modified. # str | The ID of the SOD policy being modified. + json_patch_operation = '''[{op=replace, path=/description, value=Modified description}, {op=replace, path=/conflictingAccessCriteria/leftCriteria/name, value=money-in-modified}, {op=replace, path=/conflictingAccessCriteria/rightCriteria, value={name=money-out-modified, criteriaList=[{type=ENTITLEMENT, id=2c918087682f9a86016839c0509c1ab2}]}}]''' # List[JsonPatchOperation] | A list of SOD Policy update operations according to the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard. The following fields are patchable: * name * description * ownerRef * externalPolicyReference * compensatingControls * correctionAdvice * state * tags * violationOwnerAssignmentConfig * scheduled * conflictingAccessCriteria + try: + # Patch SOD policy by ID + new_json_patch_operation = JsonPatchOperation.from_json(json_patch_operation) + results = SODPoliciesApi(api_client).patch_sod_policy(id=id, json_patch_operation=new_json_patch_operation) + # Below is a request that includes all optional parameters + # results = SODPoliciesApi(api_client).patch_sod_policy(id, new_json_patch_operation) + print("The response of SODPoliciesApi->patch_sod_policy:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling SODPoliciesApi->patch_sod_policy: %s\n" % e) +- path: /sod-policies/{id}/schedule + method: PUT + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v2025/methods/sod-policies#put-policy-schedule + source: | + from sailpoint.v2025.api.sod_policies_api import SODPoliciesApi + from sailpoint.v2025.api_client import ApiClient + from sailpoint.v2025.models.sod_policy_schedule import SodPolicySchedule + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + id = 'ef38f943-47e9-4562-b5bb-8424a56397d8' # str | The ID of the SOD policy to update its schedule. # str | The ID of the SOD policy to update its schedule. + sod_policy_schedule = '''{ + "schedule" : { + "hours" : { + "accountMatchConfig" : { + "matchExpression" : { + "and" : true, + "matchTerms" : [ { + "name" : "", + "value" : "", + "container" : true, + "and" : false, + "children" : [ { + "name" : "businessCategory", + "value" : "Service", + "op" : "eq", + "container" : false, + "and" : false + } ] + } ] + } + }, + "applicationId" : "2c91808874ff91550175097daaec161c\"" + }, + "months" : { + "accountMatchConfig" : { + "matchExpression" : { + "and" : true, + "matchTerms" : [ { + "name" : "", + "value" : "", + "container" : true, + "and" : false, + "children" : [ { + "name" : "businessCategory", + "value" : "Service", + "op" : "eq", + "container" : false, + "and" : false + } ] + } ] + } + }, + "applicationId" : "2c91808874ff91550175097daaec161c\"" + }, + "timeZoneId" : "America/Chicago", + "days" : { + "accountMatchConfig" : { + "matchExpression" : { + "and" : true, + "matchTerms" : [ { + "name" : "", + "value" : "", + "container" : true, + "and" : false, + "children" : [ { + "name" : "businessCategory", + "value" : "Service", + "op" : "eq", + "container" : false, + "and" : false + } ] + } ] + } + }, + "applicationId" : "2c91808874ff91550175097daaec161c\"" + }, + "expiration" : "2018-06-25T20:22:28.104Z", + "type" : "WEEKLY" + }, + "created" : "2020-01-01T00:00:00Z", + "recipients" : [ { + "name" : "Michael Michaels", + "id" : "2c7180a46faadee4016fb4e018c20642", + "type" : "IDENTITY" + }, { + "name" : "Michael Michaels", + "id" : "2c7180a46faadee4016fb4e018c20642", + "type" : "IDENTITY" + } ], + "name" : "SCH-1584312283015", + "creatorId" : "0f11f2a47c944bf3a2bd742580fe3bde", + "modifierId" : "0f11f2a47c944bf3a2bd742580fe3bde", + "modified" : "2020-01-01T00:00:00Z", + "description" : "Schedule for policy xyz", + "emailEmptyResults" : false + }''' # SodPolicySchedule | + try: + # Update SOD Policy schedule + new_sod_policy_schedule = SodPolicySchedule.from_json(sod_policy_schedule) + results = SODPoliciesApi(api_client).put_policy_schedule(id=id, sod_policy_schedule=new_sod_policy_schedule) + # Below is a request that includes all optional parameters + # results = SODPoliciesApi(api_client).put_policy_schedule(id, new_sod_policy_schedule) + print("The response of SODPoliciesApi->put_policy_schedule:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling SODPoliciesApi->put_policy_schedule: %s\n" % e) +- path: /sod-policies/{id} + method: PUT + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v2025/methods/sod-policies#put-sod-policy + source: | + from sailpoint.v2025.api.sod_policies_api import SODPoliciesApi + from sailpoint.v2025.api_client import ApiClient + from sailpoint.v2025.models.sod_policy import SodPolicy + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + id = 'ef38f943-47e9-4562-b5bb-8424a56397d8' # str | The ID of the SOD policy to update. # str | The ID of the SOD policy to update. + sod_policy = '''{ + "conflictingAccessCriteria" : { + "leftCriteria" : { + "name" : "money-in", + "criteriaList" : [ { + "type" : "ENTITLEMENT", + "id" : "2c9180866166b5b0016167c32ef31a66", + "name" : "Administrator" + }, { + "type" : "ENTITLEMENT", + "id" : "2c9180866166b5b0016167c32ef31a67", + "name" : "Administrator" + } ] + }, + "rightCriteria" : { + "name" : "money-in", + "criteriaList" : [ { + "type" : "ENTITLEMENT", + "id" : "2c9180866166b5b0016167c32ef31a66", + "name" : "Administrator" + }, { + "type" : "ENTITLEMENT", + "id" : "2c9180866166b5b0016167c32ef31a67", + "name" : "Administrator" + } ] + } + }, + "ownerRef" : { + "name" : "Support", + "id" : "2c9180a46faadee4016fb4e018c20639", + "type" : "IDENTITY" + }, + "created" : "2020-01-01T00:00:00Z", + "scheduled" : true, + "creatorId" : "0f11f2a4-7c94-4bf3-a2bd-742580fe3bde", + "modifierId" : "0f11f2a4-7c94-4bf3-a2bd-742580fe3bde", + "description" : "This policy ensures compliance of xyz", + "violationOwnerAssignmentConfig" : { + "assignmentRule" : "MANAGER", + "ownerRef" : { + "name" : "Support", + "id" : "2c9180a46faadee4016fb4e018c20639", + "type" : "IDENTITY" + } + }, + "correctionAdvice" : "Based on the role of the employee, managers should remove access that is not required for their job function.", + "type" : "GENERAL", + "tags" : [ "TAG1", "TAG2" ], + "name" : "policy-xyz", + "modified" : "2020-01-01T00:00:00Z", + "policyQuery" : "@access(id:0f11f2a4-7c94-4bf3-a2bd-742580fe3bdg) AND @access(id:0f11f2a4-7c94-4bf3-a2bd-742580fe3bdf)", + "compensatingControls" : "Have a manager review the transaction decisions for their \"out of compliance\" employee", + "id" : "0f11f2a4-7c94-4bf3-a2bd-742580fe3bde", + "state" : "ENFORCED", + "externalPolicyReference" : "XYZ policy" + }''' # SodPolicy | + try: + # Update SOD policy by ID + new_sod_policy = SodPolicy.from_json(sod_policy) + results = SODPoliciesApi(api_client).put_sod_policy(id=id, sod_policy=new_sod_policy) + # Below is a request that includes all optional parameters + # results = SODPoliciesApi(api_client).put_sod_policy(id, new_sod_policy) + print("The response of SODPoliciesApi->put_sod_policy:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling SODPoliciesApi->put_sod_policy: %s\n" % e) +- path: /sod-policies/{id}/evaluate + method: POST + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v2025/methods/sod-policies#start-evaluate-sod-policy + source: | + from sailpoint.v2025.api.sod_policies_api import SODPoliciesApi + from sailpoint.v2025.api_client import ApiClient + from sailpoint.v2025.models.report_result_reference import ReportResultReference + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + id = 'ef38f943-47e9-4562-b5bb-8424a56397d8' # str | The SOD policy ID to run. # str | The SOD policy ID to run. + try: + # Evaluate one policy by ID + + results = SODPoliciesApi(api_client).start_evaluate_sod_policy(id=id) + # Below is a request that includes all optional parameters + # results = SODPoliciesApi(api_client).start_evaluate_sod_policy(id) + print("The response of SODPoliciesApi->start_evaluate_sod_policy:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling SODPoliciesApi->start_evaluate_sod_policy: %s\n" % e) +- path: /sod-violation-report/run + method: POST + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v2025/methods/sod-policies#start-sod-all-policies-for-org + source: | + from sailpoint.v2025.api.sod_policies_api import SODPoliciesApi + from sailpoint.v2025.api_client import ApiClient + from sailpoint.v2025.models.multi_policy_request import MultiPolicyRequest + from sailpoint.v2025.models.report_result_reference import ReportResultReference + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + multi_policy_request = '''{ + "filteredPolicyList" : [ "[b868cd40-ffa4-4337-9c07-1a51846cfa94, 63a07a7b-39a4-48aa-956d-50c827deba2a]", "[b868cd40-ffa4-4337-9c07-1a51846cfa94, 63a07a7b-39a4-48aa-956d-50c827deba2a]" ] + }''' # MultiPolicyRequest | (optional) + try: + # Runs all policies for org + + results = SODPoliciesApi(api_client).start_sod_all_policies_for_org() + # Below is a request that includes all optional parameters + # results = SODPoliciesApi(api_client).start_sod_all_policies_for_org(new_multi_policy_request) + print("The response of SODPoliciesApi->start_sod_all_policies_for_org:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling SODPoliciesApi->start_sod_all_policies_for_org: %s\n" % e) +- path: /sod-policies/{id}/violation-report/run + method: POST + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v2025/methods/sod-policies#start-sod-policy + source: | + from sailpoint.v2025.api.sod_policies_api import SODPoliciesApi + from sailpoint.v2025.api_client import ApiClient + from sailpoint.v2025.models.report_result_reference import ReportResultReference + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + id = 'ef38f943-47e9-4562-b5bb-8424a56397d8' # str | The SOD policy ID to run. # str | The SOD policy ID to run. + try: + # Runs SOD policy violation report + + results = SODPoliciesApi(api_client).start_sod_policy(id=id) + # Below is a request that includes all optional parameters + # results = SODPoliciesApi(api_client).start_sod_policy(id) + print("The response of SODPoliciesApi->start_sod_policy:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling SODPoliciesApi->start_sod_policy: %s\n" % e) +- path: /sod-violations/predict + method: POST + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v2025/methods/sod-violations#start-predict-sod-violations + source: | + from sailpoint.v2025.api.sod_violations_api import SODViolationsApi + from sailpoint.v2025.api_client import ApiClient + from sailpoint.v2025.models.identity_with_new_access import IdentityWithNewAccess + from sailpoint.v2025.models.violation_prediction import ViolationPrediction + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + identity_with_new_access = '''{ + "identityId" : "2c91808568c529c60168cca6f90c1313", + "accessRefs" : [ { + "type" : "ENTITLEMENT", + "id" : "2c918087682f9a86016839c050861ab1", + "name" : "CN=Information Access,OU=test,OU=test-service,DC=TestAD,DC=local" + }, { + "type" : "ENTITLEMENT", + "id" : "2c918087682f9a86016839c0509c1ab2", + "name" : "CN=Information Technology,OU=test,OU=test-service,DC=TestAD,DC=local" + } ] + }''' # IdentityWithNewAccess | + try: + # Predict SOD violations for identity. + new_identity_with_new_access = IdentityWithNewAccess.from_json(identity_with_new_access) + results = SODViolationsApi(api_client).start_predict_sod_violations(identity_with_new_access=new_identity_with_new_access) + # Below is a request that includes all optional parameters + # results = SODViolationsApi(api_client).start_predict_sod_violations(new_identity_with_new_access) + print("The response of SODViolationsApi->start_predict_sod_violations:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling SODViolationsApi->start_predict_sod_violations: %s\n" % e) +- path: /sod-violations/check + method: POST + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v2025/methods/sod-violations#start-violation-check + source: | + from sailpoint.v2025.api.sod_violations_api import SODViolationsApi + from sailpoint.v2025.api_client import ApiClient + from sailpoint.v2025.models.identity_with_new_access1 import IdentityWithNewAccess1 + from sailpoint.v2025.models.sod_violation_check import SodViolationCheck + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + identity_with_new_access1 = '''{identityId=2c91808568c529c60168cca6f90c1313, accessRefs=[{type=ENTITLEMENT, id=2c918087682f9a86016839c050861ab1, name=CN=Information Access,OU=test,OU=test-service,DC=TestAD,DC=local}, {type=ENTITLEMENT, id=2c918087682f9a86016839c0509c1ab2, name=CN=Information Technology,OU=test,OU=test-service,DC=TestAD,DC=local}], clientMetadata={additionalProp1=string, additionalProp2=string, additionalProp3=string}}''' # IdentityWithNewAccess1 | + try: + # Check SOD violations + new_identity_with_new_access1 = IdentityWithNewAccess1.from_json(identity_with_new_access1) + results = SODViolationsApi(api_client).start_violation_check(identity_with_new_access1=new_identity_with_new_access1) + # Below is a request that includes all optional parameters + # results = SODViolationsApi(api_client).start_violation_check(new_identity_with_new_access1) + print("The response of SODViolationsApi->start_violation_check:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling SODViolationsApi->start_violation_check: %s\n" % e) - path: /sources/{sourceId}/provisioning-policies method: POST xCodeSample: @@ -18195,7 +17959,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: id = 'ebbf35756e1140699ce52b233121384a' # str | The source id # str | The source id @@ -18221,7 +17985,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: id = '2c9180835d191a86015d28455b4a2329' # str | The source id # str | The source id @@ -18411,7 +18175,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: id = '2c9180835d191a86015d28455b4a2329' # str | The source id # str | The source id @@ -18490,7 +18254,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: id = '2c9180835d191a86015d28455b4a2329' # str | The source id # str | The source id @@ -18568,7 +18332,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -18725,7 +18489,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: id = 'ef38f94347e94562b5bb8424a56397d8' # str | Source Id # str | Source Id @@ -18833,7 +18597,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: id = '75dbec1ebe154d5785da27b95e1dd5d7' # str | Source Id # str | Source Id @@ -18990,7 +18754,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: id = '2c9180835d191a86015d28455b4a2329' # str | The source id # str | The source id @@ -19200,7 +18964,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: id = '2c9180835d191a86015d28455b4a2329' # str | The source id # str | The source id @@ -19302,7 +19066,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: id = 'id_example' # str | The Source id # str | The Source id @@ -19489,7 +19253,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -19572,6 +19336,242 @@ print(results.model_dump_json(by_alias=True, indent=4)) except Exception as e: print("Exception when calling SourcesApi->update_source_schema: %s\n" % e) +- path: /source-usages/{sourceId}/status + method: GET + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v2025/methods/source-usages#get-status-by-source-id + source: | + from sailpoint.v2025.api.source_usages_api import SourceUsagesApi + from sailpoint.v2025.api_client import ApiClient + from sailpoint.v2025.models.source_usage_status import SourceUsageStatus + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + source_id = '2c9180835d191a86015d28455b4a2329' # str | ID of IDN source # str | ID of IDN source + try: + # Finds status of source usage + + results = SourceUsagesApi(api_client).get_status_by_source_id(source_id=source_id) + # Below is a request that includes all optional parameters + # results = SourceUsagesApi(api_client).get_status_by_source_id(source_id) + print("The response of SourceUsagesApi->get_status_by_source_id:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling SourceUsagesApi->get_status_by_source_id: %s\n" % e) +- path: /source-usages/{sourceId}/summaries + method: GET + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v2025/methods/source-usages#get-usages-by-source-id + source: | + from sailpoint.v2025.api.source_usages_api import SourceUsagesApi + from sailpoint.v2025.api_client import ApiClient + from sailpoint.v2025.models.source_usage import SourceUsage + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + source_id = '2c9180835d191a86015d28455b4a2329' # str | ID of IDN source # str | ID of IDN source + 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) + offset = 0 # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) + count = False # bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to False) # bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to False) + sorters = '-date' # str | Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **date** (optional) # str | Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **date** (optional) + try: + # Returns source usage insights + + results = SourceUsagesApi(api_client).get_usages_by_source_id(source_id=source_id) + # Below is a request that includes all optional parameters + # results = SourceUsagesApi(api_client).get_usages_by_source_id(source_id, limit, offset, count, sorters) + print("The response of SourceUsagesApi->get_usages_by_source_id:\n") + for item in results: + print(item.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling SourceUsagesApi->get_usages_by_source_id: %s\n" % e) +- path: /sp-config/export + method: POST + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v2025/methods/sp-config#export-sp-config + source: | + from sailpoint.v2025.api.sp_config_api import SPConfigApi + from sailpoint.v2025.api_client import ApiClient + from sailpoint.v2025.models.export_payload import ExportPayload + from sailpoint.v2025.models.sp_config_export_job import SpConfigExportJob + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + export_payload = '''{ + "description" : "Export Job 1 Test" + }''' # ExportPayload | Export options control what will be included in the export. + try: + # Initiates configuration objects export job + new_export_payload = ExportPayload.from_json(export_payload) + results = SPConfigApi(api_client).export_sp_config(export_payload=new_export_payload) + # Below is a request that includes all optional parameters + # results = SPConfigApi(api_client).export_sp_config(new_export_payload) + print("The response of SPConfigApi->export_sp_config:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling SPConfigApi->export_sp_config: %s\n" % e) +- path: /sp-config/export/{id}/download + method: GET + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v2025/methods/sp-config#get-sp-config-export + source: | + from sailpoint.v2025.api.sp_config_api import SPConfigApi + from sailpoint.v2025.api_client import ApiClient + from sailpoint.v2025.models.sp_config_export_results import SpConfigExportResults + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + id = 'ef38f94347e94562b5bb8424a56397d8' # str | The ID of the export job whose results will be downloaded. # str | The ID of the export job whose results will be downloaded. + try: + # Download export job result. + + results = SPConfigApi(api_client).get_sp_config_export(id=id) + # Below is a request that includes all optional parameters + # results = SPConfigApi(api_client).get_sp_config_export(id) + print("The response of SPConfigApi->get_sp_config_export:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling SPConfigApi->get_sp_config_export: %s\n" % e) +- path: /sp-config/export/{id} + method: GET + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v2025/methods/sp-config#get-sp-config-export-status + source: | + from sailpoint.v2025.api.sp_config_api import SPConfigApi + from sailpoint.v2025.api_client import ApiClient + from sailpoint.v2025.models.sp_config_export_job_status import SpConfigExportJobStatus + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + id = 'ef38f94347e94562b5bb8424a56397d8' # str | The ID of the export job whose status will be returned. # str | The ID of the export job whose status will be returned. + try: + # Get export job status + + results = SPConfigApi(api_client).get_sp_config_export_status(id=id) + # Below is a request that includes all optional parameters + # results = SPConfigApi(api_client).get_sp_config_export_status(id) + print("The response of SPConfigApi->get_sp_config_export_status:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling SPConfigApi->get_sp_config_export_status: %s\n" % e) +- path: /sp-config/import/{id}/download + method: GET + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v2025/methods/sp-config#get-sp-config-import + source: | + from sailpoint.v2025.api.sp_config_api import SPConfigApi + from sailpoint.v2025.api_client import ApiClient + from sailpoint.v2025.models.sp_config_import_results import SpConfigImportResults + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + id = 'ef38f94347e94562b5bb8424a56397d8' # str | The ID of the import job whose results will be downloaded. # str | The ID of the import job whose results will be downloaded. + try: + # Download import job result + + results = SPConfigApi(api_client).get_sp_config_import(id=id) + # Below is a request that includes all optional parameters + # results = SPConfigApi(api_client).get_sp_config_import(id) + print("The response of SPConfigApi->get_sp_config_import:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling SPConfigApi->get_sp_config_import: %s\n" % e) +- path: /sp-config/import/{id} + method: GET + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v2025/methods/sp-config#get-sp-config-import-status + source: | + from sailpoint.v2025.api.sp_config_api import SPConfigApi + from sailpoint.v2025.api_client import ApiClient + from sailpoint.v2025.models.sp_config_import_job_status import SpConfigImportJobStatus + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + id = 'ef38f94347e94562b5bb8424a56397d8' # str | The ID of the import job whose status will be returned. # str | The ID of the import job whose status will be returned. + try: + # Get import job status + + results = SPConfigApi(api_client).get_sp_config_import_status(id=id) + # Below is a request that includes all optional parameters + # results = SPConfigApi(api_client).get_sp_config_import_status(id) + print("The response of SPConfigApi->get_sp_config_import_status:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling SPConfigApi->get_sp_config_import_status: %s\n" % e) +- path: /sp-config/import + method: POST + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v2025/methods/sp-config#import-sp-config + source: | + from sailpoint.v2025.api.sp_config_api import SPConfigApi + from sailpoint.v2025.api_client import ApiClient + from sailpoint.v2025.models.import_options import ImportOptions + from sailpoint.v2025.models.sp_config_job import SpConfigJob + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + data = None # bytearray | JSON file containing the objects to be imported. # bytearray | JSON file containing the objects to be imported. + preview = False # bool | This option is intended to give the user information about how an import operation would proceed, without having any effect on the target tenant. If this parameter is \"true\", no objects will be imported. Instead, the import process will pre-process the import file and attempt to resolve references within imported objects. The import result file will contain messages pertaining to how specific references were resolved, any errors associated with the preprocessing, and messages indicating which objects would be imported. (optional) (default to False) # bool | This option is intended to give the user information about how an import operation would proceed, without having any effect on the target tenant. If this parameter is \"true\", no objects will be imported. Instead, the import process will pre-process the import file and attempt to resolve references within imported objects. The import result file will contain messages pertaining to how specific references were resolved, any errors associated with the preprocessing, and messages indicating which objects would be imported. (optional) (default to False) + options = '''sailpoint.v2025.ImportOptions()''' # ImportOptions | (optional) + try: + # Initiates configuration objects import job + + results = SPConfigApi(api_client).import_sp_config(data=data) + # Below is a request that includes all optional parameters + # results = SPConfigApi(api_client).import_sp_config(data, preview, options) + print("The response of SPConfigApi->import_sp_config:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling SPConfigApi->import_sp_config: %s\n" % e) +- path: /sp-config/config-objects + method: GET + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v2025/methods/sp-config#list-sp-config-objects + source: | + from sailpoint.v2025.api.sp_config_api import SPConfigApi + from sailpoint.v2025.api_client import ApiClient + from sailpoint.v2025.models.sp_config_object import SpConfigObject + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + try: + # List Config Objects + + results = SPConfigApi(api_client).list_sp_config_objects() + # Below is a request that includes all optional parameters + # results = SPConfigApi(api_client).list_sp_config_objects() + print("The response of SPConfigApi->list_sp_config_objects:\n") + for item in results: + print(item.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling SPConfigApi->list_sp_config_objects: %s\n" % e) - path: /suggested-entitlement-description-batches/{batchId}/stats method: GET xCodeSample: @@ -20025,7 +20025,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -20052,7 +20052,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -20082,7 +20082,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: id = '00eebcf881994e419d72e757fd30dc0e' # str | Task ID. # str | Task ID. @@ -20109,7 +20109,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -20142,7 +20142,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: id = '00eebcf881994e419d72e757fd30dc0e' # str | Task ID. # str | Task ID. @@ -20194,7 +20194,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -20221,7 +20221,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -20388,7 +20388,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: id = '0f11f2a4-7c94-4bf3-a2bd-742580fe3bde' # str | The ID of the invocation to complete. # str | The ID of the invocation to complete. @@ -20421,7 +20421,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -20471,7 +20471,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: id = '0f11f2a4-7c94-4bf3-a2bd-742580fe3bde' # str | Subscription ID # str | Subscription ID @@ -20496,7 +20496,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -20528,7 +20528,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -20560,7 +20560,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -20593,7 +20593,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: id = '0f11f2a4-7c94-4bf3-a2bd-742580fe3bde' # str | ID of the Subscription to patch # str | ID of the Subscription to patch @@ -20622,7 +20622,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -20660,7 +20660,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -20693,7 +20693,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: id = '0f11f2a4-7c94-4bf3-a2bd-742580fe3bde' # str | Subscription ID # str | Subscription ID @@ -20744,7 +20744,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -20771,7 +20771,7 @@ from sailpoint.configuration import Configuration configuration = Configuration() - configuration.experimental = true + configuration.experimental = True with ApiClient(configuration) as api_client: x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') @@ -20910,615 +20910,6 @@ print(item.model_dump_json(by_alias=True, indent=4)) except Exception as e: print("Exception when calling VendorConnectorMappingsApi->get_vendor_connector_mappings: %s\n" % e) -- path: /work-items/{id}/approve/{approvalItemId} - method: POST - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v2025/methods/work-items#approve-approval-item - source: | - from sailpoint.v2025.api.work_items_api import WorkItemsApi - from sailpoint.v2025.api_client import ApiClient - from sailpoint.v2025.models.work_items import WorkItems - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - id = 'ef38f94347e94562b5bb8424a56397d8' # str | The ID of the work item # str | The ID of the work item - approval_item_id = '1211bcaa32112bcef6122adb21cef1ac' # str | The ID of the approval item. # str | The ID of the approval item. - try: - # Approve an Approval Item - - results = WorkItemsApi(api_client).approve_approval_item(id=id, approval_item_id=approval_item_id) - # Below is a request that includes all optional parameters - # results = WorkItemsApi(api_client).approve_approval_item(id, approval_item_id) - print("The response of WorkItemsApi->approve_approval_item:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling WorkItemsApi->approve_approval_item: %s\n" % e) -- path: /work-items/bulk-approve/{id} - method: POST - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v2025/methods/work-items#approve-approval-items-in-bulk - source: | - from sailpoint.v2025.api.work_items_api import WorkItemsApi - from sailpoint.v2025.api_client import ApiClient - from sailpoint.v2025.models.work_items import WorkItems - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - id = 'ef38f94347e94562b5bb8424a56397d8' # str | The ID of the work item # str | The ID of the work item - try: - # Bulk approve Approval Items - - results = WorkItemsApi(api_client).approve_approval_items_in_bulk(id=id) - # Below is a request that includes all optional parameters - # results = WorkItemsApi(api_client).approve_approval_items_in_bulk(id) - print("The response of WorkItemsApi->approve_approval_items_in_bulk:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling WorkItemsApi->approve_approval_items_in_bulk: %s\n" % e) -- path: /work-items/{id} - method: POST - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v2025/methods/work-items#complete-work-item - source: | - from sailpoint.v2025.api.work_items_api import WorkItemsApi - from sailpoint.v2025.api_client import ApiClient - from sailpoint.v2025.models.work_items import WorkItems - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - id = 'ef38f94347e94562b5bb8424a56397d8' # str | The ID of the work item # str | The ID of the work item - body = 'body_example' # str | Body is the request payload to create form definition request (optional) # str | Body is the request payload to create form definition request (optional) - try: - # Complete a Work Item - - results = WorkItemsApi(api_client).complete_work_item(id=id) - # Below is a request that includes all optional parameters - # results = WorkItemsApi(api_client).complete_work_item(id, new_body) - print("The response of WorkItemsApi->complete_work_item:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling WorkItemsApi->complete_work_item: %s\n" % e) -- path: /work-items/{id}/forward - method: POST - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v2025/methods/work-items#forward-work-item - source: | - from sailpoint.v2025.api.work_items_api import WorkItemsApi - from sailpoint.v2025.api_client import ApiClient - from sailpoint.v2025.models.work_item_forward import WorkItemForward - from sailpoint.configuration import Configuration - configuration = Configuration() - - configuration.experimental = true - - with ApiClient(configuration) as api_client: - id = 'ef38f94347e94562b5bb8424a56397d8' # str | The ID of the work item # str | The ID of the work item - x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') - work_item_forward = '''{ - "targetOwnerId" : "2c9180835d2e5168015d32f890ca1581", - "comment" : "I'm going on vacation.", - "sendNotifications" : true - }''' # WorkItemForward | - try: - # Forward a Work Item - new_work_item_forward = WorkItemForward.from_json(work_item_forward) - WorkItemsApi(api_client).forward_work_item(id=id, x_sail_point_experimental=x_sail_point_experimental, work_item_forward=new_work_item_forward) - # Below is a request that includes all optional parameters - # WorkItemsApi(api_client).forward_work_item(id, x_sail_point_experimental, new_work_item_forward) - except Exception as e: - print("Exception when calling WorkItemsApi->forward_work_item: %s\n" % e) -- path: /work-items/completed - method: GET - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v2025/methods/work-items#get-completed-work-items - source: | - from sailpoint.v2025.api.work_items_api import WorkItemsApi - from sailpoint.v2025.api_client import ApiClient - from sailpoint.v2025.models.work_items import WorkItems - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - owner_id = '1211bcaa32112bcef6122adb21cef1ac' # str | The id of the owner of the work item list being requested. Either an admin, or the owning/current user must make this request. (optional) # str | The id of the owner of the work item list being requested. Either an admin, or the owning/current user must make this request. (optional) - 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) - offset = 0 # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) - count = False # bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to False) # bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to False) - try: - # Completed Work Items - - results = WorkItemsApi(api_client).get_completed_work_items() - # Below is a request that includes all optional parameters - # results = WorkItemsApi(api_client).get_completed_work_items(owner_id, limit, offset, count) - print("The response of WorkItemsApi->get_completed_work_items:\n") - for item in results: - print(item.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling WorkItemsApi->get_completed_work_items: %s\n" % e) -- path: /work-items/completed/count - method: GET - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v2025/methods/work-items#get-count-completed-work-items - source: | - from sailpoint.v2025.api.work_items_api import WorkItemsApi - from sailpoint.v2025.api_client import ApiClient - from sailpoint.v2025.models.work_items_count import WorkItemsCount - from sailpoint.configuration import Configuration - configuration = Configuration() - - configuration.experimental = true - - with ApiClient(configuration) as api_client: - x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') - owner_id = 'owner_id_example' # str | ID of the work item owner. (optional) # str | ID of the work item owner. (optional) - try: - # Count Completed Work Items - - results = WorkItemsApi(api_client).get_count_completed_work_items(x_sail_point_experimental=x_sail_point_experimental) - # Below is a request that includes all optional parameters - # results = WorkItemsApi(api_client).get_count_completed_work_items(x_sail_point_experimental, owner_id) - print("The response of WorkItemsApi->get_count_completed_work_items:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling WorkItemsApi->get_count_completed_work_items: %s\n" % e) -- path: /work-items/count - method: GET - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v2025/methods/work-items#get-count-work-items - source: | - from sailpoint.v2025.api.work_items_api import WorkItemsApi - from sailpoint.v2025.api_client import ApiClient - from sailpoint.v2025.models.work_items_count import WorkItemsCount - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - owner_id = 'ef38f94347e94562b5bb8424a56397d8' # str | ID of the work item owner. (optional) # str | ID of the work item owner. (optional) - try: - # Count Work Items - - results = WorkItemsApi(api_client).get_count_work_items() - # Below is a request that includes all optional parameters - # results = WorkItemsApi(api_client).get_count_work_items(owner_id) - print("The response of WorkItemsApi->get_count_work_items:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling WorkItemsApi->get_count_work_items: %s\n" % e) -- path: /work-items/{id} - method: GET - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v2025/methods/work-items#get-work-item - source: | - from sailpoint.v2025.api.work_items_api import WorkItemsApi - from sailpoint.v2025.api_client import ApiClient - from sailpoint.v2025.models.work_items import WorkItems - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - id = '2c9180835d191a86015d28455b4a2329' # str | ID of the work item. # str | ID of the work item. - try: - # Get a Work Item - - results = WorkItemsApi(api_client).get_work_item(id=id) - # Below is a request that includes all optional parameters - # results = WorkItemsApi(api_client).get_work_item(id) - print("The response of WorkItemsApi->get_work_item:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling WorkItemsApi->get_work_item: %s\n" % e) -- path: /work-items/summary - method: GET - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v2025/methods/work-items#get-work-items-summary - source: | - from sailpoint.v2025.api.work_items_api import WorkItemsApi - from sailpoint.v2025.api_client import ApiClient - from sailpoint.v2025.models.work_items_summary import WorkItemsSummary - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - owner_id = '1211bcaa32112bcef6122adb21cef1ac' # str | ID of the work item owner. (optional) # str | ID of the work item owner. (optional) - try: - # Work Items Summary - - results = WorkItemsApi(api_client).get_work_items_summary() - # Below is a request that includes all optional parameters - # results = WorkItemsApi(api_client).get_work_items_summary(owner_id) - print("The response of WorkItemsApi->get_work_items_summary:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling WorkItemsApi->get_work_items_summary: %s\n" % e) -- path: /work-items - method: GET - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v2025/methods/work-items#list-work-items - source: | - from sailpoint.v2025.api.work_items_api import WorkItemsApi - from sailpoint.v2025.api_client import ApiClient - from sailpoint.v2025.models.work_items import WorkItems - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - 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) - offset = 0 # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) - count = False # bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to False) # bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to False) - owner_id = '1211bcaa32112bcef6122adb21cef1ac' # str | ID of the work item owner. (optional) # str | ID of the work item owner. (optional) - try: - # List Work Items - - results = WorkItemsApi(api_client).list_work_items() - # Below is a request that includes all optional parameters - # results = WorkItemsApi(api_client).list_work_items(limit, offset, count, owner_id) - print("The response of WorkItemsApi->list_work_items:\n") - for item in results: - print(item.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling WorkItemsApi->list_work_items: %s\n" % e) -- path: /work-items/{id}/reject/{approvalItemId} - method: POST - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v2025/methods/work-items#reject-approval-item - source: | - from sailpoint.v2025.api.work_items_api import WorkItemsApi - from sailpoint.v2025.api_client import ApiClient - from sailpoint.v2025.models.work_items import WorkItems - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - id = 'ef38f94347e94562b5bb8424a56397d8' # str | The ID of the work item # str | The ID of the work item - approval_item_id = '1211bcaa32112bcef6122adb21cef1ac' # str | The ID of the approval item. # str | The ID of the approval item. - try: - # Reject an Approval Item - - results = WorkItemsApi(api_client).reject_approval_item(id=id, approval_item_id=approval_item_id) - # Below is a request that includes all optional parameters - # results = WorkItemsApi(api_client).reject_approval_item(id, approval_item_id) - print("The response of WorkItemsApi->reject_approval_item:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling WorkItemsApi->reject_approval_item: %s\n" % e) -- path: /work-items/bulk-reject/{id} - method: POST - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v2025/methods/work-items#reject-approval-items-in-bulk - source: | - from sailpoint.v2025.api.work_items_api import WorkItemsApi - from sailpoint.v2025.api_client import ApiClient - from sailpoint.v2025.models.work_items import WorkItems - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - id = 'ef38f94347e94562b5bb8424a56397d8' # str | The ID of the work item # str | The ID of the work item - try: - # Bulk reject Approval Items - - results = WorkItemsApi(api_client).reject_approval_items_in_bulk(id=id) - # Below is a request that includes all optional parameters - # results = WorkItemsApi(api_client).reject_approval_items_in_bulk(id) - print("The response of WorkItemsApi->reject_approval_items_in_bulk:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling WorkItemsApi->reject_approval_items_in_bulk: %s\n" % e) -- path: /work-items/{id}/submit-account-selection - method: POST - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v2025/methods/work-items#submit-account-selection - source: | - from sailpoint.v2025.api.work_items_api import WorkItemsApi - from sailpoint.v2025.api_client import ApiClient - from sailpoint.v2025.models.work_items import WorkItems - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - id = 'ef38f94347e94562b5bb8424a56397d8' # str | The ID of the work item # str | The ID of the work item - request_body = {fieldName=fieldValue} # Dict[str, object] | Account Selection Data map, keyed on fieldName # Dict[str, object] | Account Selection Data map, keyed on fieldName - try: - # Submit Account Selections - new_request_body = RequestBody.from_json(request_body) - results = WorkItemsApi(api_client).submit_account_selection(id=id, request_body=new_request_body) - # Below is a request that includes all optional parameters - # results = WorkItemsApi(api_client).submit_account_selection(id, new_request_body) - print("The response of WorkItemsApi->submit_account_selection:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling WorkItemsApi->submit_account_selection: %s\n" % e) -- path: /reassignment-configurations - method: POST - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v2025/methods/work-reassignment#create-reassignment-configuration - source: | - from sailpoint.v2025.api.work_reassignment_api import WorkReassignmentApi - from sailpoint.v2025.api_client import ApiClient - from sailpoint.v2025.models.configuration_item_request import ConfigurationItemRequest - from sailpoint.v2025.models.configuration_item_response import ConfigurationItemResponse - from sailpoint.configuration import Configuration - configuration = Configuration() - - configuration.experimental = true - - with ApiClient(configuration) as api_client: - x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') - configuration_item_request = '''{ - "endDate" : "2022-07-30T17:00:00Z", - "reassignedFromId" : "2c91808781a71ddb0181b9090b5c504e", - "configType" : "ACCESS_REQUESTS", - "reassignedToId" : "2c91808781a71ddb0181b9090b53504a", - "startDate" : "2022-07-21T11:13:12.345Z" - }''' # ConfigurationItemRequest | - try: - # Create a Reassignment Configuration - new_configuration_item_request = ConfigurationItemRequest.from_json(configuration_item_request) - results = WorkReassignmentApi(api_client).create_reassignment_configuration(x_sail_point_experimental=x_sail_point_experimental, configuration_item_request=new_configuration_item_request) - # Below is a request that includes all optional parameters - # results = WorkReassignmentApi(api_client).create_reassignment_configuration(x_sail_point_experimental, new_configuration_item_request) - print("The response of WorkReassignmentApi->create_reassignment_configuration:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling WorkReassignmentApi->create_reassignment_configuration: %s\n" % e) -- path: /reassignment-configurations/{identityId}/{configType} - method: DELETE - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v2025/methods/work-reassignment#delete-reassignment-configuration - source: | - from sailpoint.v2025.api.work_reassignment_api import WorkReassignmentApi - from sailpoint.v2025.api_client import ApiClient - from sailpoint.v2025.models.config_type_enum import ConfigTypeEnum - from sailpoint.configuration import Configuration - configuration = Configuration() - - configuration.experimental = true - - with ApiClient(configuration) as api_client: - identity_id = '2c91808781a71ddb0181b9090b5c504e' # str | unique identity id # str | unique identity id - config_type = sailpoint.v2025.ConfigTypeEnum() # ConfigTypeEnum | # ConfigTypeEnum | - x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') - try: - # Delete Reassignment Configuration - - WorkReassignmentApi(api_client).delete_reassignment_configuration(identity_id=identity_id, config_type=config_type, x_sail_point_experimental=x_sail_point_experimental) - # Below is a request that includes all optional parameters - # WorkReassignmentApi(api_client).delete_reassignment_configuration(identity_id, config_type, x_sail_point_experimental) - except Exception as e: - print("Exception when calling WorkReassignmentApi->delete_reassignment_configuration: %s\n" % e) -- path: /reassignment-configurations/{identityId}/evaluate/{configType} - method: GET - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v2025/methods/work-reassignment#get-evaluate-reassignment-configuration - source: | - from sailpoint.v2025.api.work_reassignment_api import WorkReassignmentApi - from sailpoint.v2025.api_client import ApiClient - from sailpoint.v2025.models.config_type_enum import ConfigTypeEnum - from sailpoint.v2025.models.evaluate_response import EvaluateResponse - from sailpoint.configuration import Configuration - configuration = Configuration() - - configuration.experimental = true - - with ApiClient(configuration) as api_client: - identity_id = '2c91808781a71ddb0181b9090b5c504e' # str | unique identity id # str | unique identity id - config_type = sailpoint.v2025.ConfigTypeEnum() # ConfigTypeEnum | Reassignment work type # ConfigTypeEnum | Reassignment work type - x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') - exclusion_filters = '''['SELF_REVIEW_DELEGATION']''' # List[str] | Exclusion filters that disable parts of the reassignment evaluation. Possible values are listed below: - `SELF_REVIEW_DELEGATION`: This will exclude delegations of self-review reassignments (optional) - try: - # Evaluate Reassignment Configuration - - results = WorkReassignmentApi(api_client).get_evaluate_reassignment_configuration(identity_id=identity_id, config_type=config_type, x_sail_point_experimental=x_sail_point_experimental) - # Below is a request that includes all optional parameters - # results = WorkReassignmentApi(api_client).get_evaluate_reassignment_configuration(identity_id, config_type, x_sail_point_experimental, exclusion_filters) - print("The response of WorkReassignmentApi->get_evaluate_reassignment_configuration:\n") - for item in results: - print(item.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling WorkReassignmentApi->get_evaluate_reassignment_configuration: %s\n" % e) -- path: /reassignment-configurations/types - method: GET - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v2025/methods/work-reassignment#get-reassignment-config-types - source: | - from sailpoint.v2025.api.work_reassignment_api import WorkReassignmentApi - from sailpoint.v2025.api_client import ApiClient - from sailpoint.v2025.models.config_type import ConfigType - from sailpoint.configuration import Configuration - configuration = Configuration() - - configuration.experimental = true - - with ApiClient(configuration) as api_client: - x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') - try: - # List Reassignment Config Types - - results = WorkReassignmentApi(api_client).get_reassignment_config_types(x_sail_point_experimental=x_sail_point_experimental) - # Below is a request that includes all optional parameters - # results = WorkReassignmentApi(api_client).get_reassignment_config_types(x_sail_point_experimental) - print("The response of WorkReassignmentApi->get_reassignment_config_types:\n") - for item in results: - print(item.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling WorkReassignmentApi->get_reassignment_config_types: %s\n" % e) -- path: /reassignment-configurations/{identityId} - method: GET - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v2025/methods/work-reassignment#get-reassignment-configuration - source: | - from sailpoint.v2025.api.work_reassignment_api import WorkReassignmentApi - from sailpoint.v2025.api_client import ApiClient - from sailpoint.v2025.models.configuration_response import ConfigurationResponse - from sailpoint.configuration import Configuration - configuration = Configuration() - - configuration.experimental = true - - with ApiClient(configuration) as api_client: - identity_id = '2c91808781a71ddb0181b9090b5c504f' # str | unique identity id # str | unique identity id - x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') - try: - # Get Reassignment Configuration - - results = WorkReassignmentApi(api_client).get_reassignment_configuration(identity_id=identity_id, x_sail_point_experimental=x_sail_point_experimental) - # Below is a request that includes all optional parameters - # results = WorkReassignmentApi(api_client).get_reassignment_configuration(identity_id, x_sail_point_experimental) - print("The response of WorkReassignmentApi->get_reassignment_configuration:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling WorkReassignmentApi->get_reassignment_configuration: %s\n" % e) -- path: /reassignment-configurations/tenant-config - method: GET - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v2025/methods/work-reassignment#get-tenant-config-configuration - source: | - from sailpoint.v2025.api.work_reassignment_api import WorkReassignmentApi - from sailpoint.v2025.api_client import ApiClient - from sailpoint.v2025.models.tenant_configuration_response import TenantConfigurationResponse - from sailpoint.configuration import Configuration - configuration = Configuration() - - configuration.experimental = true - - with ApiClient(configuration) as api_client: - x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') - try: - # Get Tenant-wide Reassignment Configuration settings - - results = WorkReassignmentApi(api_client).get_tenant_config_configuration(x_sail_point_experimental=x_sail_point_experimental) - # Below is a request that includes all optional parameters - # results = WorkReassignmentApi(api_client).get_tenant_config_configuration(x_sail_point_experimental) - print("The response of WorkReassignmentApi->get_tenant_config_configuration:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling WorkReassignmentApi->get_tenant_config_configuration: %s\n" % e) -- path: /reassignment-configurations - method: GET - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v2025/methods/work-reassignment#list-reassignment-configurations - source: | - from sailpoint.v2025.api.work_reassignment_api import WorkReassignmentApi - from sailpoint.v2025.api_client import ApiClient - from sailpoint.v2025.models.configuration_response import ConfigurationResponse - from sailpoint.configuration import Configuration - configuration = Configuration() - - configuration.experimental = true - - with ApiClient(configuration) as api_client: - x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') - try: - # List Reassignment Configurations - - results = WorkReassignmentApi(api_client).list_reassignment_configurations(x_sail_point_experimental=x_sail_point_experimental) - # Below is a request that includes all optional parameters - # results = WorkReassignmentApi(api_client).list_reassignment_configurations(x_sail_point_experimental) - print("The response of WorkReassignmentApi->list_reassignment_configurations:\n") - for item in results: - print(item.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling WorkReassignmentApi->list_reassignment_configurations: %s\n" % e) -- path: /reassignment-configurations/{identityId} - method: PUT - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v2025/methods/work-reassignment#put-reassignment-config - source: | - from sailpoint.v2025.api.work_reassignment_api import WorkReassignmentApi - from sailpoint.v2025.api_client import ApiClient - from sailpoint.v2025.models.configuration_item_request import ConfigurationItemRequest - from sailpoint.v2025.models.configuration_item_response import ConfigurationItemResponse - from sailpoint.configuration import Configuration - configuration = Configuration() - - configuration.experimental = true - - with ApiClient(configuration) as api_client: - identity_id = '2c91808781a71ddb0181b9090b5c504e' # str | unique identity id # str | unique identity id - x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') - configuration_item_request = '''{ - "endDate" : "2022-07-30T17:00:00Z", - "reassignedFromId" : "2c91808781a71ddb0181b9090b5c504e", - "configType" : "ACCESS_REQUESTS", - "reassignedToId" : "2c91808781a71ddb0181b9090b53504a", - "startDate" : "2022-07-21T11:13:12.345Z" - }''' # ConfigurationItemRequest | - try: - # Update Reassignment Configuration - new_configuration_item_request = ConfigurationItemRequest.from_json(configuration_item_request) - results = WorkReassignmentApi(api_client).put_reassignment_config(identity_id=identity_id, x_sail_point_experimental=x_sail_point_experimental, configuration_item_request=new_configuration_item_request) - # Below is a request that includes all optional parameters - # results = WorkReassignmentApi(api_client).put_reassignment_config(identity_id, x_sail_point_experimental, new_configuration_item_request) - print("The response of WorkReassignmentApi->put_reassignment_config:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling WorkReassignmentApi->put_reassignment_config: %s\n" % e) -- path: /reassignment-configurations/tenant-config - method: PUT - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v2025/methods/work-reassignment#put-tenant-configuration - source: | - from sailpoint.v2025.api.work_reassignment_api import WorkReassignmentApi - from sailpoint.v2025.api_client import ApiClient - from sailpoint.v2025.models.tenant_configuration_request import TenantConfigurationRequest - from sailpoint.v2025.models.tenant_configuration_response import TenantConfigurationResponse - from sailpoint.configuration import Configuration - configuration = Configuration() - - configuration.experimental = true - - with ApiClient(configuration) as api_client: - x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') - tenant_configuration_request = '''{ - "configDetails" : { - "disabled" : true - } - }''' # TenantConfigurationRequest | - try: - # Update Tenant-wide Reassignment Configuration settings - new_tenant_configuration_request = TenantConfigurationRequest.from_json(tenant_configuration_request) - results = WorkReassignmentApi(api_client).put_tenant_configuration(x_sail_point_experimental=x_sail_point_experimental, tenant_configuration_request=new_tenant_configuration_request) - # Below is a request that includes all optional parameters - # results = WorkReassignmentApi(api_client).put_tenant_configuration(x_sail_point_experimental, new_tenant_configuration_request) - print("The response of WorkReassignmentApi->put_tenant_configuration:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling WorkReassignmentApi->put_tenant_configuration: %s\n" % e) - path: /workflow-executions/{id}/cancel method: POST xCodeSample: @@ -22026,3 +21417,612 @@ print(results.model_dump_json(by_alias=True, indent=4)) except Exception as e: print("Exception when calling WorkflowsApi->test_workflow: %s\n" % e) +- path: /work-items/{id}/approve/{approvalItemId} + method: POST + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v2025/methods/work-items#approve-approval-item + source: | + from sailpoint.v2025.api.work_items_api import WorkItemsApi + from sailpoint.v2025.api_client import ApiClient + from sailpoint.v2025.models.work_items import WorkItems + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + id = 'ef38f94347e94562b5bb8424a56397d8' # str | The ID of the work item # str | The ID of the work item + approval_item_id = '1211bcaa32112bcef6122adb21cef1ac' # str | The ID of the approval item. # str | The ID of the approval item. + try: + # Approve an Approval Item + + results = WorkItemsApi(api_client).approve_approval_item(id=id, approval_item_id=approval_item_id) + # Below is a request that includes all optional parameters + # results = WorkItemsApi(api_client).approve_approval_item(id, approval_item_id) + print("The response of WorkItemsApi->approve_approval_item:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling WorkItemsApi->approve_approval_item: %s\n" % e) +- path: /work-items/bulk-approve/{id} + method: POST + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v2025/methods/work-items#approve-approval-items-in-bulk + source: | + from sailpoint.v2025.api.work_items_api import WorkItemsApi + from sailpoint.v2025.api_client import ApiClient + from sailpoint.v2025.models.work_items import WorkItems + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + id = 'ef38f94347e94562b5bb8424a56397d8' # str | The ID of the work item # str | The ID of the work item + try: + # Bulk approve Approval Items + + results = WorkItemsApi(api_client).approve_approval_items_in_bulk(id=id) + # Below is a request that includes all optional parameters + # results = WorkItemsApi(api_client).approve_approval_items_in_bulk(id) + print("The response of WorkItemsApi->approve_approval_items_in_bulk:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling WorkItemsApi->approve_approval_items_in_bulk: %s\n" % e) +- path: /work-items/{id} + method: POST + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v2025/methods/work-items#complete-work-item + source: | + from sailpoint.v2025.api.work_items_api import WorkItemsApi + from sailpoint.v2025.api_client import ApiClient + from sailpoint.v2025.models.work_items import WorkItems + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + id = 'ef38f94347e94562b5bb8424a56397d8' # str | The ID of the work item # str | The ID of the work item + body = 'body_example' # str | Body is the request payload to create form definition request (optional) # str | Body is the request payload to create form definition request (optional) + try: + # Complete a Work Item + + results = WorkItemsApi(api_client).complete_work_item(id=id) + # Below is a request that includes all optional parameters + # results = WorkItemsApi(api_client).complete_work_item(id, new_body) + print("The response of WorkItemsApi->complete_work_item:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling WorkItemsApi->complete_work_item: %s\n" % e) +- path: /work-items/{id}/forward + method: POST + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v2025/methods/work-items#forward-work-item + source: | + from sailpoint.v2025.api.work_items_api import WorkItemsApi + from sailpoint.v2025.api_client import ApiClient + from sailpoint.v2025.models.work_item_forward import WorkItemForward + from sailpoint.configuration import Configuration + configuration = Configuration() + + configuration.experimental = True + + with ApiClient(configuration) as api_client: + id = 'ef38f94347e94562b5bb8424a56397d8' # str | The ID of the work item # str | The ID of the work item + x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') + work_item_forward = '''{ + "targetOwnerId" : "2c9180835d2e5168015d32f890ca1581", + "comment" : "I'm going on vacation.", + "sendNotifications" : true + }''' # WorkItemForward | + try: + # Forward a Work Item + new_work_item_forward = WorkItemForward.from_json(work_item_forward) + WorkItemsApi(api_client).forward_work_item(id=id, x_sail_point_experimental=x_sail_point_experimental, work_item_forward=new_work_item_forward) + # Below is a request that includes all optional parameters + # WorkItemsApi(api_client).forward_work_item(id, x_sail_point_experimental, new_work_item_forward) + except Exception as e: + print("Exception when calling WorkItemsApi->forward_work_item: %s\n" % e) +- path: /work-items/completed + method: GET + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v2025/methods/work-items#get-completed-work-items + source: | + from sailpoint.v2025.api.work_items_api import WorkItemsApi + from sailpoint.v2025.api_client import ApiClient + from sailpoint.v2025.models.work_items import WorkItems + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + owner_id = '1211bcaa32112bcef6122adb21cef1ac' # str | The id of the owner of the work item list being requested. Either an admin, or the owning/current user must make this request. (optional) # str | The id of the owner of the work item list being requested. Either an admin, or the owning/current user must make this request. (optional) + 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) + offset = 0 # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) + count = False # bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to False) # bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to False) + try: + # Completed Work Items + + results = WorkItemsApi(api_client).get_completed_work_items() + # Below is a request that includes all optional parameters + # results = WorkItemsApi(api_client).get_completed_work_items(owner_id, limit, offset, count) + print("The response of WorkItemsApi->get_completed_work_items:\n") + for item in results: + print(item.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling WorkItemsApi->get_completed_work_items: %s\n" % e) +- path: /work-items/completed/count + method: GET + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v2025/methods/work-items#get-count-completed-work-items + source: | + from sailpoint.v2025.api.work_items_api import WorkItemsApi + from sailpoint.v2025.api_client import ApiClient + from sailpoint.v2025.models.work_items_count import WorkItemsCount + from sailpoint.configuration import Configuration + configuration = Configuration() + + configuration.experimental = True + + with ApiClient(configuration) as api_client: + x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') + owner_id = 'owner_id_example' # str | ID of the work item owner. (optional) # str | ID of the work item owner. (optional) + try: + # Count Completed Work Items + + results = WorkItemsApi(api_client).get_count_completed_work_items(x_sail_point_experimental=x_sail_point_experimental) + # Below is a request that includes all optional parameters + # results = WorkItemsApi(api_client).get_count_completed_work_items(x_sail_point_experimental, owner_id) + print("The response of WorkItemsApi->get_count_completed_work_items:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling WorkItemsApi->get_count_completed_work_items: %s\n" % e) +- path: /work-items/count + method: GET + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v2025/methods/work-items#get-count-work-items + source: | + from sailpoint.v2025.api.work_items_api import WorkItemsApi + from sailpoint.v2025.api_client import ApiClient + from sailpoint.v2025.models.work_items_count import WorkItemsCount + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + owner_id = 'ef38f94347e94562b5bb8424a56397d8' # str | ID of the work item owner. (optional) # str | ID of the work item owner. (optional) + try: + # Count Work Items + + results = WorkItemsApi(api_client).get_count_work_items() + # Below is a request that includes all optional parameters + # results = WorkItemsApi(api_client).get_count_work_items(owner_id) + print("The response of WorkItemsApi->get_count_work_items:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling WorkItemsApi->get_count_work_items: %s\n" % e) +- path: /work-items/{id} + method: GET + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v2025/methods/work-items#get-work-item + source: | + from sailpoint.v2025.api.work_items_api import WorkItemsApi + from sailpoint.v2025.api_client import ApiClient + from sailpoint.v2025.models.work_items import WorkItems + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + id = '2c9180835d191a86015d28455b4a2329' # str | ID of the work item. # str | ID of the work item. + try: + # Get a Work Item + + results = WorkItemsApi(api_client).get_work_item(id=id) + # Below is a request that includes all optional parameters + # results = WorkItemsApi(api_client).get_work_item(id) + print("The response of WorkItemsApi->get_work_item:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling WorkItemsApi->get_work_item: %s\n" % e) +- path: /work-items/summary + method: GET + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v2025/methods/work-items#get-work-items-summary + source: | + from sailpoint.v2025.api.work_items_api import WorkItemsApi + from sailpoint.v2025.api_client import ApiClient + from sailpoint.v2025.models.work_items_summary import WorkItemsSummary + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + owner_id = '1211bcaa32112bcef6122adb21cef1ac' # str | ID of the work item owner. (optional) # str | ID of the work item owner. (optional) + try: + # Work Items Summary + + results = WorkItemsApi(api_client).get_work_items_summary() + # Below is a request that includes all optional parameters + # results = WorkItemsApi(api_client).get_work_items_summary(owner_id) + print("The response of WorkItemsApi->get_work_items_summary:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling WorkItemsApi->get_work_items_summary: %s\n" % e) +- path: /work-items + method: GET + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v2025/methods/work-items#list-work-items + source: | + from sailpoint.v2025.api.work_items_api import WorkItemsApi + from sailpoint.v2025.api_client import ApiClient + from sailpoint.v2025.models.work_items import WorkItems + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + 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) + offset = 0 # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) + count = False # bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to False) # bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to False) + owner_id = '1211bcaa32112bcef6122adb21cef1ac' # str | ID of the work item owner. (optional) # str | ID of the work item owner. (optional) + try: + # List Work Items + + results = WorkItemsApi(api_client).list_work_items() + # Below is a request that includes all optional parameters + # results = WorkItemsApi(api_client).list_work_items(limit, offset, count, owner_id) + print("The response of WorkItemsApi->list_work_items:\n") + for item in results: + print(item.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling WorkItemsApi->list_work_items: %s\n" % e) +- path: /work-items/{id}/reject/{approvalItemId} + method: POST + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v2025/methods/work-items#reject-approval-item + source: | + from sailpoint.v2025.api.work_items_api import WorkItemsApi + from sailpoint.v2025.api_client import ApiClient + from sailpoint.v2025.models.work_items import WorkItems + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + id = 'ef38f94347e94562b5bb8424a56397d8' # str | The ID of the work item # str | The ID of the work item + approval_item_id = '1211bcaa32112bcef6122adb21cef1ac' # str | The ID of the approval item. # str | The ID of the approval item. + try: + # Reject an Approval Item + + results = WorkItemsApi(api_client).reject_approval_item(id=id, approval_item_id=approval_item_id) + # Below is a request that includes all optional parameters + # results = WorkItemsApi(api_client).reject_approval_item(id, approval_item_id) + print("The response of WorkItemsApi->reject_approval_item:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling WorkItemsApi->reject_approval_item: %s\n" % e) +- path: /work-items/bulk-reject/{id} + method: POST + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v2025/methods/work-items#reject-approval-items-in-bulk + source: | + from sailpoint.v2025.api.work_items_api import WorkItemsApi + from sailpoint.v2025.api_client import ApiClient + from sailpoint.v2025.models.work_items import WorkItems + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + id = 'ef38f94347e94562b5bb8424a56397d8' # str | The ID of the work item # str | The ID of the work item + try: + # Bulk reject Approval Items + + results = WorkItemsApi(api_client).reject_approval_items_in_bulk(id=id) + # Below is a request that includes all optional parameters + # results = WorkItemsApi(api_client).reject_approval_items_in_bulk(id) + print("The response of WorkItemsApi->reject_approval_items_in_bulk:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling WorkItemsApi->reject_approval_items_in_bulk: %s\n" % e) +- path: /work-items/{id}/submit-account-selection + method: POST + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v2025/methods/work-items#submit-account-selection + source: | + from sailpoint.v2025.api.work_items_api import WorkItemsApi + from sailpoint.v2025.api_client import ApiClient + from sailpoint.v2025.models.work_items import WorkItems + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + id = 'ef38f94347e94562b5bb8424a56397d8' # str | The ID of the work item # str | The ID of the work item + request_body = {fieldName=fieldValue} # Dict[str, object] | Account Selection Data map, keyed on fieldName # Dict[str, object] | Account Selection Data map, keyed on fieldName + try: + # Submit Account Selections + new_request_body = RequestBody.from_json(request_body) + results = WorkItemsApi(api_client).submit_account_selection(id=id, request_body=new_request_body) + # Below is a request that includes all optional parameters + # results = WorkItemsApi(api_client).submit_account_selection(id, new_request_body) + print("The response of WorkItemsApi->submit_account_selection:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling WorkItemsApi->submit_account_selection: %s\n" % e) +- path: /reassignment-configurations + method: POST + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v2025/methods/work-reassignment#create-reassignment-configuration + source: | + from sailpoint.v2025.api.work_reassignment_api import WorkReassignmentApi + from sailpoint.v2025.api_client import ApiClient + from sailpoint.v2025.models.configuration_item_request import ConfigurationItemRequest + from sailpoint.v2025.models.configuration_item_response import ConfigurationItemResponse + from sailpoint.configuration import Configuration + configuration = Configuration() + + configuration.experimental = True + + with ApiClient(configuration) as api_client: + x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') + configuration_item_request = '''{ + "endDate" : "2022-07-30T17:00:00Z", + "reassignedFromId" : "2c91808781a71ddb0181b9090b5c504e", + "configType" : "ACCESS_REQUESTS", + "reassignedToId" : "2c91808781a71ddb0181b9090b53504a", + "startDate" : "2022-07-21T11:13:12.345Z" + }''' # ConfigurationItemRequest | + try: + # Create a Reassignment Configuration + new_configuration_item_request = ConfigurationItemRequest.from_json(configuration_item_request) + results = WorkReassignmentApi(api_client).create_reassignment_configuration(x_sail_point_experimental=x_sail_point_experimental, configuration_item_request=new_configuration_item_request) + # Below is a request that includes all optional parameters + # results = WorkReassignmentApi(api_client).create_reassignment_configuration(x_sail_point_experimental, new_configuration_item_request) + print("The response of WorkReassignmentApi->create_reassignment_configuration:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling WorkReassignmentApi->create_reassignment_configuration: %s\n" % e) +- path: /reassignment-configurations/{identityId}/{configType} + method: DELETE + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v2025/methods/work-reassignment#delete-reassignment-configuration + source: | + from sailpoint.v2025.api.work_reassignment_api import WorkReassignmentApi + from sailpoint.v2025.api_client import ApiClient + from sailpoint.v2025.models.config_type_enum import ConfigTypeEnum + from sailpoint.configuration import Configuration + configuration = Configuration() + + configuration.experimental = True + + with ApiClient(configuration) as api_client: + identity_id = '2c91808781a71ddb0181b9090b5c504e' # str | unique identity id # str | unique identity id + config_type = sailpoint.v2025.ConfigTypeEnum() # ConfigTypeEnum | # ConfigTypeEnum | + x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') + try: + # Delete Reassignment Configuration + + WorkReassignmentApi(api_client).delete_reassignment_configuration(identity_id=identity_id, config_type=config_type, x_sail_point_experimental=x_sail_point_experimental) + # Below is a request that includes all optional parameters + # WorkReassignmentApi(api_client).delete_reassignment_configuration(identity_id, config_type, x_sail_point_experimental) + except Exception as e: + print("Exception when calling WorkReassignmentApi->delete_reassignment_configuration: %s\n" % e) +- path: /reassignment-configurations/{identityId}/evaluate/{configType} + method: GET + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v2025/methods/work-reassignment#get-evaluate-reassignment-configuration + source: | + from sailpoint.v2025.api.work_reassignment_api import WorkReassignmentApi + from sailpoint.v2025.api_client import ApiClient + from sailpoint.v2025.models.config_type_enum import ConfigTypeEnum + from sailpoint.v2025.models.evaluate_response import EvaluateResponse + from sailpoint.configuration import Configuration + configuration = Configuration() + + configuration.experimental = True + + with ApiClient(configuration) as api_client: + identity_id = '2c91808781a71ddb0181b9090b5c504e' # str | unique identity id # str | unique identity id + config_type = sailpoint.v2025.ConfigTypeEnum() # ConfigTypeEnum | Reassignment work type # ConfigTypeEnum | Reassignment work type + x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') + exclusion_filters = '''['SELF_REVIEW_DELEGATION']''' # List[str] | Exclusion filters that disable parts of the reassignment evaluation. Possible values are listed below: - `SELF_REVIEW_DELEGATION`: This will exclude delegations of self-review reassignments (optional) + try: + # Evaluate Reassignment Configuration + + results = WorkReassignmentApi(api_client).get_evaluate_reassignment_configuration(identity_id=identity_id, config_type=config_type, x_sail_point_experimental=x_sail_point_experimental) + # Below is a request that includes all optional parameters + # results = WorkReassignmentApi(api_client).get_evaluate_reassignment_configuration(identity_id, config_type, x_sail_point_experimental, exclusion_filters) + print("The response of WorkReassignmentApi->get_evaluate_reassignment_configuration:\n") + for item in results: + print(item.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling WorkReassignmentApi->get_evaluate_reassignment_configuration: %s\n" % e) +- path: /reassignment-configurations/types + method: GET + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v2025/methods/work-reassignment#get-reassignment-config-types + source: | + from sailpoint.v2025.api.work_reassignment_api import WorkReassignmentApi + from sailpoint.v2025.api_client import ApiClient + from sailpoint.v2025.models.config_type import ConfigType + from sailpoint.configuration import Configuration + configuration = Configuration() + + configuration.experimental = True + + with ApiClient(configuration) as api_client: + x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') + try: + # List Reassignment Config Types + + results = WorkReassignmentApi(api_client).get_reassignment_config_types(x_sail_point_experimental=x_sail_point_experimental) + # Below is a request that includes all optional parameters + # results = WorkReassignmentApi(api_client).get_reassignment_config_types(x_sail_point_experimental) + print("The response of WorkReassignmentApi->get_reassignment_config_types:\n") + for item in results: + print(item.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling WorkReassignmentApi->get_reassignment_config_types: %s\n" % e) +- path: /reassignment-configurations/{identityId} + method: GET + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v2025/methods/work-reassignment#get-reassignment-configuration + source: | + from sailpoint.v2025.api.work_reassignment_api import WorkReassignmentApi + from sailpoint.v2025.api_client import ApiClient + from sailpoint.v2025.models.configuration_response import ConfigurationResponse + from sailpoint.configuration import Configuration + configuration = Configuration() + + configuration.experimental = True + + with ApiClient(configuration) as api_client: + identity_id = '2c91808781a71ddb0181b9090b5c504f' # str | unique identity id # str | unique identity id + x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') + try: + # Get Reassignment Configuration + + results = WorkReassignmentApi(api_client).get_reassignment_configuration(identity_id=identity_id, x_sail_point_experimental=x_sail_point_experimental) + # Below is a request that includes all optional parameters + # results = WorkReassignmentApi(api_client).get_reassignment_configuration(identity_id, x_sail_point_experimental) + print("The response of WorkReassignmentApi->get_reassignment_configuration:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling WorkReassignmentApi->get_reassignment_configuration: %s\n" % e) +- path: /reassignment-configurations/tenant-config + method: GET + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v2025/methods/work-reassignment#get-tenant-config-configuration + source: | + from sailpoint.v2025.api.work_reassignment_api import WorkReassignmentApi + from sailpoint.v2025.api_client import ApiClient + from sailpoint.v2025.models.tenant_configuration_response import TenantConfigurationResponse + from sailpoint.configuration import Configuration + configuration = Configuration() + + configuration.experimental = True + + with ApiClient(configuration) as api_client: + x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') + try: + # Get Tenant-wide Reassignment Configuration settings + + results = WorkReassignmentApi(api_client).get_tenant_config_configuration(x_sail_point_experimental=x_sail_point_experimental) + # Below is a request that includes all optional parameters + # results = WorkReassignmentApi(api_client).get_tenant_config_configuration(x_sail_point_experimental) + print("The response of WorkReassignmentApi->get_tenant_config_configuration:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling WorkReassignmentApi->get_tenant_config_configuration: %s\n" % e) +- path: /reassignment-configurations + method: GET + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v2025/methods/work-reassignment#list-reassignment-configurations + source: | + from sailpoint.v2025.api.work_reassignment_api import WorkReassignmentApi + from sailpoint.v2025.api_client import ApiClient + from sailpoint.v2025.models.configuration_response import ConfigurationResponse + from sailpoint.configuration import Configuration + configuration = Configuration() + + configuration.experimental = True + + with ApiClient(configuration) as api_client: + x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') + try: + # List Reassignment Configurations + + results = WorkReassignmentApi(api_client).list_reassignment_configurations(x_sail_point_experimental=x_sail_point_experimental) + # Below is a request that includes all optional parameters + # results = WorkReassignmentApi(api_client).list_reassignment_configurations(x_sail_point_experimental) + print("The response of WorkReassignmentApi->list_reassignment_configurations:\n") + for item in results: + print(item.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling WorkReassignmentApi->list_reassignment_configurations: %s\n" % e) +- path: /reassignment-configurations/{identityId} + method: PUT + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v2025/methods/work-reassignment#put-reassignment-config + source: | + from sailpoint.v2025.api.work_reassignment_api import WorkReassignmentApi + from sailpoint.v2025.api_client import ApiClient + from sailpoint.v2025.models.configuration_item_request import ConfigurationItemRequest + from sailpoint.v2025.models.configuration_item_response import ConfigurationItemResponse + from sailpoint.configuration import Configuration + configuration = Configuration() + + configuration.experimental = True + + with ApiClient(configuration) as api_client: + identity_id = '2c91808781a71ddb0181b9090b5c504e' # str | unique identity id # str | unique identity id + x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') + configuration_item_request = '''{ + "endDate" : "2022-07-30T17:00:00Z", + "reassignedFromId" : "2c91808781a71ddb0181b9090b5c504e", + "configType" : "ACCESS_REQUESTS", + "reassignedToId" : "2c91808781a71ddb0181b9090b53504a", + "startDate" : "2022-07-21T11:13:12.345Z" + }''' # ConfigurationItemRequest | + try: + # Update Reassignment Configuration + new_configuration_item_request = ConfigurationItemRequest.from_json(configuration_item_request) + results = WorkReassignmentApi(api_client).put_reassignment_config(identity_id=identity_id, x_sail_point_experimental=x_sail_point_experimental, configuration_item_request=new_configuration_item_request) + # Below is a request that includes all optional parameters + # results = WorkReassignmentApi(api_client).put_reassignment_config(identity_id, x_sail_point_experimental, new_configuration_item_request) + print("The response of WorkReassignmentApi->put_reassignment_config:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling WorkReassignmentApi->put_reassignment_config: %s\n" % e) +- path: /reassignment-configurations/tenant-config + method: PUT + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v2025/methods/work-reassignment#put-tenant-configuration + source: | + from sailpoint.v2025.api.work_reassignment_api import WorkReassignmentApi + from sailpoint.v2025.api_client import ApiClient + from sailpoint.v2025.models.tenant_configuration_request import TenantConfigurationRequest + from sailpoint.v2025.models.tenant_configuration_response import TenantConfigurationResponse + from sailpoint.configuration import Configuration + configuration = Configuration() + + configuration.experimental = True + + with ApiClient(configuration) as api_client: + x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true') + tenant_configuration_request = '''{ + "configDetails" : { + "disabled" : true + } + }''' # TenantConfigurationRequest | + try: + # Update Tenant-wide Reassignment Configuration settings + new_tenant_configuration_request = TenantConfigurationRequest.from_json(tenant_configuration_request) + results = WorkReassignmentApi(api_client).put_tenant_configuration(x_sail_point_experimental=x_sail_point_experimental, tenant_configuration_request=new_tenant_configuration_request) + # Below is a request that includes all optional parameters + # results = WorkReassignmentApi(api_client).put_tenant_configuration(x_sail_point_experimental, new_tenant_configuration_request) + print("The response of WorkReassignmentApi->put_tenant_configuration:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling WorkReassignmentApi->put_tenant_configuration: %s\n" % e) diff --git a/static/code-examples/v3/python_code_examples_overlay.yaml b/static/code-examples/v3/python_code_examples_overlay.yaml index 2880bec27..8193b2bc8 100644 --- a/static/code-examples/v3/python_code_examples_overlay.yaml +++ b/static/code-examples/v3/python_code_examples_overlay.yaml @@ -870,36 +870,6 @@ print(item.model_dump_json(by_alias=True, indent=4)) except Exception as e: print("Exception when calling AccountActivitiesApi->list_account_activities: %s\n" % e) -- path: /account-usages/{accountId}/summaries - method: GET - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v3/methods/account-usages#get-usages-by-account-id - source: | - from sailpoint.v3.api.account_usages_api import AccountUsagesApi - from sailpoint.v3.api_client import ApiClient - from sailpoint.v3.models.account_usage import AccountUsage - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - account_id = 'ef38f94347e94562b5bb8424a56397d8' # str | ID of IDN account # str | ID of IDN account - 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) - offset = 0 # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) - count = False # bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to False) # bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to False) - sorters = '-date' # str | Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **date** (optional) # str | Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **date** (optional) - try: - # Returns account usage insights - - results = AccountUsagesApi(api_client).get_usages_by_account_id(account_id=account_id) - # Below is a request that includes all optional parameters - # results = AccountUsagesApi(api_client).get_usages_by_account_id(account_id, limit, offset, count, sorters) - print("The response of AccountUsagesApi->get_usages_by_account_id:\n") - for item in results: - print(item.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling AccountUsagesApi->get_usages_by_account_id: %s\n" % e) - path: /accounts method: POST xCodeSample: @@ -1221,6 +1191,36 @@ print(results.model_dump_json(by_alias=True, indent=4)) except Exception as e: print("Exception when calling AccountsApi->update_account: %s\n" % e) +- path: /account-usages/{accountId}/summaries + method: GET + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v3/methods/account-usages#get-usages-by-account-id + source: | + from sailpoint.v3.api.account_usages_api import AccountUsagesApi + from sailpoint.v3.api_client import ApiClient + from sailpoint.v3.models.account_usage import AccountUsage + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + account_id = 'ef38f94347e94562b5bb8424a56397d8' # str | ID of IDN account # str | ID of IDN account + 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) + offset = 0 # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) + count = False # bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to False) # bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to False) + sorters = '-date' # str | Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **date** (optional) # str | Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **date** (optional) + try: + # Returns account usage insights + + results = AccountUsagesApi(api_client).get_usages_by_account_id(account_id=account_id) + # Below is a request that includes all optional parameters + # results = AccountUsagesApi(api_client).get_usages_by_account_id(account_id, limit, offset, count, sorters) + print("The response of AccountUsagesApi->get_usages_by_account_id:\n") + for item in results: + print(item.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling AccountUsagesApi->get_usages_by_account_id: %s\n" % e) - path: /discovered-applications method: GET xCodeSample: @@ -2473,121 +2473,6 @@ print(results.model_dump_json(by_alias=True, indent=4)) except Exception as e: print("Exception when calling CertificationCampaignsApi->update_campaign: %s\n" % e) -- path: /certifications/{id}/access-summaries/{type} - method: GET - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v3/methods/certification-summaries#get-identity-access-summaries - source: | - from sailpoint.v3.api.certification_summaries_api import CertificationSummariesApi - from sailpoint.v3.api_client import ApiClient - from sailpoint.v3.models.access_summary import AccessSummary - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - id = 'ef38f94347e94562b5bb8424a56397d8' # str | The identity campaign certification ID # str | The identity campaign certification ID - type = 'ACCESS_PROFILE' # str | The type of access review item to retrieve summaries for # str | The type of access review item to retrieve summaries for - 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) - offset = 0 # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) - count = False # bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to False) # bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to False) - filters = 'access.id eq \"ef38f94347e94562b5bb8424a56397d8\"' # str | Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **completed**: *eq, ne* **access.id**: *eq, in* **access.name**: *eq, sw* **entitlement.sourceName**: *eq, sw* **accessProfile.sourceName**: *eq, sw* (optional) # str | Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **completed**: *eq, ne* **access.id**: *eq, in* **access.name**: *eq, sw* **entitlement.sourceName**: *eq, sw* **accessProfile.sourceName**: *eq, sw* (optional) - sorters = 'access.name' # str | Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **access.name** (optional) # str | Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **access.name** (optional) - try: - # Access Summaries - - results = CertificationSummariesApi(api_client).get_identity_access_summaries(id=id, type=type) - # Below is a request that includes all optional parameters - # results = CertificationSummariesApi(api_client).get_identity_access_summaries(id, type, limit, offset, count, filters, sorters) - print("The response of CertificationSummariesApi->get_identity_access_summaries:\n") - for item in results: - print(item.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling CertificationSummariesApi->get_identity_access_summaries: %s\n" % e) -- path: /certifications/{id}/decision-summary - method: GET - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v3/methods/certification-summaries#get-identity-decision-summary - source: | - from sailpoint.v3.api.certification_summaries_api import CertificationSummariesApi - from sailpoint.v3.api_client import ApiClient - from sailpoint.v3.models.identity_cert_decision_summary import IdentityCertDecisionSummary - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - id = 'ef38f94347e94562b5bb8424a56397d8' # str | The certification ID # str | The certification ID - filters = 'identitySummary.id eq \"ef38f94347e94562b5bb8424a56397d8\"' # str | Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **identitySummary.id**: *eq, in* (optional) # str | Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **identitySummary.id**: *eq, in* (optional) - try: - # Summary of Certification Decisions - - results = CertificationSummariesApi(api_client).get_identity_decision_summary(id=id) - # Below is a request that includes all optional parameters - # results = CertificationSummariesApi(api_client).get_identity_decision_summary(id, filters) - print("The response of CertificationSummariesApi->get_identity_decision_summary:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling CertificationSummariesApi->get_identity_decision_summary: %s\n" % e) -- path: /certifications/{id}/identity-summaries - method: GET - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v3/methods/certification-summaries#get-identity-summaries - source: | - from sailpoint.v3.api.certification_summaries_api import CertificationSummariesApi - from sailpoint.v3.api_client import ApiClient - from sailpoint.v3.models.certification_identity_summary import CertificationIdentitySummary - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - id = 'ef38f94347e94562b5bb8424a56397d8' # str | The identity campaign certification ID # str | The identity campaign certification ID - 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) - offset = 0 # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) - count = False # bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to False) # bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to False) - filters = 'id eq \"ef38f94347e94562b5bb8424a56397d8\"' # str | Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **id**: *eq, in* **completed**: *eq, ne* **name**: *eq, sw* (optional) # str | Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **id**: *eq, in* **completed**: *eq, ne* **name**: *eq, sw* (optional) - sorters = 'name' # str | Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **name** (optional) # str | Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **name** (optional) - try: - # Identity Summaries for Campaign Certification - - results = CertificationSummariesApi(api_client).get_identity_summaries(id=id) - # Below is a request that includes all optional parameters - # results = CertificationSummariesApi(api_client).get_identity_summaries(id, limit, offset, count, filters, sorters) - print("The response of CertificationSummariesApi->get_identity_summaries:\n") - for item in results: - print(item.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling CertificationSummariesApi->get_identity_summaries: %s\n" % e) -- path: /certifications/{id}/identity-summaries/{identitySummaryId} - method: GET - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v3/methods/certification-summaries#get-identity-summary - source: | - from sailpoint.v3.api.certification_summaries_api import CertificationSummariesApi - from sailpoint.v3.api_client import ApiClient - from sailpoint.v3.models.certification_identity_summary import CertificationIdentitySummary - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - id = 'ef38f94347e94562b5bb8424a56397d8' # str | The identity campaign certification ID # str | The identity campaign certification ID - identity_summary_id = '2c91808772a504f50172a9540e501ba8' # str | The identity summary ID # str | The identity summary ID - try: - # Summary for Identity - - results = CertificationSummariesApi(api_client).get_identity_summary(id=id, identity_summary_id=identity_summary_id) - # Below is a request that includes all optional parameters - # results = CertificationSummariesApi(api_client).get_identity_summary(id, identity_summary_id) - print("The response of CertificationSummariesApi->get_identity_summary:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling CertificationSummariesApi->get_identity_summary: %s\n" % e) - path: /certification-tasks/{id} method: GET xCodeSample: @@ -2921,6 +2806,121 @@ print(results.model_dump_json(by_alias=True, indent=4)) except Exception as e: print("Exception when calling CertificationsApi->submit_reassign_certs_async: %s\n" % e) +- path: /certifications/{id}/access-summaries/{type} + method: GET + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v3/methods/certification-summaries#get-identity-access-summaries + source: | + from sailpoint.v3.api.certification_summaries_api import CertificationSummariesApi + from sailpoint.v3.api_client import ApiClient + from sailpoint.v3.models.access_summary import AccessSummary + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + id = 'ef38f94347e94562b5bb8424a56397d8' # str | The identity campaign certification ID # str | The identity campaign certification ID + type = 'ACCESS_PROFILE' # str | The type of access review item to retrieve summaries for # str | The type of access review item to retrieve summaries for + 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) + offset = 0 # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) + count = False # bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to False) # bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to False) + filters = 'access.id eq \"ef38f94347e94562b5bb8424a56397d8\"' # str | Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **completed**: *eq, ne* **access.id**: *eq, in* **access.name**: *eq, sw* **entitlement.sourceName**: *eq, sw* **accessProfile.sourceName**: *eq, sw* (optional) # str | Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **completed**: *eq, ne* **access.id**: *eq, in* **access.name**: *eq, sw* **entitlement.sourceName**: *eq, sw* **accessProfile.sourceName**: *eq, sw* (optional) + sorters = 'access.name' # str | Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **access.name** (optional) # str | Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **access.name** (optional) + try: + # Access Summaries + + results = CertificationSummariesApi(api_client).get_identity_access_summaries(id=id, type=type) + # Below is a request that includes all optional parameters + # results = CertificationSummariesApi(api_client).get_identity_access_summaries(id, type, limit, offset, count, filters, sorters) + print("The response of CertificationSummariesApi->get_identity_access_summaries:\n") + for item in results: + print(item.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling CertificationSummariesApi->get_identity_access_summaries: %s\n" % e) +- path: /certifications/{id}/decision-summary + method: GET + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v3/methods/certification-summaries#get-identity-decision-summary + source: | + from sailpoint.v3.api.certification_summaries_api import CertificationSummariesApi + from sailpoint.v3.api_client import ApiClient + from sailpoint.v3.models.identity_cert_decision_summary import IdentityCertDecisionSummary + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + id = 'ef38f94347e94562b5bb8424a56397d8' # str | The certification ID # str | The certification ID + filters = 'identitySummary.id eq \"ef38f94347e94562b5bb8424a56397d8\"' # str | Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **identitySummary.id**: *eq, in* (optional) # str | Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **identitySummary.id**: *eq, in* (optional) + try: + # Summary of Certification Decisions + + results = CertificationSummariesApi(api_client).get_identity_decision_summary(id=id) + # Below is a request that includes all optional parameters + # results = CertificationSummariesApi(api_client).get_identity_decision_summary(id, filters) + print("The response of CertificationSummariesApi->get_identity_decision_summary:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling CertificationSummariesApi->get_identity_decision_summary: %s\n" % e) +- path: /certifications/{id}/identity-summaries + method: GET + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v3/methods/certification-summaries#get-identity-summaries + source: | + from sailpoint.v3.api.certification_summaries_api import CertificationSummariesApi + from sailpoint.v3.api_client import ApiClient + from sailpoint.v3.models.certification_identity_summary import CertificationIdentitySummary + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + id = 'ef38f94347e94562b5bb8424a56397d8' # str | The identity campaign certification ID # str | The identity campaign certification ID + 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) + offset = 0 # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) + count = False # bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to False) # bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to False) + filters = 'id eq \"ef38f94347e94562b5bb8424a56397d8\"' # str | Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **id**: *eq, in* **completed**: *eq, ne* **name**: *eq, sw* (optional) # str | Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **id**: *eq, in* **completed**: *eq, ne* **name**: *eq, sw* (optional) + sorters = 'name' # str | Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **name** (optional) # str | Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **name** (optional) + try: + # Identity Summaries for Campaign Certification + + results = CertificationSummariesApi(api_client).get_identity_summaries(id=id) + # Below is a request that includes all optional parameters + # results = CertificationSummariesApi(api_client).get_identity_summaries(id, limit, offset, count, filters, sorters) + print("The response of CertificationSummariesApi->get_identity_summaries:\n") + for item in results: + print(item.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling CertificationSummariesApi->get_identity_summaries: %s\n" % e) +- path: /certifications/{id}/identity-summaries/{identitySummaryId} + method: GET + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v3/methods/certification-summaries#get-identity-summary + source: | + from sailpoint.v3.api.certification_summaries_api import CertificationSummariesApi + from sailpoint.v3.api_client import ApiClient + from sailpoint.v3.models.certification_identity_summary import CertificationIdentitySummary + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + id = 'ef38f94347e94562b5bb8424a56397d8' # str | The identity campaign certification ID # str | The identity campaign certification ID + identity_summary_id = '2c91808772a504f50172a9540e501ba8' # str | The identity summary ID # str | The identity summary ID + try: + # Summary for Identity + + results = CertificationSummariesApi(api_client).get_identity_summary(id=id, identity_summary_id=identity_summary_id) + # Below is a request that includes all optional parameters + # results = CertificationSummariesApi(api_client).get_identity_summary(id, identity_summary_id) + print("The response of CertificationSummariesApi->get_identity_summary:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling CertificationSummariesApi->get_identity_summary: %s\n" % e) - path: /configuration-hub/object-mappings/{sourceOrg} method: POST xCodeSample: @@ -4249,6 +4249,357 @@ print(results.model_dump_json(by_alias=True, indent=4)) except Exception as e: print("Exception when calling LifecycleStatesApi->update_lifecycle_states: %s\n" % e) +- path: /managed-clients + method: POST + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v3/methods/managed-clients#create-managed-client + source: | + from sailpoint.v3.api.managed_clients_api import ManagedClientsApi + from sailpoint.v3.api_client import ApiClient + from sailpoint.v3.models.managed_client import ManagedClient + from sailpoint.v3.models.managed_client_request import ManagedClientRequest + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + managed_client_request = '''{ + "name" : "aName", + "description" : "A short description of the ManagedClient", + "clusterId" : "aClusterId", + "type" : "VA" + }''' # ManagedClientRequest | + try: + # Create Managed Client + new_managed_client_request = ManagedClientRequest.from_json(managed_client_request) + results = ManagedClientsApi(api_client).create_managed_client(managed_client_request=new_managed_client_request) + # Below is a request that includes all optional parameters + # results = ManagedClientsApi(api_client).create_managed_client(new_managed_client_request) + print("The response of ManagedClientsApi->create_managed_client:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling ManagedClientsApi->create_managed_client: %s\n" % e) +- path: /managed-clients/{id} + method: DELETE + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v3/methods/managed-clients#delete-managed-client + source: | + from sailpoint.v3.api.managed_clients_api import ManagedClientsApi + from sailpoint.v3.api_client import ApiClient + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + id = '4440278c-0ce2-41ee-a0a9-f5cfd5e8d3b7' # str | Managed client ID. # str | Managed client ID. + try: + # Delete Managed Client + + ManagedClientsApi(api_client).delete_managed_client(id=id) + # Below is a request that includes all optional parameters + # ManagedClientsApi(api_client).delete_managed_client(id) + except Exception as e: + print("Exception when calling ManagedClientsApi->delete_managed_client: %s\n" % e) +- path: /managed-clients/{id} + method: GET + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v3/methods/managed-clients#get-managed-client + source: | + from sailpoint.v3.api.managed_clients_api import ManagedClientsApi + from sailpoint.v3.api_client import ApiClient + from sailpoint.v3.models.managed_client import ManagedClient + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + id = '4440278c-0ce2-41ee-a0a9-f5cfd5e8d3b7' # str | Managed client ID. # str | Managed client ID. + try: + # Get Managed Client + + results = ManagedClientsApi(api_client).get_managed_client(id=id) + # Below is a request that includes all optional parameters + # results = ManagedClientsApi(api_client).get_managed_client(id) + print("The response of ManagedClientsApi->get_managed_client:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling ManagedClientsApi->get_managed_client: %s\n" % e) +- path: /managed-clients/{id}/status + method: GET + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v3/methods/managed-clients#get-managed-client-status + source: | + from sailpoint.v3.api.managed_clients_api import ManagedClientsApi + from sailpoint.v3.api_client import ApiClient + from sailpoint.v3.models.managed_client_status import ManagedClientStatus + from sailpoint.v3.models.managed_client_type import ManagedClientType + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + id = 'aClientId' # str | Managed client ID to get status for. # str | Managed client ID to get status for. + type = sailpoint.v3.ManagedClientType() # ManagedClientType | Managed client type to get status for. # ManagedClientType | Managed client type to get status for. + try: + # Get Managed Client Status + + results = ManagedClientsApi(api_client).get_managed_client_status(id=id, type=type) + # Below is a request that includes all optional parameters + # results = ManagedClientsApi(api_client).get_managed_client_status(id, type) + print("The response of ManagedClientsApi->get_managed_client_status:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling ManagedClientsApi->get_managed_client_status: %s\n" % e) +- path: /managed-clients + method: GET + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v3/methods/managed-clients#get-managed-clients + source: | + from sailpoint.v3.api.managed_clients_api import ManagedClientsApi + from sailpoint.v3.api_client import ApiClient + from sailpoint.v3.models.managed_client import ManagedClient + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + offset = 0 # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) + 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) + count = False # bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to False) # bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to False) + filters = 'name eq \"client name\"' # str | Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **id**: *eq* **name**: *eq* **clientId**: *eq* **clusterId**: *eq* (optional) # str | Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **id**: *eq* **name**: *eq* **clientId**: *eq* **clusterId**: *eq* (optional) + try: + # Get Managed Clients + + results = ManagedClientsApi(api_client).get_managed_clients() + # Below is a request that includes all optional parameters + # results = ManagedClientsApi(api_client).get_managed_clients(offset, limit, count, filters) + print("The response of ManagedClientsApi->get_managed_clients:\n") + for item in results: + print(item.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling ManagedClientsApi->get_managed_clients: %s\n" % e) +- path: /managed-clients/{id} + method: PATCH + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v3/methods/managed-clients#update-managed-client + source: | + from sailpoint.v3.api.managed_clients_api import ManagedClientsApi + from sailpoint.v3.api_client import ApiClient + from sailpoint.v3.models.json_patch_operation import JsonPatchOperation + from sailpoint.v3.models.managed_client import ManagedClient + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + id = '4440278c-0ce2-41ee-a0a9-f5cfd5e8d3b7' # str | Managed client ID. # str | Managed client ID. + json_patch_operation = '''[sailpoint.v3.JsonPatchOperation()]''' # List[JsonPatchOperation] | JSONPatch payload used to update the object. + try: + # Update Managed Client + new_json_patch_operation = JsonPatchOperation.from_json(json_patch_operation) + results = ManagedClientsApi(api_client).update_managed_client(id=id, json_patch_operation=new_json_patch_operation) + # Below is a request that includes all optional parameters + # results = ManagedClientsApi(api_client).update_managed_client(id, new_json_patch_operation) + print("The response of ManagedClientsApi->update_managed_client:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling ManagedClientsApi->update_managed_client: %s\n" % e) +- path: /managed-clusters + method: POST + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v3/methods/managed-clusters#create-managed-cluster + source: | + from sailpoint.v3.api.managed_clusters_api import ManagedClustersApi + from sailpoint.v3.api_client import ApiClient + from sailpoint.v3.models.managed_cluster import ManagedCluster + from sailpoint.v3.models.managed_cluster_request import ManagedClusterRequest + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + managed_cluster_request = '''{ + "configuration" : { + "clusterExternalId" : "externalId", + "ccgVersion" : "77.0.0" + }, + "name" : "Managed Cluster Name", + "description" : "A short description of the managed cluster.", + "type" : "idn" + }''' # ManagedClusterRequest | + try: + # Create Create Managed Cluster + new_managed_cluster_request = ManagedClusterRequest.from_json(managed_cluster_request) + results = ManagedClustersApi(api_client).create_managed_cluster(managed_cluster_request=new_managed_cluster_request) + # Below is a request that includes all optional parameters + # results = ManagedClustersApi(api_client).create_managed_cluster(new_managed_cluster_request) + print("The response of ManagedClustersApi->create_managed_cluster:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling ManagedClustersApi->create_managed_cluster: %s\n" % e) +- path: /managed-clusters/{id} + method: DELETE + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v3/methods/managed-clusters#delete-managed-cluster + source: | + from sailpoint.v3.api.managed_clusters_api import ManagedClustersApi + from sailpoint.v3.api_client import ApiClient + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + id = '2c9180897de347a2017de8859e8c5039' # str | Managed cluster ID. # str | Managed cluster ID. + remove_clients = False # bool | Flag to determine the need to delete a cluster with clients. (optional) (default to False) # bool | Flag to determine the need to delete a cluster with clients. (optional) (default to False) + try: + # Delete Managed Cluster + + ManagedClustersApi(api_client).delete_managed_cluster(id=id) + # Below is a request that includes all optional parameters + # ManagedClustersApi(api_client).delete_managed_cluster(id, remove_clients) + except Exception as e: + print("Exception when calling ManagedClustersApi->delete_managed_cluster: %s\n" % e) +- path: /managed-clusters/{id}/log-config + method: GET + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v3/methods/managed-clusters#get-client-log-configuration + source: | + from sailpoint.v3.api.managed_clusters_api import ManagedClustersApi + from sailpoint.v3.api_client import ApiClient + from sailpoint.v3.models.client_log_configuration import ClientLogConfiguration + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + id = '2b838de9-db9b-abcf-e646-d4f274ad4238' # str | ID of managed cluster to get log configuration for. # str | ID of managed cluster to get log configuration for. + try: + # Get Managed Cluster Log Configuration + + results = ManagedClustersApi(api_client).get_client_log_configuration(id=id) + # Below is a request that includes all optional parameters + # results = ManagedClustersApi(api_client).get_client_log_configuration(id) + print("The response of ManagedClustersApi->get_client_log_configuration:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling ManagedClustersApi->get_client_log_configuration: %s\n" % e) +- path: /managed-clusters/{id} + method: GET + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v3/methods/managed-clusters#get-managed-cluster + source: | + from sailpoint.v3.api.managed_clusters_api import ManagedClustersApi + from sailpoint.v3.api_client import ApiClient + from sailpoint.v3.models.managed_cluster import ManagedCluster + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + id = '2c9180897de347a2017de8859e8c5039' # str | Managed cluster ID. # str | Managed cluster ID. + try: + # Get Managed Cluster + + results = ManagedClustersApi(api_client).get_managed_cluster(id=id) + # Below is a request that includes all optional parameters + # results = ManagedClustersApi(api_client).get_managed_cluster(id) + print("The response of ManagedClustersApi->get_managed_cluster:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling ManagedClustersApi->get_managed_cluster: %s\n" % e) +- path: /managed-clusters + method: GET + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v3/methods/managed-clusters#get-managed-clusters + source: | + from sailpoint.v3.api.managed_clusters_api import ManagedClustersApi + from sailpoint.v3.api_client import ApiClient + from sailpoint.v3.models.managed_cluster import ManagedCluster + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + offset = 0 # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) + 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) + count = False # bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to False) # bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to False) + filters = 'operational eq \"operation\"' # str | Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **operational**: *eq* (optional) # str | Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **operational**: *eq* (optional) + try: + # Get Managed Clusters + + results = ManagedClustersApi(api_client).get_managed_clusters() + # Below is a request that includes all optional parameters + # results = ManagedClustersApi(api_client).get_managed_clusters(offset, limit, count, filters) + print("The response of ManagedClustersApi->get_managed_clusters:\n") + for item in results: + print(item.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling ManagedClustersApi->get_managed_clusters: %s\n" % e) +- path: /managed-clusters/{id}/log-config + method: PUT + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v3/methods/managed-clusters#put-client-log-configuration + source: | + from sailpoint.v3.api.managed_clusters_api import ManagedClustersApi + from sailpoint.v3.api_client import ApiClient + from sailpoint.v3.models.client_log_configuration import ClientLogConfiguration + from sailpoint.v3.models.put_client_log_configuration_request import PutClientLogConfigurationRequest + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + id = '2b838de9-db9b-abcf-e646-d4f274ad4238' # str | ID of the managed cluster to update the log configuration for. # str | ID of the managed cluster to update the log configuration for. + put_client_log_configuration_request = '''sailpoint.v3.PutClientLogConfigurationRequest()''' # PutClientLogConfigurationRequest | Client log configuration for the given managed cluster. + try: + # Update Managed Cluster Log Configuration + new_put_client_log_configuration_request = PutClientLogConfigurationRequest.from_json(put_client_log_configuration_request) + results = ManagedClustersApi(api_client).put_client_log_configuration(id=id, put_client_log_configuration_request=new_put_client_log_configuration_request) + # Below is a request that includes all optional parameters + # results = ManagedClustersApi(api_client).put_client_log_configuration(id, new_put_client_log_configuration_request) + print("The response of ManagedClustersApi->put_client_log_configuration:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling ManagedClustersApi->put_client_log_configuration: %s\n" % e) +- path: /managed-clusters/{id} + method: PATCH + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v3/methods/managed-clusters#update-managed-cluster + source: | + from sailpoint.v3.api.managed_clusters_api import ManagedClustersApi + from sailpoint.v3.api_client import ApiClient + from sailpoint.v3.models.json_patch_operation import JsonPatchOperation + from sailpoint.v3.models.managed_cluster import ManagedCluster + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + id = '2c9180897de347a2017de8859e8c5039' # str | Managed cluster ID. # str | Managed cluster ID. + json_patch_operation = '''[sailpoint.v3.JsonPatchOperation()]''' # List[JsonPatchOperation] | JSONPatch payload used to update the object. + try: + # Update Managed Cluster + new_json_patch_operation = JsonPatchOperation.from_json(json_patch_operation) + results = ManagedClustersApi(api_client).update_managed_cluster(id=id, json_patch_operation=new_json_patch_operation) + # Below is a request that includes all optional parameters + # results = ManagedClustersApi(api_client).update_managed_cluster(id, new_json_patch_operation) + print("The response of ManagedClustersApi->update_managed_cluster:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling ManagedClustersApi->update_managed_cluster: %s\n" % e) - path: /mfa/{method}/delete method: DELETE xCodeSample: @@ -4637,357 +4988,6 @@ print(results.model_dump_json(by_alias=True, indent=4)) except Exception as e: print("Exception when calling MFAControllerApi->send_token_auth_request: %s\n" % e) -- path: /managed-clients - method: POST - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v3/methods/managed-clients#create-managed-client - source: | - from sailpoint.v3.api.managed_clients_api import ManagedClientsApi - from sailpoint.v3.api_client import ApiClient - from sailpoint.v3.models.managed_client import ManagedClient - from sailpoint.v3.models.managed_client_request import ManagedClientRequest - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - managed_client_request = '''{ - "name" : "aName", - "description" : "A short description of the ManagedClient", - "clusterId" : "aClusterId", - "type" : "VA" - }''' # ManagedClientRequest | - try: - # Create Managed Client - new_managed_client_request = ManagedClientRequest.from_json(managed_client_request) - results = ManagedClientsApi(api_client).create_managed_client(managed_client_request=new_managed_client_request) - # Below is a request that includes all optional parameters - # results = ManagedClientsApi(api_client).create_managed_client(new_managed_client_request) - print("The response of ManagedClientsApi->create_managed_client:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling ManagedClientsApi->create_managed_client: %s\n" % e) -- path: /managed-clients/{id} - method: DELETE - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v3/methods/managed-clients#delete-managed-client - source: | - from sailpoint.v3.api.managed_clients_api import ManagedClientsApi - from sailpoint.v3.api_client import ApiClient - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - id = '4440278c-0ce2-41ee-a0a9-f5cfd5e8d3b7' # str | Managed client ID. # str | Managed client ID. - try: - # Delete Managed Client - - ManagedClientsApi(api_client).delete_managed_client(id=id) - # Below is a request that includes all optional parameters - # ManagedClientsApi(api_client).delete_managed_client(id) - except Exception as e: - print("Exception when calling ManagedClientsApi->delete_managed_client: %s\n" % e) -- path: /managed-clients/{id} - method: GET - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v3/methods/managed-clients#get-managed-client - source: | - from sailpoint.v3.api.managed_clients_api import ManagedClientsApi - from sailpoint.v3.api_client import ApiClient - from sailpoint.v3.models.managed_client import ManagedClient - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - id = '4440278c-0ce2-41ee-a0a9-f5cfd5e8d3b7' # str | Managed client ID. # str | Managed client ID. - try: - # Get Managed Client - - results = ManagedClientsApi(api_client).get_managed_client(id=id) - # Below is a request that includes all optional parameters - # results = ManagedClientsApi(api_client).get_managed_client(id) - print("The response of ManagedClientsApi->get_managed_client:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling ManagedClientsApi->get_managed_client: %s\n" % e) -- path: /managed-clients/{id}/status - method: GET - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v3/methods/managed-clients#get-managed-client-status - source: | - from sailpoint.v3.api.managed_clients_api import ManagedClientsApi - from sailpoint.v3.api_client import ApiClient - from sailpoint.v3.models.managed_client_status import ManagedClientStatus - from sailpoint.v3.models.managed_client_type import ManagedClientType - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - id = 'aClientId' # str | Managed client ID to get status for. # str | Managed client ID to get status for. - type = sailpoint.v3.ManagedClientType() # ManagedClientType | Managed client type to get status for. # ManagedClientType | Managed client type to get status for. - try: - # Get Managed Client Status - - results = ManagedClientsApi(api_client).get_managed_client_status(id=id, type=type) - # Below is a request that includes all optional parameters - # results = ManagedClientsApi(api_client).get_managed_client_status(id, type) - print("The response of ManagedClientsApi->get_managed_client_status:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling ManagedClientsApi->get_managed_client_status: %s\n" % e) -- path: /managed-clients - method: GET - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v3/methods/managed-clients#get-managed-clients - source: | - from sailpoint.v3.api.managed_clients_api import ManagedClientsApi - from sailpoint.v3.api_client import ApiClient - from sailpoint.v3.models.managed_client import ManagedClient - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - offset = 0 # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) - 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) - count = False # bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to False) # bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to False) - filters = 'name eq \"client name\"' # str | Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **id**: *eq* **name**: *eq* **clientId**: *eq* **clusterId**: *eq* (optional) # str | Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **id**: *eq* **name**: *eq* **clientId**: *eq* **clusterId**: *eq* (optional) - try: - # Get Managed Clients - - results = ManagedClientsApi(api_client).get_managed_clients() - # Below is a request that includes all optional parameters - # results = ManagedClientsApi(api_client).get_managed_clients(offset, limit, count, filters) - print("The response of ManagedClientsApi->get_managed_clients:\n") - for item in results: - print(item.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling ManagedClientsApi->get_managed_clients: %s\n" % e) -- path: /managed-clients/{id} - method: PATCH - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v3/methods/managed-clients#update-managed-client - source: | - from sailpoint.v3.api.managed_clients_api import ManagedClientsApi - from sailpoint.v3.api_client import ApiClient - from sailpoint.v3.models.json_patch_operation import JsonPatchOperation - from sailpoint.v3.models.managed_client import ManagedClient - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - id = '4440278c-0ce2-41ee-a0a9-f5cfd5e8d3b7' # str | Managed client ID. # str | Managed client ID. - json_patch_operation = '''[sailpoint.v3.JsonPatchOperation()]''' # List[JsonPatchOperation] | JSONPatch payload used to update the object. - try: - # Update Managed Client - new_json_patch_operation = JsonPatchOperation.from_json(json_patch_operation) - results = ManagedClientsApi(api_client).update_managed_client(id=id, json_patch_operation=new_json_patch_operation) - # Below is a request that includes all optional parameters - # results = ManagedClientsApi(api_client).update_managed_client(id, new_json_patch_operation) - print("The response of ManagedClientsApi->update_managed_client:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling ManagedClientsApi->update_managed_client: %s\n" % e) -- path: /managed-clusters - method: POST - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v3/methods/managed-clusters#create-managed-cluster - source: | - from sailpoint.v3.api.managed_clusters_api import ManagedClustersApi - from sailpoint.v3.api_client import ApiClient - from sailpoint.v3.models.managed_cluster import ManagedCluster - from sailpoint.v3.models.managed_cluster_request import ManagedClusterRequest - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - managed_cluster_request = '''{ - "configuration" : { - "clusterExternalId" : "externalId", - "ccgVersion" : "77.0.0" - }, - "name" : "Managed Cluster Name", - "description" : "A short description of the managed cluster.", - "type" : "idn" - }''' # ManagedClusterRequest | - try: - # Create Create Managed Cluster - new_managed_cluster_request = ManagedClusterRequest.from_json(managed_cluster_request) - results = ManagedClustersApi(api_client).create_managed_cluster(managed_cluster_request=new_managed_cluster_request) - # Below is a request that includes all optional parameters - # results = ManagedClustersApi(api_client).create_managed_cluster(new_managed_cluster_request) - print("The response of ManagedClustersApi->create_managed_cluster:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling ManagedClustersApi->create_managed_cluster: %s\n" % e) -- path: /managed-clusters/{id} - method: DELETE - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v3/methods/managed-clusters#delete-managed-cluster - source: | - from sailpoint.v3.api.managed_clusters_api import ManagedClustersApi - from sailpoint.v3.api_client import ApiClient - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - id = '2c9180897de347a2017de8859e8c5039' # str | Managed cluster ID. # str | Managed cluster ID. - remove_clients = False # bool | Flag to determine the need to delete a cluster with clients. (optional) (default to False) # bool | Flag to determine the need to delete a cluster with clients. (optional) (default to False) - try: - # Delete Managed Cluster - - ManagedClustersApi(api_client).delete_managed_cluster(id=id) - # Below is a request that includes all optional parameters - # ManagedClustersApi(api_client).delete_managed_cluster(id, remove_clients) - except Exception as e: - print("Exception when calling ManagedClustersApi->delete_managed_cluster: %s\n" % e) -- path: /managed-clusters/{id}/log-config - method: GET - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v3/methods/managed-clusters#get-client-log-configuration - source: | - from sailpoint.v3.api.managed_clusters_api import ManagedClustersApi - from sailpoint.v3.api_client import ApiClient - from sailpoint.v3.models.client_log_configuration import ClientLogConfiguration - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - id = '2b838de9-db9b-abcf-e646-d4f274ad4238' # str | ID of managed cluster to get log configuration for. # str | ID of managed cluster to get log configuration for. - try: - # Get Managed Cluster Log Configuration - - results = ManagedClustersApi(api_client).get_client_log_configuration(id=id) - # Below is a request that includes all optional parameters - # results = ManagedClustersApi(api_client).get_client_log_configuration(id) - print("The response of ManagedClustersApi->get_client_log_configuration:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling ManagedClustersApi->get_client_log_configuration: %s\n" % e) -- path: /managed-clusters/{id} - method: GET - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v3/methods/managed-clusters#get-managed-cluster - source: | - from sailpoint.v3.api.managed_clusters_api import ManagedClustersApi - from sailpoint.v3.api_client import ApiClient - from sailpoint.v3.models.managed_cluster import ManagedCluster - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - id = '2c9180897de347a2017de8859e8c5039' # str | Managed cluster ID. # str | Managed cluster ID. - try: - # Get Managed Cluster - - results = ManagedClustersApi(api_client).get_managed_cluster(id=id) - # Below is a request that includes all optional parameters - # results = ManagedClustersApi(api_client).get_managed_cluster(id) - print("The response of ManagedClustersApi->get_managed_cluster:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling ManagedClustersApi->get_managed_cluster: %s\n" % e) -- path: /managed-clusters - method: GET - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v3/methods/managed-clusters#get-managed-clusters - source: | - from sailpoint.v3.api.managed_clusters_api import ManagedClustersApi - from sailpoint.v3.api_client import ApiClient - from sailpoint.v3.models.managed_cluster import ManagedCluster - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - offset = 0 # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) - 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) - count = False # bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to False) # bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to False) - filters = 'operational eq \"operation\"' # str | Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **operational**: *eq* (optional) # str | Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **operational**: *eq* (optional) - try: - # Get Managed Clusters - - results = ManagedClustersApi(api_client).get_managed_clusters() - # Below is a request that includes all optional parameters - # results = ManagedClustersApi(api_client).get_managed_clusters(offset, limit, count, filters) - print("The response of ManagedClustersApi->get_managed_clusters:\n") - for item in results: - print(item.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling ManagedClustersApi->get_managed_clusters: %s\n" % e) -- path: /managed-clusters/{id}/log-config - method: PUT - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v3/methods/managed-clusters#put-client-log-configuration - source: | - from sailpoint.v3.api.managed_clusters_api import ManagedClustersApi - from sailpoint.v3.api_client import ApiClient - from sailpoint.v3.models.client_log_configuration import ClientLogConfiguration - from sailpoint.v3.models.put_client_log_configuration_request import PutClientLogConfigurationRequest - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - id = '2b838de9-db9b-abcf-e646-d4f274ad4238' # str | ID of the managed cluster to update the log configuration for. # str | ID of the managed cluster to update the log configuration for. - put_client_log_configuration_request = '''sailpoint.v3.PutClientLogConfigurationRequest()''' # PutClientLogConfigurationRequest | Client log configuration for the given managed cluster. - try: - # Update Managed Cluster Log Configuration - new_put_client_log_configuration_request = PutClientLogConfigurationRequest.from_json(put_client_log_configuration_request) - results = ManagedClustersApi(api_client).put_client_log_configuration(id=id, put_client_log_configuration_request=new_put_client_log_configuration_request) - # Below is a request that includes all optional parameters - # results = ManagedClustersApi(api_client).put_client_log_configuration(id, new_put_client_log_configuration_request) - print("The response of ManagedClustersApi->put_client_log_configuration:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling ManagedClustersApi->put_client_log_configuration: %s\n" % e) -- path: /managed-clusters/{id} - method: PATCH - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v3/methods/managed-clusters#update-managed-cluster - source: | - from sailpoint.v3.api.managed_clusters_api import ManagedClustersApi - from sailpoint.v3.api_client import ApiClient - from sailpoint.v3.models.json_patch_operation import JsonPatchOperation - from sailpoint.v3.models.managed_cluster import ManagedCluster - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - id = '2c9180897de347a2017de8859e8c5039' # str | Managed cluster ID. # str | Managed cluster ID. - json_patch_operation = '''[sailpoint.v3.JsonPatchOperation()]''' # List[JsonPatchOperation] | JSONPatch payload used to update the object. - try: - # Update Managed Cluster - new_json_patch_operation = JsonPatchOperation.from_json(json_patch_operation) - results = ManagedClustersApi(api_client).update_managed_cluster(id=id, json_patch_operation=new_json_patch_operation) - # Below is a request that includes all optional parameters - # results = ManagedClustersApi(api_client).update_managed_cluster(id, new_json_patch_operation) - print("The response of ManagedClustersApi->update_managed_cluster:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling ManagedClustersApi->update_managed_cluster: %s\n" % e) - path: /non-employee-approvals/{id}/approve method: POST xCodeSample: @@ -7264,646 +7264,6 @@ print(results.model_dump_json(by_alias=True, indent=4)) except Exception as e: print("Exception when calling RolesApi->patch_role: %s\n" % e) -- path: /sod-policies - method: POST - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v3/methods/sod-policies#create-sod-policy - source: | - from sailpoint.v3.api.sod_policies_api import SODPoliciesApi - from sailpoint.v3.api_client import ApiClient - from sailpoint.v3.models.sod_policy import SodPolicy - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - sod_policy = '''{ - "conflictingAccessCriteria" : { - "leftCriteria" : { - "name" : "money-in", - "criteriaList" : [ { - "type" : "ENTITLEMENT", - "id" : "2c9180866166b5b0016167c32ef31a66", - "name" : "Administrator" - }, { - "type" : "ENTITLEMENT", - "id" : "2c9180866166b5b0016167c32ef31a67", - "name" : "Administrator" - } ] - }, - "rightCriteria" : { - "name" : "money-in", - "criteriaList" : [ { - "type" : "ENTITLEMENT", - "id" : "2c9180866166b5b0016167c32ef31a66", - "name" : "Administrator" - }, { - "type" : "ENTITLEMENT", - "id" : "2c9180866166b5b0016167c32ef31a67", - "name" : "Administrator" - } ] - } - }, - "ownerRef" : { - "name" : "Support", - "id" : "2c9180a46faadee4016fb4e018c20639", - "type" : "IDENTITY" - }, - "created" : "2020-01-01T00:00:00Z", - "scheduled" : true, - "creatorId" : "0f11f2a4-7c94-4bf3-a2bd-742580fe3bde", - "modifierId" : "0f11f2a4-7c94-4bf3-a2bd-742580fe3bde", - "description" : "This policy ensures compliance of xyz", - "violationOwnerAssignmentConfig" : { - "assignmentRule" : "MANAGER", - "ownerRef" : { - "name" : "Support", - "id" : "2c9180a46faadee4016fb4e018c20639", - "type" : "IDENTITY" - } - }, - "correctionAdvice" : "Based on the role of the employee, managers should remove access that is not required for their job function.", - "type" : "GENERAL", - "tags" : [ "TAG1", "TAG2" ], - "name" : "policy-xyz", - "modified" : "2020-01-01T00:00:00Z", - "policyQuery" : "@access(id:0f11f2a4-7c94-4bf3-a2bd-742580fe3bdg) AND @access(id:0f11f2a4-7c94-4bf3-a2bd-742580fe3bdf)", - "compensatingControls" : "Have a manager review the transaction decisions for their \"out of compliance\" employee", - "id" : "0f11f2a4-7c94-4bf3-a2bd-742580fe3bde", - "state" : "ENFORCED", - "externalPolicyReference" : "XYZ policy" - }''' # SodPolicy | - try: - # Create SOD policy - new_sod_policy = SodPolicy.from_json(sod_policy) - results = SODPoliciesApi(api_client).create_sod_policy(sod_policy=new_sod_policy) - # Below is a request that includes all optional parameters - # results = SODPoliciesApi(api_client).create_sod_policy(new_sod_policy) - print("The response of SODPoliciesApi->create_sod_policy:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling SODPoliciesApi->create_sod_policy: %s\n" % e) -- path: /sod-policies/{id} - method: DELETE - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v3/methods/sod-policies#delete-sod-policy - source: | - from sailpoint.v3.api.sod_policies_api import SODPoliciesApi - from sailpoint.v3.api_client import ApiClient - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - id = 'ef38f943-47e9-4562-b5bb-8424a56397d8' # str | The ID of the SOD Policy to delete. # str | The ID of the SOD Policy to delete. - logical = True # bool | Indicates whether this is a soft delete (logical true) or a hard delete. Soft delete marks the policy as deleted and just save it with this status. It could be fully deleted or recovered further. Hard delete vise versa permanently delete SOD request during this call. (optional) (default to True) # bool | Indicates whether this is a soft delete (logical true) or a hard delete. Soft delete marks the policy as deleted and just save it with this status. It could be fully deleted or recovered further. Hard delete vise versa permanently delete SOD request during this call. (optional) (default to True) - try: - # Delete SOD policy by ID - - SODPoliciesApi(api_client).delete_sod_policy(id=id) - # Below is a request that includes all optional parameters - # SODPoliciesApi(api_client).delete_sod_policy(id, logical) - except Exception as e: - print("Exception when calling SODPoliciesApi->delete_sod_policy: %s\n" % e) -- path: /sod-policies/{id}/schedule - method: DELETE - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v3/methods/sod-policies#delete-sod-policy-schedule - source: | - from sailpoint.v3.api.sod_policies_api import SODPoliciesApi - from sailpoint.v3.api_client import ApiClient - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - id = 'ef38f943-47e9-4562-b5bb-8424a56397d8' # str | The ID of the SOD policy the schedule must be deleted for. # str | The ID of the SOD policy the schedule must be deleted for. - try: - # Delete SOD policy schedule - - SODPoliciesApi(api_client).delete_sod_policy_schedule(id=id) - # Below is a request that includes all optional parameters - # SODPoliciesApi(api_client).delete_sod_policy_schedule(id) - except Exception as e: - print("Exception when calling SODPoliciesApi->delete_sod_policy_schedule: %s\n" % e) -- path: /sod-violation-report/{reportResultId}/download/{fileName} - method: GET - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v3/methods/sod-policies#get-custom-violation-report - source: | - from sailpoint.v3.api.sod_policies_api import SODPoliciesApi - from sailpoint.v3.api_client import ApiClient - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - report_result_id = 'ef38f94347e94562b5bb8424a56397d8' # str | The ID of the report reference to download. # str | The ID of the report reference to download. - file_name = 'custom-name' # str | Custom Name for the file. # str | Custom Name for the file. - try: - # Download custom violation report - - results = SODPoliciesApi(api_client).get_custom_violation_report(report_result_id=report_result_id, file_name=file_name) - # Below is a request that includes all optional parameters - # results = SODPoliciesApi(api_client).get_custom_violation_report(report_result_id, file_name) - print("The response of SODPoliciesApi->get_custom_violation_report:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling SODPoliciesApi->get_custom_violation_report: %s\n" % e) -- path: /sod-violation-report/{reportResultId}/download - method: GET - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v3/methods/sod-policies#get-default-violation-report - source: | - from sailpoint.v3.api.sod_policies_api import SODPoliciesApi - from sailpoint.v3.api_client import ApiClient - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - report_result_id = 'ef38f94347e94562b5bb8424a56397d8' # str | The ID of the report reference to download. # str | The ID of the report reference to download. - try: - # Download violation report - - results = SODPoliciesApi(api_client).get_default_violation_report(report_result_id=report_result_id) - # Below is a request that includes all optional parameters - # results = SODPoliciesApi(api_client).get_default_violation_report(report_result_id) - print("The response of SODPoliciesApi->get_default_violation_report:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling SODPoliciesApi->get_default_violation_report: %s\n" % e) -- path: /sod-violation-report - method: GET - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v3/methods/sod-policies#get-sod-all-report-run-status - source: | - from sailpoint.v3.api.sod_policies_api import SODPoliciesApi - from sailpoint.v3.api_client import ApiClient - from sailpoint.v3.models.report_result_reference import ReportResultReference - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - try: - # Get multi-report run task status - - results = SODPoliciesApi(api_client).get_sod_all_report_run_status() - # Below is a request that includes all optional parameters - # results = SODPoliciesApi(api_client).get_sod_all_report_run_status() - print("The response of SODPoliciesApi->get_sod_all_report_run_status:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling SODPoliciesApi->get_sod_all_report_run_status: %s\n" % e) -- path: /sod-policies/{id} - method: GET - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v3/methods/sod-policies#get-sod-policy - source: | - from sailpoint.v3.api.sod_policies_api import SODPoliciesApi - from sailpoint.v3.api_client import ApiClient - from sailpoint.v3.models.sod_policy import SodPolicy - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - id = 'ef38f943-47e9-4562-b5bb-8424a56397d8' # str | The ID of the SOD Policy to retrieve. # str | The ID of the SOD Policy to retrieve. - try: - # Get SOD policy by ID - - results = SODPoliciesApi(api_client).get_sod_policy(id=id) - # Below is a request that includes all optional parameters - # results = SODPoliciesApi(api_client).get_sod_policy(id) - print("The response of SODPoliciesApi->get_sod_policy:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling SODPoliciesApi->get_sod_policy: %s\n" % e) -- path: /sod-policies/{id}/schedule - method: GET - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v3/methods/sod-policies#get-sod-policy-schedule - source: | - from sailpoint.v3.api.sod_policies_api import SODPoliciesApi - from sailpoint.v3.api_client import ApiClient - from sailpoint.v3.models.sod_policy_schedule import SodPolicySchedule - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - id = 'ef38f943-47e9-4562-b5bb-8424a56397d8' # str | The ID of the SOD policy schedule to retrieve. # str | The ID of the SOD policy schedule to retrieve. - try: - # Get SOD policy schedule - - results = SODPoliciesApi(api_client).get_sod_policy_schedule(id=id) - # Below is a request that includes all optional parameters - # results = SODPoliciesApi(api_client).get_sod_policy_schedule(id) - print("The response of SODPoliciesApi->get_sod_policy_schedule:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling SODPoliciesApi->get_sod_policy_schedule: %s\n" % e) -- path: /sod-policies/sod-violation-report-status/{reportResultId} - method: GET - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v3/methods/sod-policies#get-sod-violation-report-run-status - source: | - from sailpoint.v3.api.sod_policies_api import SODPoliciesApi - from sailpoint.v3.api_client import ApiClient - from sailpoint.v3.models.report_result_reference import ReportResultReference - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - report_result_id = '2e8d8180-24bc-4d21-91c6-7affdb473b0d' # str | The ID of the report reference to retrieve. # str | The ID of the report reference to retrieve. - try: - # Get violation report run status - - results = SODPoliciesApi(api_client).get_sod_violation_report_run_status(report_result_id=report_result_id) - # Below is a request that includes all optional parameters - # results = SODPoliciesApi(api_client).get_sod_violation_report_run_status(report_result_id) - print("The response of SODPoliciesApi->get_sod_violation_report_run_status:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling SODPoliciesApi->get_sod_violation_report_run_status: %s\n" % e) -- path: /sod-policies/{id}/violation-report - method: GET - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v3/methods/sod-policies#get-sod-violation-report-status - source: | - from sailpoint.v3.api.sod_policies_api import SODPoliciesApi - from sailpoint.v3.api_client import ApiClient - from sailpoint.v3.models.report_result_reference import ReportResultReference - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - id = 'ef38f943-47e9-4562-b5bb-8424a56397d8' # str | The ID of the violation report to retrieve status for. # str | The ID of the violation report to retrieve status for. - try: - # Get SOD violation report status - - results = SODPoliciesApi(api_client).get_sod_violation_report_status(id=id) - # Below is a request that includes all optional parameters - # results = SODPoliciesApi(api_client).get_sod_violation_report_status(id) - print("The response of SODPoliciesApi->get_sod_violation_report_status:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling SODPoliciesApi->get_sod_violation_report_status: %s\n" % e) -- path: /sod-policies - method: GET - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v3/methods/sod-policies#list-sod-policies - source: | - from sailpoint.v3.api.sod_policies_api import SODPoliciesApi - from sailpoint.v3.api_client import ApiClient - from sailpoint.v3.models.sod_policy import SodPolicy - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - 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) - offset = 0 # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) - count = False # bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to False) # bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to False) - filters = 'id eq \"bc693f07e7b645539626c25954c58554\"' # str | Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **id**: *eq, in* **name**: *eq, in* **state**: *eq, in* (optional) # str | Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **id**: *eq, in* **name**: *eq, in* **state**: *eq, in* (optional) - sorters = 'id,name' # str | Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **id, name, created, modified, description** (optional) # str | Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **id, name, created, modified, description** (optional) - try: - # List SOD policies - - results = SODPoliciesApi(api_client).list_sod_policies() - # Below is a request that includes all optional parameters - # results = SODPoliciesApi(api_client).list_sod_policies(limit, offset, count, filters, sorters) - print("The response of SODPoliciesApi->list_sod_policies:\n") - for item in results: - print(item.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling SODPoliciesApi->list_sod_policies: %s\n" % e) -- path: /sod-policies/{id} - method: PATCH - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v3/methods/sod-policies#patch-sod-policy - source: | - from sailpoint.v3.api.sod_policies_api import SODPoliciesApi - from sailpoint.v3.api_client import ApiClient - from sailpoint.v3.models.json_patch_operation import JsonPatchOperation - from sailpoint.v3.models.sod_policy import SodPolicy - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - id = '2c918083-5d19-1a86-015d-28455b4a2329' # str | The ID of the SOD policy being modified. # str | The ID of the SOD policy being modified. - json_patch_operation = '''[{op=replace, path=/description, value=Modified description}, {op=replace, path=/conflictingAccessCriteria/leftCriteria/name, value=money-in-modified}, {op=replace, path=/conflictingAccessCriteria/rightCriteria, value={name=money-out-modified, criteriaList=[{type=ENTITLEMENT, id=2c918087682f9a86016839c0509c1ab2}]}}]''' # List[JsonPatchOperation] | A list of SOD Policy update operations according to the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard. The following fields are patchable: * name * description * ownerRef * externalPolicyReference * compensatingControls * correctionAdvice * state * tags * violationOwnerAssignmentConfig * scheduled * conflictingAccessCriteria - try: - # Patch SOD policy by ID - new_json_patch_operation = JsonPatchOperation.from_json(json_patch_operation) - results = SODPoliciesApi(api_client).patch_sod_policy(id=id, json_patch_operation=new_json_patch_operation) - # Below is a request that includes all optional parameters - # results = SODPoliciesApi(api_client).patch_sod_policy(id, new_json_patch_operation) - print("The response of SODPoliciesApi->patch_sod_policy:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling SODPoliciesApi->patch_sod_policy: %s\n" % e) -- path: /sod-policies/{id}/schedule - method: PUT - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v3/methods/sod-policies#put-policy-schedule - source: | - from sailpoint.v3.api.sod_policies_api import SODPoliciesApi - from sailpoint.v3.api_client import ApiClient - from sailpoint.v3.models.sod_policy_schedule import SodPolicySchedule - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - id = 'ef38f943-47e9-4562-b5bb-8424a56397d8' # str | The ID of the SOD policy to update its schedule. # str | The ID of the SOD policy to update its schedule. - sod_policy_schedule = '''{ - "schedule" : { - "hours" : { - "values" : [ "MON", "WED" ], - "interval" : 3, - "type" : "LIST" - }, - "months" : { - "values" : [ "MON", "WED" ], - "interval" : 3, - "type" : "LIST" - }, - "timeZoneId" : "America/Chicago", - "days" : { - "values" : [ "MON", "WED" ], - "interval" : 3, - "type" : "LIST" - }, - "expiration" : "2018-06-25T20:22:28.104Z", - "type" : "WEEKLY" - }, - "created" : "2020-01-01T00:00:00Z", - "recipients" : [ { - "name" : "Michael Michaels", - "id" : "2c7180a46faadee4016fb4e018c20642", - "type" : "IDENTITY" - }, { - "name" : "Michael Michaels", - "id" : "2c7180a46faadee4016fb4e018c20642", - "type" : "IDENTITY" - } ], - "name" : "SCH-1584312283015", - "creatorId" : "0f11f2a47c944bf3a2bd742580fe3bde", - "modifierId" : "0f11f2a47c944bf3a2bd742580fe3bde", - "modified" : "2020-01-01T00:00:00Z", - "description" : "Schedule for policy xyz", - "emailEmptyResults" : false - }''' # SodPolicySchedule | - try: - # Update SOD Policy schedule - new_sod_policy_schedule = SodPolicySchedule.from_json(sod_policy_schedule) - results = SODPoliciesApi(api_client).put_policy_schedule(id=id, sod_policy_schedule=new_sod_policy_schedule) - # Below is a request that includes all optional parameters - # results = SODPoliciesApi(api_client).put_policy_schedule(id, new_sod_policy_schedule) - print("The response of SODPoliciesApi->put_policy_schedule:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling SODPoliciesApi->put_policy_schedule: %s\n" % e) -- path: /sod-policies/{id} - method: PUT - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v3/methods/sod-policies#put-sod-policy - source: | - from sailpoint.v3.api.sod_policies_api import SODPoliciesApi - from sailpoint.v3.api_client import ApiClient - from sailpoint.v3.models.sod_policy import SodPolicy - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - id = 'ef38f943-47e9-4562-b5bb-8424a56397d8' # str | The ID of the SOD policy to update. # str | The ID of the SOD policy to update. - sod_policy = '''{ - "conflictingAccessCriteria" : { - "leftCriteria" : { - "name" : "money-in", - "criteriaList" : [ { - "type" : "ENTITLEMENT", - "id" : "2c9180866166b5b0016167c32ef31a66", - "name" : "Administrator" - }, { - "type" : "ENTITLEMENT", - "id" : "2c9180866166b5b0016167c32ef31a67", - "name" : "Administrator" - } ] - }, - "rightCriteria" : { - "name" : "money-in", - "criteriaList" : [ { - "type" : "ENTITLEMENT", - "id" : "2c9180866166b5b0016167c32ef31a66", - "name" : "Administrator" - }, { - "type" : "ENTITLEMENT", - "id" : "2c9180866166b5b0016167c32ef31a67", - "name" : "Administrator" - } ] - } - }, - "ownerRef" : { - "name" : "Support", - "id" : "2c9180a46faadee4016fb4e018c20639", - "type" : "IDENTITY" - }, - "created" : "2020-01-01T00:00:00Z", - "scheduled" : true, - "creatorId" : "0f11f2a4-7c94-4bf3-a2bd-742580fe3bde", - "modifierId" : "0f11f2a4-7c94-4bf3-a2bd-742580fe3bde", - "description" : "This policy ensures compliance of xyz", - "violationOwnerAssignmentConfig" : { - "assignmentRule" : "MANAGER", - "ownerRef" : { - "name" : "Support", - "id" : "2c9180a46faadee4016fb4e018c20639", - "type" : "IDENTITY" - } - }, - "correctionAdvice" : "Based on the role of the employee, managers should remove access that is not required for their job function.", - "type" : "GENERAL", - "tags" : [ "TAG1", "TAG2" ], - "name" : "policy-xyz", - "modified" : "2020-01-01T00:00:00Z", - "policyQuery" : "@access(id:0f11f2a4-7c94-4bf3-a2bd-742580fe3bdg) AND @access(id:0f11f2a4-7c94-4bf3-a2bd-742580fe3bdf)", - "compensatingControls" : "Have a manager review the transaction decisions for their \"out of compliance\" employee", - "id" : "0f11f2a4-7c94-4bf3-a2bd-742580fe3bde", - "state" : "ENFORCED", - "externalPolicyReference" : "XYZ policy" - }''' # SodPolicy | - try: - # Update SOD policy by ID - new_sod_policy = SodPolicy.from_json(sod_policy) - results = SODPoliciesApi(api_client).put_sod_policy(id=id, sod_policy=new_sod_policy) - # Below is a request that includes all optional parameters - # results = SODPoliciesApi(api_client).put_sod_policy(id, new_sod_policy) - print("The response of SODPoliciesApi->put_sod_policy:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling SODPoliciesApi->put_sod_policy: %s\n" % e) -- path: /sod-policies/{id}/evaluate - method: POST - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v3/methods/sod-policies#start-evaluate-sod-policy - source: | - from sailpoint.v3.api.sod_policies_api import SODPoliciesApi - from sailpoint.v3.api_client import ApiClient - from sailpoint.v3.models.report_result_reference import ReportResultReference - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - id = 'ef38f943-47e9-4562-b5bb-8424a56397d8' # str | The SOD policy ID to run. # str | The SOD policy ID to run. - try: - # Evaluate one policy by ID - - results = SODPoliciesApi(api_client).start_evaluate_sod_policy(id=id) - # Below is a request that includes all optional parameters - # results = SODPoliciesApi(api_client).start_evaluate_sod_policy(id) - print("The response of SODPoliciesApi->start_evaluate_sod_policy:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling SODPoliciesApi->start_evaluate_sod_policy: %s\n" % e) -- path: /sod-violation-report/run - method: POST - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v3/methods/sod-policies#start-sod-all-policies-for-org - source: | - from sailpoint.v3.api.sod_policies_api import SODPoliciesApi - from sailpoint.v3.api_client import ApiClient - from sailpoint.v3.models.multi_policy_request import MultiPolicyRequest - from sailpoint.v3.models.report_result_reference import ReportResultReference - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - multi_policy_request = '''{ - "filteredPolicyList" : [ "[b868cd40-ffa4-4337-9c07-1a51846cfa94, 63a07a7b-39a4-48aa-956d-50c827deba2a]", "[b868cd40-ffa4-4337-9c07-1a51846cfa94, 63a07a7b-39a4-48aa-956d-50c827deba2a]" ] - }''' # MultiPolicyRequest | (optional) - try: - # Runs all policies for org - - results = SODPoliciesApi(api_client).start_sod_all_policies_for_org() - # Below is a request that includes all optional parameters - # results = SODPoliciesApi(api_client).start_sod_all_policies_for_org(new_multi_policy_request) - print("The response of SODPoliciesApi->start_sod_all_policies_for_org:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling SODPoliciesApi->start_sod_all_policies_for_org: %s\n" % e) -- path: /sod-policies/{id}/violation-report/run - method: POST - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v3/methods/sod-policies#start-sod-policy - source: | - from sailpoint.v3.api.sod_policies_api import SODPoliciesApi - from sailpoint.v3.api_client import ApiClient - from sailpoint.v3.models.report_result_reference import ReportResultReference - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - id = 'ef38f943-47e9-4562-b5bb-8424a56397d8' # str | The SOD policy ID to run. # str | The SOD policy ID to run. - try: - # Runs SOD policy violation report - - results = SODPoliciesApi(api_client).start_sod_policy(id=id) - # Below is a request that includes all optional parameters - # results = SODPoliciesApi(api_client).start_sod_policy(id) - print("The response of SODPoliciesApi->start_sod_policy:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling SODPoliciesApi->start_sod_policy: %s\n" % e) -- path: /sod-violations/predict - method: POST - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v3/methods/sod-violations#start-predict-sod-violations - source: | - from sailpoint.v3.api.sod_violations_api import SODViolationsApi - from sailpoint.v3.api_client import ApiClient - from sailpoint.v3.models.identity_with_new_access import IdentityWithNewAccess - from sailpoint.v3.models.violation_prediction import ViolationPrediction - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - identity_with_new_access = '''{ - "identityId" : "2c91808568c529c60168cca6f90c1313", - "accessRefs" : [ { - "type" : "ENTITLEMENT", - "id" : "2c918087682f9a86016839c050861ab1", - "name" : "CN=Information Access,OU=test,OU=test-service,DC=TestAD,DC=local" - }, { - "type" : "ENTITLEMENT", - "id" : "2c918087682f9a86016839c0509c1ab2", - "name" : "CN=Information Technology,OU=test,OU=test-service,DC=TestAD,DC=local" - } ] - }''' # IdentityWithNewAccess | - try: - # Predict SOD violations for identity. - new_identity_with_new_access = IdentityWithNewAccess.from_json(identity_with_new_access) - results = SODViolationsApi(api_client).start_predict_sod_violations(identity_with_new_access=new_identity_with_new_access) - # Below is a request that includes all optional parameters - # results = SODViolationsApi(api_client).start_predict_sod_violations(new_identity_with_new_access) - print("The response of SODViolationsApi->start_predict_sod_violations:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling SODViolationsApi->start_predict_sod_violations: %s\n" % e) -- path: /sod-violations/check - method: POST - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v3/methods/sod-violations#start-violation-check - source: | - from sailpoint.v3.api.sod_violations_api import SODViolationsApi - from sailpoint.v3.api_client import ApiClient - from sailpoint.v3.models.identity_with_new_access1 import IdentityWithNewAccess1 - from sailpoint.v3.models.sod_violation_check import SodViolationCheck - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - identity_with_new_access1 = '''{identityId=2c91808568c529c60168cca6f90c1313, accessRefs=[{type=ENTITLEMENT, id=2c918087682f9a86016839c050861ab1, name=CN=Information Access,OU=test,OU=test-service,DC=TestAD,DC=local}, {type=ENTITLEMENT, id=2c918087682f9a86016839c0509c1ab2, name=CN=Information Technology,OU=test,OU=test-service,DC=TestAD,DC=local}], clientMetadata={additionalProp1=string, additionalProp2=string, additionalProp3=string}}''' # IdentityWithNewAccess1 | - try: - # Check SOD violations - new_identity_with_new_access1 = IdentityWithNewAccess1.from_json(identity_with_new_access1) - results = SODViolationsApi(api_client).start_violation_check(identity_with_new_access1=new_identity_with_new_access1) - # Below is a request that includes all optional parameters - # results = SODViolationsApi(api_client).start_violation_check(new_identity_with_new_access1) - print("The response of SODViolationsApi->start_violation_check:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling SODViolationsApi->start_violation_check: %s\n" % e) - path: /saved-searches method: POST xCodeSample: @@ -9367,61 +8727,646 @@ print(results.model_dump_json(by_alias=True, indent=4)) except Exception as e: print("Exception when calling ServiceDeskIntegrationApi->update_status_check_details: %s\n" % e) -- path: /source-usages/{sourceId}/status - method: GET +- path: /sod-policies + method: POST xCodeSample: - lang: Python - label: SDK_tools/sdk/python/v3/methods/source-usages#get-status-by-source-id + label: SDK_tools/sdk/python/v3/methods/sod-policies#create-sod-policy source: | - from sailpoint.v3.api.source_usages_api import SourceUsagesApi + from sailpoint.v3.api.sod_policies_api import SODPoliciesApi from sailpoint.v3.api_client import ApiClient - from sailpoint.v3.models.source_usage_status import SourceUsageStatus + from sailpoint.v3.models.sod_policy import SodPolicy from sailpoint.configuration import Configuration configuration = Configuration() with ApiClient(configuration) as api_client: - source_id = '2c9180835d191a86015d28455b4a2329' # str | ID of IDN source # str | ID of IDN source + sod_policy = '''{ + "conflictingAccessCriteria" : { + "leftCriteria" : { + "name" : "money-in", + "criteriaList" : [ { + "type" : "ENTITLEMENT", + "id" : "2c9180866166b5b0016167c32ef31a66", + "name" : "Administrator" + }, { + "type" : "ENTITLEMENT", + "id" : "2c9180866166b5b0016167c32ef31a67", + "name" : "Administrator" + } ] + }, + "rightCriteria" : { + "name" : "money-in", + "criteriaList" : [ { + "type" : "ENTITLEMENT", + "id" : "2c9180866166b5b0016167c32ef31a66", + "name" : "Administrator" + }, { + "type" : "ENTITLEMENT", + "id" : "2c9180866166b5b0016167c32ef31a67", + "name" : "Administrator" + } ] + } + }, + "ownerRef" : { + "name" : "Support", + "id" : "2c9180a46faadee4016fb4e018c20639", + "type" : "IDENTITY" + }, + "created" : "2020-01-01T00:00:00Z", + "scheduled" : true, + "creatorId" : "0f11f2a4-7c94-4bf3-a2bd-742580fe3bde", + "modifierId" : "0f11f2a4-7c94-4bf3-a2bd-742580fe3bde", + "description" : "This policy ensures compliance of xyz", + "violationOwnerAssignmentConfig" : { + "assignmentRule" : "MANAGER", + "ownerRef" : { + "name" : "Support", + "id" : "2c9180a46faadee4016fb4e018c20639", + "type" : "IDENTITY" + } + }, + "correctionAdvice" : "Based on the role of the employee, managers should remove access that is not required for their job function.", + "type" : "GENERAL", + "tags" : [ "TAG1", "TAG2" ], + "name" : "policy-xyz", + "modified" : "2020-01-01T00:00:00Z", + "policyQuery" : "@access(id:0f11f2a4-7c94-4bf3-a2bd-742580fe3bdg) AND @access(id:0f11f2a4-7c94-4bf3-a2bd-742580fe3bdf)", + "compensatingControls" : "Have a manager review the transaction decisions for their \"out of compliance\" employee", + "id" : "0f11f2a4-7c94-4bf3-a2bd-742580fe3bde", + "state" : "ENFORCED", + "externalPolicyReference" : "XYZ policy" + }''' # SodPolicy | try: - # Finds status of source usage - - results = SourceUsagesApi(api_client).get_status_by_source_id(source_id=source_id) + # Create SOD policy + new_sod_policy = SodPolicy.from_json(sod_policy) + results = SODPoliciesApi(api_client).create_sod_policy(sod_policy=new_sod_policy) # Below is a request that includes all optional parameters - # results = SourceUsagesApi(api_client).get_status_by_source_id(source_id) - print("The response of SourceUsagesApi->get_status_by_source_id:\n") + # results = SODPoliciesApi(api_client).create_sod_policy(new_sod_policy) + print("The response of SODPoliciesApi->create_sod_policy:\n") print(results.model_dump_json(by_alias=True, indent=4)) except Exception as e: - print("Exception when calling SourceUsagesApi->get_status_by_source_id: %s\n" % e) -- path: /source-usages/{sourceId}/summaries - method: GET + print("Exception when calling SODPoliciesApi->create_sod_policy: %s\n" % e) +- path: /sod-policies/{id} + method: DELETE xCodeSample: - lang: Python - label: SDK_tools/sdk/python/v3/methods/source-usages#get-usages-by-source-id + label: SDK_tools/sdk/python/v3/methods/sod-policies#delete-sod-policy source: | - from sailpoint.v3.api.source_usages_api import SourceUsagesApi + from sailpoint.v3.api.sod_policies_api import SODPoliciesApi from sailpoint.v3.api_client import ApiClient - from sailpoint.v3.models.source_usage import SourceUsage from sailpoint.configuration import Configuration configuration = Configuration() with ApiClient(configuration) as api_client: - source_id = '2c9180835d191a86015d28455b4a2329' # str | ID of IDN source # str | ID of IDN source + id = 'ef38f943-47e9-4562-b5bb-8424a56397d8' # str | The ID of the SOD Policy to delete. # str | The ID of the SOD Policy to delete. + logical = True # bool | Indicates whether this is a soft delete (logical true) or a hard delete. Soft delete marks the policy as deleted and just save it with this status. It could be fully deleted or recovered further. Hard delete vise versa permanently delete SOD request during this call. (optional) (default to True) # bool | Indicates whether this is a soft delete (logical true) or a hard delete. Soft delete marks the policy as deleted and just save it with this status. It could be fully deleted or recovered further. Hard delete vise versa permanently delete SOD request during this call. (optional) (default to True) + try: + # Delete SOD policy by ID + + SODPoliciesApi(api_client).delete_sod_policy(id=id) + # Below is a request that includes all optional parameters + # SODPoliciesApi(api_client).delete_sod_policy(id, logical) + except Exception as e: + print("Exception when calling SODPoliciesApi->delete_sod_policy: %s\n" % e) +- path: /sod-policies/{id}/schedule + method: DELETE + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v3/methods/sod-policies#delete-sod-policy-schedule + source: | + from sailpoint.v3.api.sod_policies_api import SODPoliciesApi + from sailpoint.v3.api_client import ApiClient + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + id = 'ef38f943-47e9-4562-b5bb-8424a56397d8' # str | The ID of the SOD policy the schedule must be deleted for. # str | The ID of the SOD policy the schedule must be deleted for. + try: + # Delete SOD policy schedule + + SODPoliciesApi(api_client).delete_sod_policy_schedule(id=id) + # Below is a request that includes all optional parameters + # SODPoliciesApi(api_client).delete_sod_policy_schedule(id) + except Exception as e: + print("Exception when calling SODPoliciesApi->delete_sod_policy_schedule: %s\n" % e) +- path: /sod-violation-report/{reportResultId}/download/{fileName} + method: GET + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v3/methods/sod-policies#get-custom-violation-report + source: | + from sailpoint.v3.api.sod_policies_api import SODPoliciesApi + from sailpoint.v3.api_client import ApiClient + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + report_result_id = 'ef38f94347e94562b5bb8424a56397d8' # str | The ID of the report reference to download. # str | The ID of the report reference to download. + file_name = 'custom-name' # str | Custom Name for the file. # str | Custom Name for the file. + try: + # Download custom violation report + + results = SODPoliciesApi(api_client).get_custom_violation_report(report_result_id=report_result_id, file_name=file_name) + # Below is a request that includes all optional parameters + # results = SODPoliciesApi(api_client).get_custom_violation_report(report_result_id, file_name) + print("The response of SODPoliciesApi->get_custom_violation_report:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling SODPoliciesApi->get_custom_violation_report: %s\n" % e) +- path: /sod-violation-report/{reportResultId}/download + method: GET + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v3/methods/sod-policies#get-default-violation-report + source: | + from sailpoint.v3.api.sod_policies_api import SODPoliciesApi + from sailpoint.v3.api_client import ApiClient + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + report_result_id = 'ef38f94347e94562b5bb8424a56397d8' # str | The ID of the report reference to download. # str | The ID of the report reference to download. + try: + # Download violation report + + results = SODPoliciesApi(api_client).get_default_violation_report(report_result_id=report_result_id) + # Below is a request that includes all optional parameters + # results = SODPoliciesApi(api_client).get_default_violation_report(report_result_id) + print("The response of SODPoliciesApi->get_default_violation_report:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling SODPoliciesApi->get_default_violation_report: %s\n" % e) +- path: /sod-violation-report + method: GET + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v3/methods/sod-policies#get-sod-all-report-run-status + source: | + from sailpoint.v3.api.sod_policies_api import SODPoliciesApi + from sailpoint.v3.api_client import ApiClient + from sailpoint.v3.models.report_result_reference import ReportResultReference + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + try: + # Get multi-report run task status + + results = SODPoliciesApi(api_client).get_sod_all_report_run_status() + # Below is a request that includes all optional parameters + # results = SODPoliciesApi(api_client).get_sod_all_report_run_status() + print("The response of SODPoliciesApi->get_sod_all_report_run_status:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling SODPoliciesApi->get_sod_all_report_run_status: %s\n" % e) +- path: /sod-policies/{id} + method: GET + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v3/methods/sod-policies#get-sod-policy + source: | + from sailpoint.v3.api.sod_policies_api import SODPoliciesApi + from sailpoint.v3.api_client import ApiClient + from sailpoint.v3.models.sod_policy import SodPolicy + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + id = 'ef38f943-47e9-4562-b5bb-8424a56397d8' # str | The ID of the SOD Policy to retrieve. # str | The ID of the SOD Policy to retrieve. + try: + # Get SOD policy by ID + + results = SODPoliciesApi(api_client).get_sod_policy(id=id) + # Below is a request that includes all optional parameters + # results = SODPoliciesApi(api_client).get_sod_policy(id) + print("The response of SODPoliciesApi->get_sod_policy:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling SODPoliciesApi->get_sod_policy: %s\n" % e) +- path: /sod-policies/{id}/schedule + method: GET + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v3/methods/sod-policies#get-sod-policy-schedule + source: | + from sailpoint.v3.api.sod_policies_api import SODPoliciesApi + from sailpoint.v3.api_client import ApiClient + from sailpoint.v3.models.sod_policy_schedule import SodPolicySchedule + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + id = 'ef38f943-47e9-4562-b5bb-8424a56397d8' # str | The ID of the SOD policy schedule to retrieve. # str | The ID of the SOD policy schedule to retrieve. + try: + # Get SOD policy schedule + + results = SODPoliciesApi(api_client).get_sod_policy_schedule(id=id) + # Below is a request that includes all optional parameters + # results = SODPoliciesApi(api_client).get_sod_policy_schedule(id) + print("The response of SODPoliciesApi->get_sod_policy_schedule:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling SODPoliciesApi->get_sod_policy_schedule: %s\n" % e) +- path: /sod-policies/sod-violation-report-status/{reportResultId} + method: GET + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v3/methods/sod-policies#get-sod-violation-report-run-status + source: | + from sailpoint.v3.api.sod_policies_api import SODPoliciesApi + from sailpoint.v3.api_client import ApiClient + from sailpoint.v3.models.report_result_reference import ReportResultReference + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + report_result_id = '2e8d8180-24bc-4d21-91c6-7affdb473b0d' # str | The ID of the report reference to retrieve. # str | The ID of the report reference to retrieve. + try: + # Get violation report run status + + results = SODPoliciesApi(api_client).get_sod_violation_report_run_status(report_result_id=report_result_id) + # Below is a request that includes all optional parameters + # results = SODPoliciesApi(api_client).get_sod_violation_report_run_status(report_result_id) + print("The response of SODPoliciesApi->get_sod_violation_report_run_status:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling SODPoliciesApi->get_sod_violation_report_run_status: %s\n" % e) +- path: /sod-policies/{id}/violation-report + method: GET + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v3/methods/sod-policies#get-sod-violation-report-status + source: | + from sailpoint.v3.api.sod_policies_api import SODPoliciesApi + from sailpoint.v3.api_client import ApiClient + from sailpoint.v3.models.report_result_reference import ReportResultReference + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + id = 'ef38f943-47e9-4562-b5bb-8424a56397d8' # str | The ID of the violation report to retrieve status for. # str | The ID of the violation report to retrieve status for. + try: + # Get SOD violation report status + + results = SODPoliciesApi(api_client).get_sod_violation_report_status(id=id) + # Below is a request that includes all optional parameters + # results = SODPoliciesApi(api_client).get_sod_violation_report_status(id) + print("The response of SODPoliciesApi->get_sod_violation_report_status:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling SODPoliciesApi->get_sod_violation_report_status: %s\n" % e) +- path: /sod-policies + method: GET + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v3/methods/sod-policies#list-sod-policies + source: | + from sailpoint.v3.api.sod_policies_api import SODPoliciesApi + from sailpoint.v3.api_client import ApiClient + from sailpoint.v3.models.sod_policy import SodPolicy + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: 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) offset = 0 # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) count = False # bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to False) # bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to False) - sorters = '-date' # str | Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **date** (optional) # str | Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **date** (optional) + filters = 'id eq \"bc693f07e7b645539626c25954c58554\"' # str | Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **id**: *eq, in* **name**: *eq, in* **state**: *eq, in* (optional) # str | Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **id**: *eq, in* **name**: *eq, in* **state**: *eq, in* (optional) + sorters = 'id,name' # str | Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **id, name, created, modified, description** (optional) # str | Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **id, name, created, modified, description** (optional) try: - # Returns source usage insights + # List SOD policies - results = SourceUsagesApi(api_client).get_usages_by_source_id(source_id=source_id) + results = SODPoliciesApi(api_client).list_sod_policies() # Below is a request that includes all optional parameters - # results = SourceUsagesApi(api_client).get_usages_by_source_id(source_id, limit, offset, count, sorters) - print("The response of SourceUsagesApi->get_usages_by_source_id:\n") + # results = SODPoliciesApi(api_client).list_sod_policies(limit, offset, count, filters, sorters) + print("The response of SODPoliciesApi->list_sod_policies:\n") for item in results: print(item.model_dump_json(by_alias=True, indent=4)) except Exception as e: - print("Exception when calling SourceUsagesApi->get_usages_by_source_id: %s\n" % e) + print("Exception when calling SODPoliciesApi->list_sod_policies: %s\n" % e) +- path: /sod-policies/{id} + method: PATCH + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v3/methods/sod-policies#patch-sod-policy + source: | + from sailpoint.v3.api.sod_policies_api import SODPoliciesApi + from sailpoint.v3.api_client import ApiClient + from sailpoint.v3.models.json_patch_operation import JsonPatchOperation + from sailpoint.v3.models.sod_policy import SodPolicy + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + id = '2c918083-5d19-1a86-015d-28455b4a2329' # str | The ID of the SOD policy being modified. # str | The ID of the SOD policy being modified. + json_patch_operation = '''[{op=replace, path=/description, value=Modified description}, {op=replace, path=/conflictingAccessCriteria/leftCriteria/name, value=money-in-modified}, {op=replace, path=/conflictingAccessCriteria/rightCriteria, value={name=money-out-modified, criteriaList=[{type=ENTITLEMENT, id=2c918087682f9a86016839c0509c1ab2}]}}]''' # List[JsonPatchOperation] | A list of SOD Policy update operations according to the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard. The following fields are patchable: * name * description * ownerRef * externalPolicyReference * compensatingControls * correctionAdvice * state * tags * violationOwnerAssignmentConfig * scheduled * conflictingAccessCriteria + try: + # Patch SOD policy by ID + new_json_patch_operation = JsonPatchOperation.from_json(json_patch_operation) + results = SODPoliciesApi(api_client).patch_sod_policy(id=id, json_patch_operation=new_json_patch_operation) + # Below is a request that includes all optional parameters + # results = SODPoliciesApi(api_client).patch_sod_policy(id, new_json_patch_operation) + print("The response of SODPoliciesApi->patch_sod_policy:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling SODPoliciesApi->patch_sod_policy: %s\n" % e) +- path: /sod-policies/{id}/schedule + method: PUT + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v3/methods/sod-policies#put-policy-schedule + source: | + from sailpoint.v3.api.sod_policies_api import SODPoliciesApi + from sailpoint.v3.api_client import ApiClient + from sailpoint.v3.models.sod_policy_schedule import SodPolicySchedule + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + id = 'ef38f943-47e9-4562-b5bb-8424a56397d8' # str | The ID of the SOD policy to update its schedule. # str | The ID of the SOD policy to update its schedule. + sod_policy_schedule = '''{ + "schedule" : { + "hours" : { + "values" : [ "MON", "WED" ], + "interval" : 3, + "type" : "LIST" + }, + "months" : { + "values" : [ "MON", "WED" ], + "interval" : 3, + "type" : "LIST" + }, + "timeZoneId" : "America/Chicago", + "days" : { + "values" : [ "MON", "WED" ], + "interval" : 3, + "type" : "LIST" + }, + "expiration" : "2018-06-25T20:22:28.104Z", + "type" : "WEEKLY" + }, + "created" : "2020-01-01T00:00:00Z", + "recipients" : [ { + "name" : "Michael Michaels", + "id" : "2c7180a46faadee4016fb4e018c20642", + "type" : "IDENTITY" + }, { + "name" : "Michael Michaels", + "id" : "2c7180a46faadee4016fb4e018c20642", + "type" : "IDENTITY" + } ], + "name" : "SCH-1584312283015", + "creatorId" : "0f11f2a47c944bf3a2bd742580fe3bde", + "modifierId" : "0f11f2a47c944bf3a2bd742580fe3bde", + "modified" : "2020-01-01T00:00:00Z", + "description" : "Schedule for policy xyz", + "emailEmptyResults" : false + }''' # SodPolicySchedule | + try: + # Update SOD Policy schedule + new_sod_policy_schedule = SodPolicySchedule.from_json(sod_policy_schedule) + results = SODPoliciesApi(api_client).put_policy_schedule(id=id, sod_policy_schedule=new_sod_policy_schedule) + # Below is a request that includes all optional parameters + # results = SODPoliciesApi(api_client).put_policy_schedule(id, new_sod_policy_schedule) + print("The response of SODPoliciesApi->put_policy_schedule:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling SODPoliciesApi->put_policy_schedule: %s\n" % e) +- path: /sod-policies/{id} + method: PUT + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v3/methods/sod-policies#put-sod-policy + source: | + from sailpoint.v3.api.sod_policies_api import SODPoliciesApi + from sailpoint.v3.api_client import ApiClient + from sailpoint.v3.models.sod_policy import SodPolicy + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + id = 'ef38f943-47e9-4562-b5bb-8424a56397d8' # str | The ID of the SOD policy to update. # str | The ID of the SOD policy to update. + sod_policy = '''{ + "conflictingAccessCriteria" : { + "leftCriteria" : { + "name" : "money-in", + "criteriaList" : [ { + "type" : "ENTITLEMENT", + "id" : "2c9180866166b5b0016167c32ef31a66", + "name" : "Administrator" + }, { + "type" : "ENTITLEMENT", + "id" : "2c9180866166b5b0016167c32ef31a67", + "name" : "Administrator" + } ] + }, + "rightCriteria" : { + "name" : "money-in", + "criteriaList" : [ { + "type" : "ENTITLEMENT", + "id" : "2c9180866166b5b0016167c32ef31a66", + "name" : "Administrator" + }, { + "type" : "ENTITLEMENT", + "id" : "2c9180866166b5b0016167c32ef31a67", + "name" : "Administrator" + } ] + } + }, + "ownerRef" : { + "name" : "Support", + "id" : "2c9180a46faadee4016fb4e018c20639", + "type" : "IDENTITY" + }, + "created" : "2020-01-01T00:00:00Z", + "scheduled" : true, + "creatorId" : "0f11f2a4-7c94-4bf3-a2bd-742580fe3bde", + "modifierId" : "0f11f2a4-7c94-4bf3-a2bd-742580fe3bde", + "description" : "This policy ensures compliance of xyz", + "violationOwnerAssignmentConfig" : { + "assignmentRule" : "MANAGER", + "ownerRef" : { + "name" : "Support", + "id" : "2c9180a46faadee4016fb4e018c20639", + "type" : "IDENTITY" + } + }, + "correctionAdvice" : "Based on the role of the employee, managers should remove access that is not required for their job function.", + "type" : "GENERAL", + "tags" : [ "TAG1", "TAG2" ], + "name" : "policy-xyz", + "modified" : "2020-01-01T00:00:00Z", + "policyQuery" : "@access(id:0f11f2a4-7c94-4bf3-a2bd-742580fe3bdg) AND @access(id:0f11f2a4-7c94-4bf3-a2bd-742580fe3bdf)", + "compensatingControls" : "Have a manager review the transaction decisions for their \"out of compliance\" employee", + "id" : "0f11f2a4-7c94-4bf3-a2bd-742580fe3bde", + "state" : "ENFORCED", + "externalPolicyReference" : "XYZ policy" + }''' # SodPolicy | + try: + # Update SOD policy by ID + new_sod_policy = SodPolicy.from_json(sod_policy) + results = SODPoliciesApi(api_client).put_sod_policy(id=id, sod_policy=new_sod_policy) + # Below is a request that includes all optional parameters + # results = SODPoliciesApi(api_client).put_sod_policy(id, new_sod_policy) + print("The response of SODPoliciesApi->put_sod_policy:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling SODPoliciesApi->put_sod_policy: %s\n" % e) +- path: /sod-policies/{id}/evaluate + method: POST + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v3/methods/sod-policies#start-evaluate-sod-policy + source: | + from sailpoint.v3.api.sod_policies_api import SODPoliciesApi + from sailpoint.v3.api_client import ApiClient + from sailpoint.v3.models.report_result_reference import ReportResultReference + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + id = 'ef38f943-47e9-4562-b5bb-8424a56397d8' # str | The SOD policy ID to run. # str | The SOD policy ID to run. + try: + # Evaluate one policy by ID + + results = SODPoliciesApi(api_client).start_evaluate_sod_policy(id=id) + # Below is a request that includes all optional parameters + # results = SODPoliciesApi(api_client).start_evaluate_sod_policy(id) + print("The response of SODPoliciesApi->start_evaluate_sod_policy:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling SODPoliciesApi->start_evaluate_sod_policy: %s\n" % e) +- path: /sod-violation-report/run + method: POST + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v3/methods/sod-policies#start-sod-all-policies-for-org + source: | + from sailpoint.v3.api.sod_policies_api import SODPoliciesApi + from sailpoint.v3.api_client import ApiClient + from sailpoint.v3.models.multi_policy_request import MultiPolicyRequest + from sailpoint.v3.models.report_result_reference import ReportResultReference + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + multi_policy_request = '''{ + "filteredPolicyList" : [ "[b868cd40-ffa4-4337-9c07-1a51846cfa94, 63a07a7b-39a4-48aa-956d-50c827deba2a]", "[b868cd40-ffa4-4337-9c07-1a51846cfa94, 63a07a7b-39a4-48aa-956d-50c827deba2a]" ] + }''' # MultiPolicyRequest | (optional) + try: + # Runs all policies for org + + results = SODPoliciesApi(api_client).start_sod_all_policies_for_org() + # Below is a request that includes all optional parameters + # results = SODPoliciesApi(api_client).start_sod_all_policies_for_org(new_multi_policy_request) + print("The response of SODPoliciesApi->start_sod_all_policies_for_org:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling SODPoliciesApi->start_sod_all_policies_for_org: %s\n" % e) +- path: /sod-policies/{id}/violation-report/run + method: POST + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v3/methods/sod-policies#start-sod-policy + source: | + from sailpoint.v3.api.sod_policies_api import SODPoliciesApi + from sailpoint.v3.api_client import ApiClient + from sailpoint.v3.models.report_result_reference import ReportResultReference + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + id = 'ef38f943-47e9-4562-b5bb-8424a56397d8' # str | The SOD policy ID to run. # str | The SOD policy ID to run. + try: + # Runs SOD policy violation report + + results = SODPoliciesApi(api_client).start_sod_policy(id=id) + # Below is a request that includes all optional parameters + # results = SODPoliciesApi(api_client).start_sod_policy(id) + print("The response of SODPoliciesApi->start_sod_policy:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling SODPoliciesApi->start_sod_policy: %s\n" % e) +- path: /sod-violations/predict + method: POST + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v3/methods/sod-violations#start-predict-sod-violations + source: | + from sailpoint.v3.api.sod_violations_api import SODViolationsApi + from sailpoint.v3.api_client import ApiClient + from sailpoint.v3.models.identity_with_new_access import IdentityWithNewAccess + from sailpoint.v3.models.violation_prediction import ViolationPrediction + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + identity_with_new_access = '''{ + "identityId" : "2c91808568c529c60168cca6f90c1313", + "accessRefs" : [ { + "type" : "ENTITLEMENT", + "id" : "2c918087682f9a86016839c050861ab1", + "name" : "CN=Information Access,OU=test,OU=test-service,DC=TestAD,DC=local" + }, { + "type" : "ENTITLEMENT", + "id" : "2c918087682f9a86016839c0509c1ab2", + "name" : "CN=Information Technology,OU=test,OU=test-service,DC=TestAD,DC=local" + } ] + }''' # IdentityWithNewAccess | + try: + # Predict SOD violations for identity. + new_identity_with_new_access = IdentityWithNewAccess.from_json(identity_with_new_access) + results = SODViolationsApi(api_client).start_predict_sod_violations(identity_with_new_access=new_identity_with_new_access) + # Below is a request that includes all optional parameters + # results = SODViolationsApi(api_client).start_predict_sod_violations(new_identity_with_new_access) + print("The response of SODViolationsApi->start_predict_sod_violations:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling SODViolationsApi->start_predict_sod_violations: %s\n" % e) +- path: /sod-violations/check + method: POST + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v3/methods/sod-violations#start-violation-check + source: | + from sailpoint.v3.api.sod_violations_api import SODViolationsApi + from sailpoint.v3.api_client import ApiClient + from sailpoint.v3.models.identity_with_new_access1 import IdentityWithNewAccess1 + from sailpoint.v3.models.sod_violation_check import SodViolationCheck + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + identity_with_new_access1 = '''{identityId=2c91808568c529c60168cca6f90c1313, accessRefs=[{type=ENTITLEMENT, id=2c918087682f9a86016839c050861ab1, name=CN=Information Access,OU=test,OU=test-service,DC=TestAD,DC=local}, {type=ENTITLEMENT, id=2c918087682f9a86016839c0509c1ab2, name=CN=Information Technology,OU=test,OU=test-service,DC=TestAD,DC=local}], clientMetadata={additionalProp1=string, additionalProp2=string, additionalProp3=string}}''' # IdentityWithNewAccess1 | + try: + # Check SOD violations + new_identity_with_new_access1 = IdentityWithNewAccess1.from_json(identity_with_new_access1) + results = SODViolationsApi(api_client).start_violation_check(identity_with_new_access1=new_identity_with_new_access1) + # Below is a request that includes all optional parameters + # results = SODViolationsApi(api_client).start_violation_check(new_identity_with_new_access1) + print("The response of SODViolationsApi->start_violation_check:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling SODViolationsApi->start_violation_check: %s\n" % e) - path: /sources/{sourceId}/provisioning-policies method: POST xCodeSample: @@ -10344,6 +10289,61 @@ print(results.model_dump_json(by_alias=True, indent=4)) except Exception as e: print("Exception when calling SourcesApi->update_source_schema: %s\n" % e) +- path: /source-usages/{sourceId}/status + method: GET + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v3/methods/source-usages#get-status-by-source-id + source: | + from sailpoint.v3.api.source_usages_api import SourceUsagesApi + from sailpoint.v3.api_client import ApiClient + from sailpoint.v3.models.source_usage_status import SourceUsageStatus + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + source_id = '2c9180835d191a86015d28455b4a2329' # str | ID of IDN source # str | ID of IDN source + try: + # Finds status of source usage + + results = SourceUsagesApi(api_client).get_status_by_source_id(source_id=source_id) + # Below is a request that includes all optional parameters + # results = SourceUsagesApi(api_client).get_status_by_source_id(source_id) + print("The response of SourceUsagesApi->get_status_by_source_id:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling SourceUsagesApi->get_status_by_source_id: %s\n" % e) +- path: /source-usages/{sourceId}/summaries + method: GET + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v3/methods/source-usages#get-usages-by-source-id + source: | + from sailpoint.v3.api.source_usages_api import SourceUsagesApi + from sailpoint.v3.api_client import ApiClient + from sailpoint.v3.models.source_usage import SourceUsage + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + source_id = '2c9180835d191a86015d28455b4a2329' # str | ID of IDN source # str | ID of IDN source + 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) + offset = 0 # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) + count = False # bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to False) # bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to False) + sorters = '-date' # str | Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **date** (optional) # str | Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **date** (optional) + try: + # Returns source usage insights + + results = SourceUsagesApi(api_client).get_usages_by_source_id(source_id=source_id) + # Below is a request that includes all optional parameters + # results = SourceUsagesApi(api_client).get_usages_by_source_id(source_id, limit, offset, count, sorters) + print("The response of SourceUsagesApi->get_usages_by_source_id:\n") + for item in results: + print(item.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling SourceUsagesApi->get_usages_by_source_id: %s\n" % e) - path: /tagged-objects/{type}/{id} method: DELETE xCodeSample: @@ -10847,346 +10847,6 @@ print(item.model_dump_json(by_alias=True, indent=4)) except Exception as e: print("Exception when calling VendorConnectorMappingsApi->get_vendor_connector_mappings: %s\n" % e) -- path: /work-items/{id}/approve/{approvalItemId} - method: POST - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v3/methods/work-items#approve-approval-item - source: | - from sailpoint.v3.api.work_items_api import WorkItemsApi - from sailpoint.v3.api_client import ApiClient - from sailpoint.v3.models.work_items import WorkItems - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - id = 'ef38f94347e94562b5bb8424a56397d8' # str | The ID of the work item # str | The ID of the work item - approval_item_id = '1211bcaa32112bcef6122adb21cef1ac' # str | The ID of the approval item. # str | The ID of the approval item. - try: - # Approve an Approval Item - - results = WorkItemsApi(api_client).approve_approval_item(id=id, approval_item_id=approval_item_id) - # Below is a request that includes all optional parameters - # results = WorkItemsApi(api_client).approve_approval_item(id, approval_item_id) - print("The response of WorkItemsApi->approve_approval_item:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling WorkItemsApi->approve_approval_item: %s\n" % e) -- path: /work-items/bulk-approve/{id} - method: POST - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v3/methods/work-items#approve-approval-items-in-bulk - source: | - from sailpoint.v3.api.work_items_api import WorkItemsApi - from sailpoint.v3.api_client import ApiClient - from sailpoint.v3.models.work_items import WorkItems - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - id = 'ef38f94347e94562b5bb8424a56397d8' # str | The ID of the work item # str | The ID of the work item - try: - # Bulk approve Approval Items - - results = WorkItemsApi(api_client).approve_approval_items_in_bulk(id=id) - # Below is a request that includes all optional parameters - # results = WorkItemsApi(api_client).approve_approval_items_in_bulk(id) - print("The response of WorkItemsApi->approve_approval_items_in_bulk:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling WorkItemsApi->approve_approval_items_in_bulk: %s\n" % e) -- path: /work-items/{id} - method: POST - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v3/methods/work-items#complete-work-item - source: | - from sailpoint.v3.api.work_items_api import WorkItemsApi - from sailpoint.v3.api_client import ApiClient - from sailpoint.v3.models.work_items import WorkItems - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - id = 'ef38f94347e94562b5bb8424a56397d8' # str | The ID of the work item # str | The ID of the work item - body = 'body_example' # str | Body is the request payload to create form definition request (optional) # str | Body is the request payload to create form definition request (optional) - try: - # Complete a Work Item - - results = WorkItemsApi(api_client).complete_work_item(id=id) - # Below is a request that includes all optional parameters - # results = WorkItemsApi(api_client).complete_work_item(id, new_body) - print("The response of WorkItemsApi->complete_work_item:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling WorkItemsApi->complete_work_item: %s\n" % e) -- path: /work-items/completed - method: GET - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v3/methods/work-items#get-completed-work-items - source: | - from sailpoint.v3.api.work_items_api import WorkItemsApi - from sailpoint.v3.api_client import ApiClient - from sailpoint.v3.models.work_items import WorkItems - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - owner_id = '1211bcaa32112bcef6122adb21cef1ac' # str | The id of the owner of the work item list being requested. Either an admin, or the owning/current user must make this request. (optional) # str | The id of the owner of the work item list being requested. Either an admin, or the owning/current user must make this request. (optional) - 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) - offset = 0 # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) - count = False # bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to False) # bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to False) - try: - # Completed Work Items - - results = WorkItemsApi(api_client).get_completed_work_items() - # Below is a request that includes all optional parameters - # results = WorkItemsApi(api_client).get_completed_work_items(owner_id, limit, offset, count) - print("The response of WorkItemsApi->get_completed_work_items:\n") - for item in results: - print(item.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling WorkItemsApi->get_completed_work_items: %s\n" % e) -- path: /work-items/completed/count - method: GET - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v3/methods/work-items#get-count-completed-work-items - source: | - from sailpoint.v3.api.work_items_api import WorkItemsApi - from sailpoint.v3.api_client import ApiClient - from sailpoint.v3.models.work_items_count import WorkItemsCount - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - owner_id = '1211bcaa32112bcef6122adb21cef1ac' # str | ID of the work item owner. (optional) # str | ID of the work item owner. (optional) - try: - # Count Completed Work Items - - results = WorkItemsApi(api_client).get_count_completed_work_items() - # Below is a request that includes all optional parameters - # results = WorkItemsApi(api_client).get_count_completed_work_items(owner_id) - print("The response of WorkItemsApi->get_count_completed_work_items:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling WorkItemsApi->get_count_completed_work_items: %s\n" % e) -- path: /work-items/count - method: GET - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v3/methods/work-items#get-count-work-items - source: | - from sailpoint.v3.api.work_items_api import WorkItemsApi - from sailpoint.v3.api_client import ApiClient - from sailpoint.v3.models.work_items_count import WorkItemsCount - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - owner_id = 'ef38f94347e94562b5bb8424a56397d8' # str | ID of the work item owner. (optional) # str | ID of the work item owner. (optional) - try: - # Count Work Items - - results = WorkItemsApi(api_client).get_count_work_items() - # Below is a request that includes all optional parameters - # results = WorkItemsApi(api_client).get_count_work_items(owner_id) - print("The response of WorkItemsApi->get_count_work_items:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling WorkItemsApi->get_count_work_items: %s\n" % e) -- path: /work-items/{id} - method: GET - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v3/methods/work-items#get-work-item - source: | - from sailpoint.v3.api.work_items_api import WorkItemsApi - from sailpoint.v3.api_client import ApiClient - from sailpoint.v3.models.work_items import WorkItems - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - id = '2c9180835d191a86015d28455b4a2329' # str | ID of the work item. # str | ID of the work item. - try: - # Get a Work Item - - results = WorkItemsApi(api_client).get_work_item(id=id) - # Below is a request that includes all optional parameters - # results = WorkItemsApi(api_client).get_work_item(id) - print("The response of WorkItemsApi->get_work_item:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling WorkItemsApi->get_work_item: %s\n" % e) -- path: /work-items/summary - method: GET - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v3/methods/work-items#get-work-items-summary - source: | - from sailpoint.v3.api.work_items_api import WorkItemsApi - from sailpoint.v3.api_client import ApiClient - from sailpoint.v3.models.work_items_summary import WorkItemsSummary - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - owner_id = '1211bcaa32112bcef6122adb21cef1ac' # str | ID of the work item owner. (optional) # str | ID of the work item owner. (optional) - try: - # Work Items Summary - - results = WorkItemsApi(api_client).get_work_items_summary() - # Below is a request that includes all optional parameters - # results = WorkItemsApi(api_client).get_work_items_summary(owner_id) - print("The response of WorkItemsApi->get_work_items_summary:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling WorkItemsApi->get_work_items_summary: %s\n" % e) -- path: /work-items - method: GET - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v3/methods/work-items#list-work-items - source: | - from sailpoint.v3.api.work_items_api import WorkItemsApi - from sailpoint.v3.api_client import ApiClient - from sailpoint.v3.models.work_items import WorkItems - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - 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) - offset = 0 # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) - count = False # bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to False) # bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to False) - owner_id = '1211bcaa32112bcef6122adb21cef1ac' # str | ID of the work item owner. (optional) # str | ID of the work item owner. (optional) - try: - # List Work Items - - results = WorkItemsApi(api_client).list_work_items() - # Below is a request that includes all optional parameters - # results = WorkItemsApi(api_client).list_work_items(limit, offset, count, owner_id) - print("The response of WorkItemsApi->list_work_items:\n") - for item in results: - print(item.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling WorkItemsApi->list_work_items: %s\n" % e) -- path: /work-items/{id}/reject/{approvalItemId} - method: POST - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v3/methods/work-items#reject-approval-item - source: | - from sailpoint.v3.api.work_items_api import WorkItemsApi - from sailpoint.v3.api_client import ApiClient - from sailpoint.v3.models.work_items import WorkItems - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - id = 'ef38f94347e94562b5bb8424a56397d8' # str | The ID of the work item # str | The ID of the work item - approval_item_id = '1211bcaa32112bcef6122adb21cef1ac' # str | The ID of the approval item. # str | The ID of the approval item. - try: - # Reject an Approval Item - - results = WorkItemsApi(api_client).reject_approval_item(id=id, approval_item_id=approval_item_id) - # Below is a request that includes all optional parameters - # results = WorkItemsApi(api_client).reject_approval_item(id, approval_item_id) - print("The response of WorkItemsApi->reject_approval_item:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling WorkItemsApi->reject_approval_item: %s\n" % e) -- path: /work-items/bulk-reject/{id} - method: POST - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v3/methods/work-items#reject-approval-items-in-bulk - source: | - from sailpoint.v3.api.work_items_api import WorkItemsApi - from sailpoint.v3.api_client import ApiClient - from sailpoint.v3.models.work_items import WorkItems - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - id = 'ef38f94347e94562b5bb8424a56397d8' # str | The ID of the work item # str | The ID of the work item - try: - # Bulk reject Approval Items - - results = WorkItemsApi(api_client).reject_approval_items_in_bulk(id=id) - # Below is a request that includes all optional parameters - # results = WorkItemsApi(api_client).reject_approval_items_in_bulk(id) - print("The response of WorkItemsApi->reject_approval_items_in_bulk:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling WorkItemsApi->reject_approval_items_in_bulk: %s\n" % e) -- path: /work-items/{id}/forward - method: POST - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v3/methods/work-items#send-work-item-forward - source: | - from sailpoint.v3.api.work_items_api import WorkItemsApi - from sailpoint.v3.api_client import ApiClient - from sailpoint.v3.models.work_item_forward import WorkItemForward - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - id = 'ef38f94347e94562b5bb8424a56397d8' # str | The ID of the work item # str | The ID of the work item - work_item_forward = '''{ - "targetOwnerId" : "2c9180835d2e5168015d32f890ca1581", - "comment" : "I'm going on vacation.", - "sendNotifications" : true - }''' # WorkItemForward | - try: - # Forward a Work Item - new_work_item_forward = WorkItemForward.from_json(work_item_forward) - WorkItemsApi(api_client).send_work_item_forward(id=id, work_item_forward=new_work_item_forward) - # Below is a request that includes all optional parameters - # WorkItemsApi(api_client).send_work_item_forward(id, new_work_item_forward) - except Exception as e: - print("Exception when calling WorkItemsApi->send_work_item_forward: %s\n" % e) -- path: /work-items/{id}/submit-account-selection - method: POST - xCodeSample: - - lang: Python - label: SDK_tools/sdk/python/v3/methods/work-items#submit-account-selection - source: | - from sailpoint.v3.api.work_items_api import WorkItemsApi - from sailpoint.v3.api_client import ApiClient - from sailpoint.v3.models.work_items import WorkItems - from sailpoint.configuration import Configuration - configuration = Configuration() - - - with ApiClient(configuration) as api_client: - id = 'ef38f94347e94562b5bb8424a56397d8' # str | The ID of the work item # str | The ID of the work item - request_body = {fieldName=fieldValue} # Dict[str, object] | Account Selection Data map, keyed on fieldName # Dict[str, object] | Account Selection Data map, keyed on fieldName - try: - # Submit Account Selections - new_request_body = RequestBody.from_json(request_body) - results = WorkItemsApi(api_client).submit_account_selection(id=id, request_body=new_request_body) - # Below is a request that includes all optional parameters - # results = WorkItemsApi(api_client).submit_account_selection(id, new_request_body) - print("The response of WorkItemsApi->submit_account_selection:\n") - print(results.model_dump_json(by_alias=True, indent=4)) - except Exception as e: - print("Exception when calling WorkItemsApi->submit_account_selection: %s\n" % e) - path: /workflow-executions/{id}/cancel method: POST xCodeSample: @@ -11699,3 +11359,343 @@ print(results.model_dump_json(by_alias=True, indent=4)) except Exception as e: print("Exception when calling WorkflowsApi->test_workflow: %s\n" % e) +- path: /work-items/{id}/approve/{approvalItemId} + method: POST + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v3/methods/work-items#approve-approval-item + source: | + from sailpoint.v3.api.work_items_api import WorkItemsApi + from sailpoint.v3.api_client import ApiClient + from sailpoint.v3.models.work_items import WorkItems + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + id = 'ef38f94347e94562b5bb8424a56397d8' # str | The ID of the work item # str | The ID of the work item + approval_item_id = '1211bcaa32112bcef6122adb21cef1ac' # str | The ID of the approval item. # str | The ID of the approval item. + try: + # Approve an Approval Item + + results = WorkItemsApi(api_client).approve_approval_item(id=id, approval_item_id=approval_item_id) + # Below is a request that includes all optional parameters + # results = WorkItemsApi(api_client).approve_approval_item(id, approval_item_id) + print("The response of WorkItemsApi->approve_approval_item:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling WorkItemsApi->approve_approval_item: %s\n" % e) +- path: /work-items/bulk-approve/{id} + method: POST + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v3/methods/work-items#approve-approval-items-in-bulk + source: | + from sailpoint.v3.api.work_items_api import WorkItemsApi + from sailpoint.v3.api_client import ApiClient + from sailpoint.v3.models.work_items import WorkItems + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + id = 'ef38f94347e94562b5bb8424a56397d8' # str | The ID of the work item # str | The ID of the work item + try: + # Bulk approve Approval Items + + results = WorkItemsApi(api_client).approve_approval_items_in_bulk(id=id) + # Below is a request that includes all optional parameters + # results = WorkItemsApi(api_client).approve_approval_items_in_bulk(id) + print("The response of WorkItemsApi->approve_approval_items_in_bulk:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling WorkItemsApi->approve_approval_items_in_bulk: %s\n" % e) +- path: /work-items/{id} + method: POST + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v3/methods/work-items#complete-work-item + source: | + from sailpoint.v3.api.work_items_api import WorkItemsApi + from sailpoint.v3.api_client import ApiClient + from sailpoint.v3.models.work_items import WorkItems + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + id = 'ef38f94347e94562b5bb8424a56397d8' # str | The ID of the work item # str | The ID of the work item + body = 'body_example' # str | Body is the request payload to create form definition request (optional) # str | Body is the request payload to create form definition request (optional) + try: + # Complete a Work Item + + results = WorkItemsApi(api_client).complete_work_item(id=id) + # Below is a request that includes all optional parameters + # results = WorkItemsApi(api_client).complete_work_item(id, new_body) + print("The response of WorkItemsApi->complete_work_item:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling WorkItemsApi->complete_work_item: %s\n" % e) +- path: /work-items/completed + method: GET + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v3/methods/work-items#get-completed-work-items + source: | + from sailpoint.v3.api.work_items_api import WorkItemsApi + from sailpoint.v3.api_client import ApiClient + from sailpoint.v3.models.work_items import WorkItems + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + owner_id = '1211bcaa32112bcef6122adb21cef1ac' # str | The id of the owner of the work item list being requested. Either an admin, or the owning/current user must make this request. (optional) # str | The id of the owner of the work item list being requested. Either an admin, or the owning/current user must make this request. (optional) + 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) + offset = 0 # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) + count = False # bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to False) # bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to False) + try: + # Completed Work Items + + results = WorkItemsApi(api_client).get_completed_work_items() + # Below is a request that includes all optional parameters + # results = WorkItemsApi(api_client).get_completed_work_items(owner_id, limit, offset, count) + print("The response of WorkItemsApi->get_completed_work_items:\n") + for item in results: + print(item.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling WorkItemsApi->get_completed_work_items: %s\n" % e) +- path: /work-items/completed/count + method: GET + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v3/methods/work-items#get-count-completed-work-items + source: | + from sailpoint.v3.api.work_items_api import WorkItemsApi + from sailpoint.v3.api_client import ApiClient + from sailpoint.v3.models.work_items_count import WorkItemsCount + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + owner_id = '1211bcaa32112bcef6122adb21cef1ac' # str | ID of the work item owner. (optional) # str | ID of the work item owner. (optional) + try: + # Count Completed Work Items + + results = WorkItemsApi(api_client).get_count_completed_work_items() + # Below is a request that includes all optional parameters + # results = WorkItemsApi(api_client).get_count_completed_work_items(owner_id) + print("The response of WorkItemsApi->get_count_completed_work_items:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling WorkItemsApi->get_count_completed_work_items: %s\n" % e) +- path: /work-items/count + method: GET + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v3/methods/work-items#get-count-work-items + source: | + from sailpoint.v3.api.work_items_api import WorkItemsApi + from sailpoint.v3.api_client import ApiClient + from sailpoint.v3.models.work_items_count import WorkItemsCount + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + owner_id = 'ef38f94347e94562b5bb8424a56397d8' # str | ID of the work item owner. (optional) # str | ID of the work item owner. (optional) + try: + # Count Work Items + + results = WorkItemsApi(api_client).get_count_work_items() + # Below is a request that includes all optional parameters + # results = WorkItemsApi(api_client).get_count_work_items(owner_id) + print("The response of WorkItemsApi->get_count_work_items:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling WorkItemsApi->get_count_work_items: %s\n" % e) +- path: /work-items/{id} + method: GET + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v3/methods/work-items#get-work-item + source: | + from sailpoint.v3.api.work_items_api import WorkItemsApi + from sailpoint.v3.api_client import ApiClient + from sailpoint.v3.models.work_items import WorkItems + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + id = '2c9180835d191a86015d28455b4a2329' # str | ID of the work item. # str | ID of the work item. + try: + # Get a Work Item + + results = WorkItemsApi(api_client).get_work_item(id=id) + # Below is a request that includes all optional parameters + # results = WorkItemsApi(api_client).get_work_item(id) + print("The response of WorkItemsApi->get_work_item:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling WorkItemsApi->get_work_item: %s\n" % e) +- path: /work-items/summary + method: GET + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v3/methods/work-items#get-work-items-summary + source: | + from sailpoint.v3.api.work_items_api import WorkItemsApi + from sailpoint.v3.api_client import ApiClient + from sailpoint.v3.models.work_items_summary import WorkItemsSummary + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + owner_id = '1211bcaa32112bcef6122adb21cef1ac' # str | ID of the work item owner. (optional) # str | ID of the work item owner. (optional) + try: + # Work Items Summary + + results = WorkItemsApi(api_client).get_work_items_summary() + # Below is a request that includes all optional parameters + # results = WorkItemsApi(api_client).get_work_items_summary(owner_id) + print("The response of WorkItemsApi->get_work_items_summary:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling WorkItemsApi->get_work_items_summary: %s\n" % e) +- path: /work-items + method: GET + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v3/methods/work-items#list-work-items + source: | + from sailpoint.v3.api.work_items_api import WorkItemsApi + from sailpoint.v3.api_client import ApiClient + from sailpoint.v3.models.work_items import WorkItems + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + 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) + offset = 0 # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) + count = False # bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to False) # bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to False) + owner_id = '1211bcaa32112bcef6122adb21cef1ac' # str | ID of the work item owner. (optional) # str | ID of the work item owner. (optional) + try: + # List Work Items + + results = WorkItemsApi(api_client).list_work_items() + # Below is a request that includes all optional parameters + # results = WorkItemsApi(api_client).list_work_items(limit, offset, count, owner_id) + print("The response of WorkItemsApi->list_work_items:\n") + for item in results: + print(item.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling WorkItemsApi->list_work_items: %s\n" % e) +- path: /work-items/{id}/reject/{approvalItemId} + method: POST + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v3/methods/work-items#reject-approval-item + source: | + from sailpoint.v3.api.work_items_api import WorkItemsApi + from sailpoint.v3.api_client import ApiClient + from sailpoint.v3.models.work_items import WorkItems + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + id = 'ef38f94347e94562b5bb8424a56397d8' # str | The ID of the work item # str | The ID of the work item + approval_item_id = '1211bcaa32112bcef6122adb21cef1ac' # str | The ID of the approval item. # str | The ID of the approval item. + try: + # Reject an Approval Item + + results = WorkItemsApi(api_client).reject_approval_item(id=id, approval_item_id=approval_item_id) + # Below is a request that includes all optional parameters + # results = WorkItemsApi(api_client).reject_approval_item(id, approval_item_id) + print("The response of WorkItemsApi->reject_approval_item:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling WorkItemsApi->reject_approval_item: %s\n" % e) +- path: /work-items/bulk-reject/{id} + method: POST + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v3/methods/work-items#reject-approval-items-in-bulk + source: | + from sailpoint.v3.api.work_items_api import WorkItemsApi + from sailpoint.v3.api_client import ApiClient + from sailpoint.v3.models.work_items import WorkItems + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + id = 'ef38f94347e94562b5bb8424a56397d8' # str | The ID of the work item # str | The ID of the work item + try: + # Bulk reject Approval Items + + results = WorkItemsApi(api_client).reject_approval_items_in_bulk(id=id) + # Below is a request that includes all optional parameters + # results = WorkItemsApi(api_client).reject_approval_items_in_bulk(id) + print("The response of WorkItemsApi->reject_approval_items_in_bulk:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling WorkItemsApi->reject_approval_items_in_bulk: %s\n" % e) +- path: /work-items/{id}/forward + method: POST + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v3/methods/work-items#send-work-item-forward + source: | + from sailpoint.v3.api.work_items_api import WorkItemsApi + from sailpoint.v3.api_client import ApiClient + from sailpoint.v3.models.work_item_forward import WorkItemForward + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + id = 'ef38f94347e94562b5bb8424a56397d8' # str | The ID of the work item # str | The ID of the work item + work_item_forward = '''{ + "targetOwnerId" : "2c9180835d2e5168015d32f890ca1581", + "comment" : "I'm going on vacation.", + "sendNotifications" : true + }''' # WorkItemForward | + try: + # Forward a Work Item + new_work_item_forward = WorkItemForward.from_json(work_item_forward) + WorkItemsApi(api_client).send_work_item_forward(id=id, work_item_forward=new_work_item_forward) + # Below is a request that includes all optional parameters + # WorkItemsApi(api_client).send_work_item_forward(id, new_work_item_forward) + except Exception as e: + print("Exception when calling WorkItemsApi->send_work_item_forward: %s\n" % e) +- path: /work-items/{id}/submit-account-selection + method: POST + xCodeSample: + - lang: Python + label: SDK_tools/sdk/python/v3/methods/work-items#submit-account-selection + source: | + from sailpoint.v3.api.work_items_api import WorkItemsApi + from sailpoint.v3.api_client import ApiClient + from sailpoint.v3.models.work_items import WorkItems + from sailpoint.configuration import Configuration + configuration = Configuration() + + + with ApiClient(configuration) as api_client: + id = 'ef38f94347e94562b5bb8424a56397d8' # str | The ID of the work item # str | The ID of the work item + request_body = {fieldName=fieldValue} # Dict[str, object] | Account Selection Data map, keyed on fieldName # Dict[str, object] | Account Selection Data map, keyed on fieldName + try: + # Submit Account Selections + new_request_body = RequestBody.from_json(request_body) + results = WorkItemsApi(api_client).submit_account_selection(id=id, request_body=new_request_body) + # Below is a request that includes all optional parameters + # results = WorkItemsApi(api_client).submit_account_selection(id, new_request_body) + print("The response of WorkItemsApi->submit_account_selection:\n") + print(results.model_dump_json(by_alias=True, indent=4)) + except Exception as e: + print("Exception when calling WorkItemsApi->submit_account_selection: %s\n" % e)