Edit entitlements for a potential role to exclude some entitlements
create-potential-role-provision-request
:::warning experimental
This API is currently in an experimental state. The API is subject to change based on feedback and further testing. You must include the X-SailPoint-Experimental header and set it to true to use this endpoint.
:::
Create request to provision a potential role into an actual role.
This method starts a job to provision a potential role
Accepted. Returns a potential role summary including the status of the provison request
RoleMiningPotentialRoleSummary
-
400
Client Error - Returned if the request body is invalid.
ErrorResponseDto
-
401
Unauthorized - Returned if there is no authorization header, or if the JWT token is expired.
ListAccessProfiles401Response
-
403
Forbidden - Returned if the user you are running as, doesn't have access to this end-point.
ErrorResponseDto
-
404
Not Found - returned if the request URL refers to a resource or object that does not exist
ErrorResponseDto
-
500
Internal Server Error - Returned if there is an unexpected error.
ErrorResponseDto
-
HTTP request headers
Content-Type: application/json
Accept: application/json
Example
importsailpoint.v2024fromsailpoint.v2024.models.role_mining_potential_role_provision_requestimportRoleMiningPotentialRoleProvisionRequestfromsailpoint.v2024.models.role_mining_potential_role_summaryimportRoleMiningPotentialRoleSummaryfromsailpoint.v2024.restimportApiExceptionfrompprintimportpprintsession_id='8c190e67-87aa-4ed9-a90b-d9d5344523fb'# str | The role mining session id # str | The role mining session idpotential_role_id='8c190e67-87aa-4ed9-a90b-d9d5344523fb'# str | A potential role id in a role mining session # str | A potential role id in a role mining sessionx_sail_point_experimental='true'# str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true')min_entitlement_popularity=0# int | Minimum popularity required for an entitlement to be included in the provisioned role. (optional) (default to 0) # int | Minimum popularity required for an entitlement to be included in the provisioned role. (optional) (default to 0)include_common_access=True# bool | Boolean determining whether common access entitlements will be included in the provisioned role. (optional) (default to True) # bool | Boolean determining whether common access entitlements will be included in the provisioned role. (optional) (default to True)role_mining_potential_role_provision_request={"includeIdentities":true,"roleName":"Finance - Accounting","ownerId":"2b568c65bc3c4c57a43bd97e3a8e41","roleDescription":"General access for accounting department","directlyAssignedEntitlements":false}# RoleMiningPotentialRoleProvisionRequest | Required information to create a new role (optional)try:# Create request to provision a potential role into an actual role.api_response=api_instance.create_potential_role_provision_request(session_id,potential_role_id,x_sail_point_experimental,)# Below is a request that includes all optional parameters# api_response = api_instance.create_potential_role_provision_request(session_id, potential_role_id, x_sail_point_experimental, min_entitlement_popularity, include_common_access, Result)print("The response of IAIRoleMiningApi->create_potential_role_provision_request:\n")pprint(api_response)exceptExceptionase:print("Exception when calling IAIRoleMiningApi->create_potential_role_provision_request: %s\n"%e)
:::warning experimental
This API is currently in an experimental state. The API is subject to change based on feedback and further testing. You must include the X-SailPoint-Experimental header and set it to true to use this endpoint.
:::
Create a role mining session
This submits a create role mining session request to the role mining application.
Client Error - Returned if the request body is invalid.
ErrorResponseDto
-
401
Unauthorized - Returned if there is no authorization header, or if the JWT token is expired.
ListAccessProfiles401Response
-
403
Forbidden - Returned if the user you are running as, doesn't have access to this end-point.
ErrorResponseDto
-
429
Too Many Requests - Returned in response to too many requests in a given period of time - rate limited. The Retry-After header in the response includes how long to wait before trying again.
ListAccessProfiles429Response
-
500
Internal Server Error - Returned if there is an unexpected error.
ErrorResponseDto
-
HTTP request headers
Content-Type: application/json
Accept: application/json
Example
importsailpoint.v2024fromsailpoint.v2024.models.role_mining_session_dtoimportRoleMiningSessionDtofromsailpoint.v2024.models.role_mining_session_responseimportRoleMiningSessionResponsefromsailpoint.v2024.restimportApiExceptionfrompprintimportpprintx_sail_point_experimental='true'# str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true')role_mining_session_dto={"emailRecipientId":"2c918090761a5aac0176215c46a62d58","prescribedPruneThreshold":10,"pruneThreshold":50,"saved":true,"potentialRolesReadyCount":0,"scope":{"identityIds":["2c918090761a5aac0176215c46a62d58","2c918090761a5aac01722015c46a62d42"],"attributeFilterCriteria":{"displayName":{"untranslated":"Location: Miami"},"ariaLabel":{"untranslated":"Location: Miami"},"data":{"displayName":{"translateKey":"IDN.IDENTITY_ATTRIBUTES.LOCATION"},"name":"location","operator":"EQUALS","values":["Miami"]}},"criteria":"source.name:DataScienceDataset"},"potentialRoleCount":0,"name":"Saved RM Session - 07/10","minNumIdentitiesInPotentialRole":20,"identityCount":0,"type":"SPECIALIZED"}# RoleMiningSessionDto | Role mining session parameterstry:# Create a role mining sessionResult=role_mining_session_dto.from_json(role_mining_session_dto)api_response=api_instance.create_role_mining_sessions(x_sail_point_experimental,Result)# Below is a request that includes all optional parameters# api_response = api_instance.create_role_mining_sessions(x_sail_point_experimental, Result)print("The response of IAIRoleMiningApi->create_role_mining_sessions:\n")pprint(api_response)exceptExceptionase:print("Exception when calling IAIRoleMiningApi->create_role_mining_sessions: %s\n"%e)
:::warning experimental
This API is currently in an experimental state. The API is subject to change based on feedback and further testing. You must include the X-SailPoint-Experimental header and set it to true to use this endpoint.
:::
Export (download) details for a potential role in a role mining session
This endpoint downloads a completed export of information for a potential role in a role mining session.
The id of a previously run export job for this potential role
x_sail_point_experimental
str
True (default to 'true')
Use this header to enable this experimental API.
Return type
bytearray
Responses
Code
Description
Data Type
Response headers
200
Succeeded. Returns a zip file containing csv files for identities and entitlements for the potential role.
bytearray
-
400
Client Error - Returned if the request body is invalid.
ErrorResponseDto
-
401
Unauthorized - Returned if there is no authorization header, or if the JWT token is expired.
ListAccessProfiles401Response
-
403
Forbidden - Returned if the user you are running as, doesn't have access to this end-point.
ErrorResponseDto
-
500
Internal Server Error - Returned if there is an unexpected error.
ErrorResponseDto
-
HTTP request headers
Content-Type: Not defined
Accept: application/zip, application/json
Example
importsailpoint.v2024fromsailpoint.v2024.restimportApiExceptionfrompprintimportpprintsession_id='8c190e67-87aa-4ed9-a90b-d9d5344523fb'# str | The role mining session id # str | The role mining session idpotential_role_id='278359a6-04b7-4669-9468-924cf580964a'# str | A potential role id in a role mining session # str | A potential role id in a role mining sessionexport_id='4940ffd4-836f-48a3-b2b0-6d498c3fdf40'# str | The id of a previously run export job for this potential role # str | The id of a previously run export job for this potential rolex_sail_point_experimental='true'# 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:# Export (download) details for a potential role in a role mining sessionapi_response=api_instance.download_role_mining_potential_role_zip(session_id,potential_role_id,export_id,x_sail_point_experimental)# Below is a request that includes all optional parameters# api_response = api_instance.download_role_mining_potential_role_zip(session_id, potential_role_id, export_id, x_sail_point_experimental)print("The response of IAIRoleMiningApi->download_role_mining_potential_role_zip:\n")pprint(api_response)exceptExceptionase:print("Exception when calling IAIRoleMiningApi->download_role_mining_potential_role_zip: %s\n"%e)
:::warning experimental
This API is currently in an experimental state. The API is subject to change based on feedback and further testing. You must include the X-SailPoint-Experimental header and set it to true to use this endpoint.
:::
Export (download) details for a potential role in a role mining session
This endpoint downloads all the information for a potential role in a role mining session. Includes identities and entitlements in the potential role.
Succeeded. Returns a zip file containing csv files for identities and entitlements for the potential role.
bytearray
-
400
Client Error - Returned if the request body is invalid.
ErrorResponseDto
-
401
Unauthorized - Returned if there is no authorization header, or if the JWT token is expired.
ListAccessProfiles401Response
-
403
Forbidden - Returned if the user you are running as, doesn't have access to this end-point.
ErrorResponseDto
-
500
Internal Server Error - Returned if there is an unexpected error.
ErrorResponseDto
-
HTTP request headers
Content-Type: Not defined
Accept: application/zip, application/json
Example
importsailpoint.v2024fromsailpoint.v2024.restimportApiExceptionfrompprintimportpprintsession_id='8c190e67-87aa-4ed9-a90b-d9d5344523fb'# str | The role mining session id # str | The role mining session idpotential_role_id='8c190e67-87aa-4ed9-a90b-d9d5344523fb'# str | A potential role id in a role mining session # str | A potential role id in a role mining sessionx_sail_point_experimental='true'# 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:# Export (download) details for a potential role in a role mining sessionapi_response=api_instance.export_role_mining_potential_role(session_id,potential_role_id,x_sail_point_experimental)# Below is a request that includes all optional parameters# api_response = api_instance.export_role_mining_potential_role(session_id, potential_role_id, x_sail_point_experimental)print("The response of IAIRoleMiningApi->export_role_mining_potential_role:\n")pprint(api_response)exceptExceptionase:print("Exception when calling IAIRoleMiningApi->export_role_mining_potential_role: %s\n"%e)
:::warning experimental
This API is currently in an experimental state. The API is subject to change based on feedback and further testing. You must include the X-SailPoint-Experimental header and set it to true to use this endpoint.
:::
Asynchronously export details for a potential role in a role mining session and upload to S3
This endpoint uploads all the information for a potential role in a role mining session to S3 as a downloadable zip archive. Includes identities and entitlements in the potential role.
Job Submitted. Returns a reportId that can be used to download the zip once complete
RoleMiningPotentialRoleExportResponse
-
400
Client Error - Returned if the request body is invalid.
ErrorResponseDto
-
401
Unauthorized - Returned if there is no authorization header, or if the JWT token is expired.
ListAccessProfiles401Response
-
403
Forbidden - Returned if the user you are running as, doesn't have access to this end-point.
ErrorResponseDto
-
500
Internal Server Error - Returned if there is an unexpected error.
ErrorResponseDto
-
HTTP request headers
Content-Type: application/json
Accept: application/json
Example
importsailpoint.v2024fromsailpoint.v2024.models.role_mining_potential_role_export_requestimportRoleMiningPotentialRoleExportRequestfromsailpoint.v2024.models.role_mining_potential_role_export_responseimportRoleMiningPotentialRoleExportResponsefromsailpoint.v2024.restimportApiExceptionfrompprintimportpprintsession_id='8c190e67-87aa-4ed9-a90b-d9d5344523fb'# str | The role mining session id # str | The role mining session idpotential_role_id='278359a6-04b7-4669-9468-924cf580964a'# str | A potential role id in a role mining session # str | A potential role id in a role mining sessionx_sail_point_experimental='true'# str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true')role_mining_potential_role_export_request={"minEntitlementPopularity":0,"includeCommonAccess":true}# RoleMiningPotentialRoleExportRequest | (optional)try:# Asynchronously export details for a potential role in a role mining session and upload to S3api_response=api_instance.export_role_mining_potential_role_async(session_id,potential_role_id,x_sail_point_experimental,)# Below is a request that includes all optional parameters# api_response = api_instance.export_role_mining_potential_role_async(session_id, potential_role_id, x_sail_point_experimental, Result)print("The response of IAIRoleMiningApi->export_role_mining_potential_role_async:\n")pprint(api_response)exceptExceptionase:print("Exception when calling IAIRoleMiningApi->export_role_mining_potential_role_async: %s\n"%e)
:::warning experimental
This API is currently in an experimental state. The API is subject to change based on feedback and further testing. You must include the X-SailPoint-Experimental header and set it to true to use this endpoint.
:::
Retrieve status of a potential role export job
This endpoint retrieves information about the current status of a potential role export.
Success. Returns the current status of this export
RoleMiningPotentialRoleExportResponse
-
400
Client Error - Returned if the request body is invalid.
ErrorResponseDto
-
401
Unauthorized - Returned if there is no authorization header, or if the JWT token is expired.
ListAccessProfiles401Response
-
403
Forbidden - Returned if the user you are running as, doesn't have access to this end-point.
ErrorResponseDto
-
500
Internal Server Error - Returned if there is an unexpected error.
ErrorResponseDto
-
HTTP request headers
Content-Type: Not defined
Accept: application/json
Example
importsailpoint.v2024fromsailpoint.v2024.models.role_mining_potential_role_export_responseimportRoleMiningPotentialRoleExportResponsefromsailpoint.v2024.restimportApiExceptionfrompprintimportpprintsession_id='8c190e67-87aa-4ed9-a90b-d9d5344523fb'# str | The role mining session id # str | The role mining session idpotential_role_id='278359a6-04b7-4669-9468-924cf580964a'# str | A potential role id in a role mining session # str | A potential role id in a role mining sessionexport_id='4940ffd4-836f-48a3-b2b0-6d498c3fdf40'# str | The id of a previously run export job for this potential role # str | The id of a previously run export job for this potential rolex_sail_point_experimental='true'# 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:# Retrieve status of a potential role export jobapi_response=api_instance.export_role_mining_potential_role_status(session_id,potential_role_id,export_id,x_sail_point_experimental)# Below is a request that includes all optional parameters# api_response = api_instance.export_role_mining_potential_role_status(session_id, potential_role_id, export_id, x_sail_point_experimental)print("The response of IAIRoleMiningApi->export_role_mining_potential_role_status:\n")pprint(api_response)exceptExceptionase:print("Exception when calling IAIRoleMiningApi->export_role_mining_potential_role_status: %s\n"%e)
:::warning experimental
This API is currently in an experimental state. The API is subject to change based on feedback and further testing. You must include the X-SailPoint-Experimental header and set it to true to use this endpoint.
:::
Retrieves all potential role summaries
Returns all potential role summaries that match the query parameters
Sort results using the standard syntax described in V3 API Standard Collection Parameters Sorting is supported for the following fields: createdDate, identityCount, entitlementCount, freshness, quality
Query
filters
str
(optional)
Filter results using the standard syntax described in V3 API Standard Collection Parameters Filtering is supported for the following fields and operators: createdById: eq, sw, cocreatedByName: eq, sw, codescription: sw, coendDate: le, ltfreshness: eq, ge, gt, le, ltname: eq, sw, co, ge, gt, le, ltquality: eq, ge, gt, le, ltstartDate: ge, gtsaved: eqtype: eq, ge, gt, le, ltscopingMethod: eqsessionState: eqidentityAttribute: co
Query
offset
int
(optional) (default to 0)
Offset into the full result set. Usually specified with limit to paginate through the results. See V3 API Standard Collection Parameters for more information.
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 for more information.
Succeeded. Returns all potential role summaries that match the query parameters.
List[RoleMiningPotentialRoleSummary]
-
400
Client Error - Returned if the request body is invalid.
ErrorResponseDto
-
401
Unauthorized - Returned if there is no authorization header, or if the JWT token is expired.
ListAccessProfiles401Response
-
403
Forbidden - Returned if the user you are running as, doesn't have access to this end-point.
ErrorResponseDto
-
429
Too Many Requests - Returned in response to too many requests in a given period of time - rate limited. The Retry-After header in the response includes how long to wait before trying again.
ListAccessProfiles429Response
-
500
Internal Server Error - Returned if there is an unexpected error.
ErrorResponseDto
-
HTTP request headers
Content-Type: Not defined
Accept: application/json
Example
importsailpoint.v2024fromsailpoint.v2024.models.role_mining_potential_role_summaryimportRoleMiningPotentialRoleSummaryfromsailpoint.v2024.restimportApiExceptionfrompprintimportpprintx_sail_point_experimental='true'# str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true')sorters='createdDate'# 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: **createdDate, identityCount, entitlementCount, freshness, quality** (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: **createdDate, identityCount, entitlementCount, freshness, quality** (optional)filters='(createdByName co \"int\") and (createdById sw \"2c9180907\") and (type eq \"COMMON\") and ((name co \"entt\") or (saved eq true))'# 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: **createdById**: *eq, sw, co* **createdByName**: *eq, sw, co* **description**: *sw, co* **endDate**: *le, lt* **freshness**: *eq, ge, gt, le, lt* **name**: *eq, sw, co, ge, gt, le, lt* **quality**: *eq, ge, gt, le, lt* **startDate**: *ge, gt* **saved**: *eq* **type**: *eq, ge, gt, le, lt* **scopingMethod**: *eq* **sessionState**: *eq* **identityAttribute**: *co* (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: **createdById**: *eq, sw, co* **createdByName**: *eq, sw, co* **description**: *sw, co* **endDate**: *le, lt* **freshness**: *eq, ge, gt, le, lt* **name**: *eq, sw, co, ge, gt, le, lt* **quality**: *eq, ge, gt, le, lt* **startDate**: *ge, gt* **saved**: *eq* **type**: *eq, ge, gt, le, lt* **scopingMethod**: *eq* **sessionState**: *eq* **identityAttribute**: *co* (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)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:# Retrieves all potential role summariesapi_response=api_instance.get_all_potential_role_summaries(x_sail_point_experimental,)# Below is a request that includes all optional parameters# api_response = api_instance.get_all_potential_role_summaries(x_sail_point_experimental, sorters, filters, offset, limit, count)print("The response of IAIRoleMiningApi->get_all_potential_role_summaries:\n")pprint(api_response)exceptExceptionase:print("Exception when calling IAIRoleMiningApi->get_all_potential_role_summaries: %s\n"%e)
:::warning experimental
This API is currently in an experimental state. The API is subject to change based on feedback and further testing. You must include the X-SailPoint-Experimental header and set it to true to use this endpoint.
:::
Retrieves entitlement popularity distribution for a potential role in a role mining session
This method returns entitlement popularity distribution for a potential role in a role mining session.
Boolean determining whether common access entitlements will be included or not
Return type
Dict[str, int]
Responses
Code
Description
Data Type
Response headers
200
Succeeded. Returns a map containing entitlement popularity distribution for a potential role.
Dict[str, int]
-
400
Client Error - Returned if the request body is invalid.
ErrorResponseDto
-
401
Unauthorized - Returned if there is no authorization header, or if the JWT token is expired.
ListAccessProfiles401Response
-
403
Forbidden - Returned if the user you are running as, doesn't have access to this end-point.
ErrorResponseDto
-
500
Internal Server Error - Returned if there is an unexpected error.
ErrorResponseDto
-
HTTP request headers
Content-Type: Not defined
Accept: application/json
Example
importsailpoint.v2024fromsailpoint.v2024.restimportApiExceptionfrompprintimportpprintsession_id='8c190e67-87aa-4ed9-a90b-d9d5344523fb'# str | The role mining session id # str | The role mining session idpotential_role_id='8c190e67-87aa-4ed9-a90b-d9d5344523fb'# str | A potential role id in a role mining session # str | A potential role id in a role mining sessionx_sail_point_experimental='true'# str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true')include_common_access=True# bool | Boolean determining whether common access entitlements will be included or not (optional) # bool | Boolean determining whether common access entitlements will be included or not (optional)try:# Retrieves entitlement popularity distribution for a potential role in a role mining sessionapi_response=api_instance.get_entitlement_distribution_potential_role(session_id,potential_role_id,x_sail_point_experimental,)# Below is a request that includes all optional parameters# api_response = api_instance.get_entitlement_distribution_potential_role(session_id, potential_role_id, x_sail_point_experimental, include_common_access)print("The response of IAIRoleMiningApi->get_entitlement_distribution_potential_role:\n")pprint(api_response)exceptExceptionase:print("Exception when calling IAIRoleMiningApi->get_entitlement_distribution_potential_role: %s\n"%e)
:::warning experimental
This API is currently in an experimental state. The API is subject to change based on feedback and further testing. You must include the X-SailPoint-Experimental header and set it to true to use this endpoint.
:::
Retrieves entitlements for a potential role in a role mining session
This method returns entitlements for a potential role in a role mining session.
Boolean determining whether common access entitlements will be included or not
Query
sorters
str
(optional)
Sort results using the standard syntax described in V3 API Standard Collection Parameters Sorting is supported for the following fields: popularity, entitlementName, applicationName The default sort is popularity in descending order.
Query
filters
str
(optional)
Filter results using the standard syntax described in V3 API Standard Collection Parameters Filtering is supported for the following fields and operators: applicationName: swentitlementRef.name: sw
Query
offset
int
(optional) (default to 0)
Offset into the full result set. Usually specified with limit to paginate through the results. See V3 API Standard Collection Parameters for more information.
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 for more information.
Succeeded. Returns a list of entitlements for a potential role.
List[RoleMiningEntitlement]
-
400
Client Error - Returned if the request body is invalid.
ErrorResponseDto
-
401
Unauthorized - Returned if there is no authorization header, or if the JWT token is expired.
ListAccessProfiles401Response
-
403
Forbidden - Returned if the user you are running as, doesn't have access to this end-point.
ErrorResponseDto
-
429
Too Many Requests - Returned in response to too many requests in a given period of time - rate limited. The Retry-After header in the response includes how long to wait before trying again.
ListAccessProfiles429Response
-
500
Internal Server Error - Returned if there is an unexpected error.
ErrorResponseDto
-
HTTP request headers
Content-Type: Not defined
Accept: application/json
Example
importsailpoint.v2024fromsailpoint.v2024.models.role_mining_entitlementimportRoleMiningEntitlementfromsailpoint.v2024.restimportApiExceptionfrompprintimportpprintsession_id='8c190e67-87aa-4ed9-a90b-d9d5344523fb'# str | The role mining session id # str | The role mining session idpotential_role_id='8c190e67-87aa-4ed9-a90b-d9d5344523fb'# str | A potential role id in a role mining session # str | A potential role id in a role mining sessionx_sail_point_experimental='true'# str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true')include_common_access=True# bool | Boolean determining whether common access entitlements will be included or not (optional) (default to True) # bool | Boolean determining whether common access entitlements will be included or not (optional) (default to True)sorters='popularity'# 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: **popularity, entitlementName, applicationName** The default sort is **popularity** in descending order. (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: **popularity, entitlementName, applicationName** The default sort is **popularity** in descending order. (optional)filters='applicationName sw \"AD\"'# 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: **applicationName**: *sw* **entitlementRef.name**: *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: **applicationName**: *sw* **entitlementRef.name**: *sw* (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)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:# Retrieves entitlements for a potential role in a role mining sessionapi_response=api_instance.get_entitlements_potential_role(session_id,potential_role_id,x_sail_point_experimental,)# Below is a request that includes all optional parameters# api_response = api_instance.get_entitlements_potential_role(session_id, potential_role_id, x_sail_point_experimental, include_common_access, sorters, filters, offset, limit, count)print("The response of IAIRoleMiningApi->get_entitlements_potential_role:\n")pprint(api_response)exceptExceptionase:print("Exception when calling IAIRoleMiningApi->get_entitlements_potential_role: %s\n"%e)
:::warning experimental
This API is currently in an experimental state. The API is subject to change based on feedback and further testing. You must include the X-SailPoint-Experimental header and set it to true to use this endpoint.
:::
Retrieves excluded entitlements for a potential role in a role mining session
This method returns excluded entitlements for a potential role in a role mining session.
Filter results using the standard syntax described in V3 API Standard Collection Parameters Filtering is supported for the following fields and operators: applicationName: swentitlementRef.name: sw
Query
offset
int
(optional) (default to 0)
Offset into the full result set. Usually specified with limit to paginate through the results. See V3 API Standard Collection Parameters for more information.
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 for more information.
Succeeded. Returns a list of excluded entitlements for a potential roles.
List[RoleMiningEntitlement]
-
400
Client Error - Returned if the request body is invalid.
ErrorResponseDto
-
401
Unauthorized - Returned if there is no authorization header, or if the JWT token is expired.
ListAccessProfiles401Response
-
403
Forbidden - Returned if the user you are running as, doesn't have access to this end-point.
ErrorResponseDto
-
500
Internal Server Error - Returned if there is an unexpected error.
ErrorResponseDto
-
HTTP request headers
Content-Type: Not defined
Accept: application/json
Example
importsailpoint.v2024fromsailpoint.v2024.models.role_mining_entitlementimportRoleMiningEntitlementfromsailpoint.v2024.restimportApiExceptionfrompprintimportpprintsession_id='8c190e67-87aa-4ed9-a90b-d9d5344523fb'# str | The role mining session id # str | The role mining session idpotential_role_id='8c190e67-87aa-4ed9-a90b-d9d5344523fb'# str | A potential role id in a role mining session # str | A potential role id in a role mining sessionx_sail_point_experimental='true'# str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true')sorters='populariity'# 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: **popularity** (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: **popularity** (optional)filters='applicationName sw \"AD\"'# 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: **applicationName**: *sw* **entitlementRef.name**: *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: **applicationName**: *sw* **entitlementRef.name**: *sw* (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)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:# Retrieves excluded entitlements for a potential role in a role mining sessionapi_response=api_instance.get_excluded_entitlements_potential_role(session_id,potential_role_id,x_sail_point_experimental,)# Below is a request that includes all optional parameters# api_response = api_instance.get_excluded_entitlements_potential_role(session_id, potential_role_id, x_sail_point_experimental, sorters, filters, offset, limit, count)print("The response of IAIRoleMiningApi->get_excluded_entitlements_potential_role:\n")pprint(api_response)exceptExceptionase:print("Exception when calling IAIRoleMiningApi->get_excluded_entitlements_potential_role: %s\n"%e)
:::warning experimental
This API is currently in an experimental state. The API is subject to change based on feedback and further testing. You must include the X-SailPoint-Experimental header and set it to true to use this endpoint.
:::
Retrieves identities for a potential role in a role mining session
This method returns identities for a potential role in a role mining session.
Filter results using the standard syntax described in V3 API Standard Collection Parameters Filtering is supported for the following fields and operators: name: sw
Query
offset
int
(optional) (default to 0)
Offset into the full result set. Usually specified with limit to paginate through the results. See V3 API Standard Collection Parameters for more information.
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 for more information.
Succeeded. Returns a list of identities for a potential role.
List[RoleMiningIdentity]
-
400
Client Error - Returned if the request body is invalid.
ErrorResponseDto
-
401
Unauthorized - Returned if there is no authorization header, or if the JWT token is expired.
ListAccessProfiles401Response
-
403
Forbidden - Returned if the user you are running as, doesn't have access to this end-point.
ErrorResponseDto
-
500
Internal Server Error - Returned if there is an unexpected error.
ErrorResponseDto
-
HTTP request headers
Content-Type: Not defined
Accept: application/json
Example
importsailpoint.v2024fromsailpoint.v2024.models.role_mining_identityimportRoleMiningIdentityfromsailpoint.v2024.restimportApiExceptionfrompprintimportpprintsession_id='8c190e67-87aa-4ed9-a90b-d9d5344523fb'# str | The role mining session id # str | The role mining session idpotential_role_id='8c190e67-87aa-4ed9-a90b-d9d5344523fb'# str | A potential role id in a role mining session # str | A potential role id in a role mining sessionx_sail_point_experimental='true'# str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true')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='filters_example'# 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: **name**: *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: **name**: *sw* (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)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:# Retrieves identities for a potential role in a role mining sessionapi_response=api_instance.get_identities_potential_role(session_id,potential_role_id,x_sail_point_experimental,)# Below is a request that includes all optional parameters# api_response = api_instance.get_identities_potential_role(session_id, potential_role_id, x_sail_point_experimental, sorters, filters, offset, limit, count)print("The response of IAIRoleMiningApi->get_identities_potential_role:\n")pprint(api_response)exceptExceptionase:print("Exception when calling IAIRoleMiningApi->get_identities_potential_role: %s\n"%e)
:::warning experimental
This API is currently in an experimental state. The API is subject to change based on feedback and further testing. You must include the X-SailPoint-Experimental header and set it to true to use this endpoint.
:::
Retrieves a specific potential role
This method returns a specific potential role for a role mining session.
Succeeded. Returns a list of potential roles for a role mining session.
RoleMiningPotentialRole
-
400
Client Error - Returned if the request body is invalid.
ErrorResponseDto
-
401
Unauthorized - Returned if there is no authorization header, or if the JWT token is expired.
ListAccessProfiles401Response
-
403
Forbidden - Returned if the user you are running as, doesn't have access to this end-point.
ErrorResponseDto
-
429
Too Many Requests - Returned in response to too many requests in a given period of time - rate limited. The Retry-After header in the response includes how long to wait before trying again.
ListAccessProfiles429Response
-
500
Internal Server Error - Returned if there is an unexpected error.
ErrorResponseDto
-
HTTP request headers
Content-Type: Not defined
Accept: application/json
Example
importsailpoint.v2024fromsailpoint.v2024.models.role_mining_potential_roleimportRoleMiningPotentialRolefromsailpoint.v2024.restimportApiExceptionfrompprintimportpprintsession_id='8c190e67-87aa-4ed9-a90b-d9d5344523fb'# str | The role mining session id # str | The role mining session idpotential_role_id='8c190e67-87aa-4ed9-a90b-d9d5344523fb'# str | A potential role id in a role mining session # str | A potential role id in a role mining sessionx_sail_point_experimental='true'# 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:# Retrieves a specific potential roleapi_response=api_instance.get_potential_role(session_id,potential_role_id,x_sail_point_experimental)# Below is a request that includes all optional parameters# api_response = api_instance.get_potential_role(session_id, potential_role_id, x_sail_point_experimental)print("The response of IAIRoleMiningApi->get_potential_role:\n")pprint(api_response)exceptExceptionase:print("Exception when calling IAIRoleMiningApi->get_potential_role: %s\n"%e)
:::warning experimental
This API is currently in an experimental state. The API is subject to change based on feedback and further testing. You must include the X-SailPoint-Experimental header and set it to true to use this endpoint.
:::
Retrieves the applications of a potential role for a role mining session
This method returns the applications of a potential role for a role mining session.
Filter results using the standard syntax described in V3 API Standard Collection Parameters Filtering is supported for the following fields and operators: applicationName: sw
Query
offset
int
(optional) (default to 0)
Offset into the full result set. Usually specified with limit to paginate through the results. See V3 API Standard Collection Parameters for more information.
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 for more information.
Succeeded. Returns a list of potential roles for a role mining session.
List[RoleMiningPotentialRoleApplication]
-
400
Client Error - Returned if the request body is invalid.
ErrorResponseDto
-
401
Unauthorized - Returned if there is no authorization header, or if the JWT token is expired.
ListAccessProfiles401Response
-
403
Forbidden - Returned if the user you are running as, doesn't have access to this end-point.
ErrorResponseDto
-
429
Too Many Requests - Returned in response to too many requests in a given period of time - rate limited. The Retry-After header in the response includes how long to wait before trying again.
ListAccessProfiles429Response
-
500
Internal Server Error - Returned if there is an unexpected error.
ErrorResponseDto
-
HTTP request headers
Content-Type: Not defined
Accept: application/json
Example
importsailpoint.v2024fromsailpoint.v2024.models.role_mining_potential_role_applicationimportRoleMiningPotentialRoleApplicationfromsailpoint.v2024.restimportApiExceptionfrompprintimportpprintsession_id='8c190e67-87aa-4ed9-a90b-d9d5344523fb'# str | The role mining session id # str | The role mining session idpotential_role_id='62f28d91-7d9f-4d17-be15-666d5b41d77f'# str | A potential role id in a role mining session # str | A potential role id in a role mining sessionx_sail_point_experimental='true'# str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true')filters='applicationName sw \"test\"'# 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: **applicationName**: *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: **applicationName**: *sw* (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)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:# Retrieves the applications of a potential role for a role mining sessionapi_response=api_instance.get_potential_role_applications(session_id,potential_role_id,x_sail_point_experimental,)# Below is a request that includes all optional parameters# api_response = api_instance.get_potential_role_applications(session_id, potential_role_id, x_sail_point_experimental, filters, offset, limit, count)print("The response of IAIRoleMiningApi->get_potential_role_applications:\n")pprint(api_response)exceptExceptionase:print("Exception when calling IAIRoleMiningApi->get_potential_role_applications: %s\n"%e)
:::warning experimental
This API is currently in an experimental state. The API is subject to change based on feedback and further testing. You must include the X-SailPoint-Experimental header and set it to true to use this endpoint.
:::
Retrieves the entitlements of a potential role for a role mining session
This method returns the entitlements of a potential role for a role mining session.
Filter results using the standard syntax described in V3 API Standard Collection Parameters Filtering is supported for the following fields and operators: entitlementRef.name: sw
Query
offset
int
(optional) (default to 0)
Offset into the full result set. Usually specified with limit to paginate through the results. See V3 API Standard Collection Parameters for more information.
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 for more information.
Succeeded. Returns the entitlements of a potential role for a role mining session. session.
List[RoleMiningPotentialRoleEntitlements]
-
400
Client Error - Returned if the request body is invalid.
ErrorResponseDto
-
401
Unauthorized - Returned if there is no authorization header, or if the JWT token is expired.
ListAccessProfiles401Response
-
403
Forbidden - Returned if the user you are running as, doesn't have access to this end-point.
ErrorResponseDto
-
429
Too Many Requests - Returned in response to too many requests in a given period of time - rate limited. The Retry-After header in the response includes how long to wait before trying again.
ListAccessProfiles429Response
-
500
Internal Server Error - Returned if there is an unexpected error.
ErrorResponseDto
-
HTTP request headers
Content-Type: Not defined
Accept: application/json
Example
importsailpoint.v2024fromsailpoint.v2024.models.role_mining_potential_role_entitlementsimportRoleMiningPotentialRoleEntitlementsfromsailpoint.v2024.restimportApiExceptionfrompprintimportpprintsession_id='8c190e67-87aa-4ed9-a90b-d9d5344523fb'# str | The role mining session id # str | The role mining session idpotential_role_id='62f28d91-7d9f-4d17-be15-666d5b41d77f'# str | A potential role id in a role mining session # str | A potential role id in a role mining sessionx_sail_point_experimental='true'# str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true')filters='entitlementRef.name sw \"test\"'# 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: **entitlementRef.name**: *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: **entitlementRef.name**: *sw* (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)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:# Retrieves the entitlements of a potential role for a role mining sessionapi_response=api_instance.get_potential_role_entitlements(session_id,potential_role_id,x_sail_point_experimental,)# Below is a request that includes all optional parameters# api_response = api_instance.get_potential_role_entitlements(session_id, potential_role_id, x_sail_point_experimental, filters, offset, limit, count)print("The response of IAIRoleMiningApi->get_potential_role_entitlements:\n")pprint(api_response)exceptExceptionase:print("Exception when calling IAIRoleMiningApi->get_potential_role_entitlements: %s\n"%e)
:::warning experimental
This API is currently in an experimental state. The API is subject to change based on feedback and further testing. You must include the X-SailPoint-Experimental header and set it to true to use this endpoint.
:::
Retrieves potential role source usage
This method returns source usageCount (as number of days in the last 90 days) for each identity in a potential role.
Sort results using the standard syntax described in V3 API Standard Collection Parameters Sorting is supported for the following fields: displayName, email, usageCount
Query
offset
int
(optional) (default to 0)
Offset into the full result set. Usually specified with limit to paginate through the results. See V3 API Standard Collection Parameters for more information.
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 for more information.
Succeeded. Returns a list of source usage for the identities in a potential role.
List[RoleMiningPotentialRoleSourceUsage]
-
400
Client Error - Returned if the request body is invalid.
ErrorResponseDto
-
401
Unauthorized - Returned if there is no authorization header, or if the JWT token is expired.
ListAccessProfiles401Response
-
403
Forbidden - Returned if the user you are running as, doesn't have access to this end-point.
ErrorResponseDto
-
429
Too Many Requests - Returned in response to too many requests in a given period of time - rate limited. The Retry-After header in the response includes how long to wait before trying again.
ListAccessProfiles429Response
-
500
Internal Server Error - Returned if there is an unexpected error.
ErrorResponseDto
-
HTTP request headers
Content-Type: Not defined
Accept: application/json
Example
importsailpoint.v2024fromsailpoint.v2024.models.role_mining_potential_role_source_usageimportRoleMiningPotentialRoleSourceUsagefromsailpoint.v2024.restimportApiExceptionfrompprintimportpprintpotential_role_id='e0cc5d7d-bf7f-4f81-b2af-8885b09d9923'# str | A potential role id # str | A potential role idsource_id='2c9180877620c1460176267f336a106f'# str | A source id # str | A source idx_sail_point_experimental='true'# str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true')sorters='-usageCount'# str | Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters/) Sorting is supported for the following fields: **displayName, email, usageCount** (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 is supported for the following fields: **displayName, email, usageCount** (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)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:# Retrieves potential role source usageapi_response=api_instance.get_potential_role_source_identity_usage(potential_role_id,source_id,x_sail_point_experimental,)# Below is a request that includes all optional parameters# api_response = api_instance.get_potential_role_source_identity_usage(potential_role_id, source_id, x_sail_point_experimental, sorters, offset, limit, count)print("The response of IAIRoleMiningApi->get_potential_role_source_identity_usage:\n")pprint(api_response)exceptExceptionase:print("Exception when calling IAIRoleMiningApi->get_potential_role_source_identity_usage: %s\n"%e)
:::warning experimental
This API is currently in an experimental state. The API is subject to change based on feedback and further testing. You must include the X-SailPoint-Experimental header and set it to true to use this endpoint.
:::
Retrieves all potential role summaries
This method returns the potential role summaries for a role mining session.
Sort results using the standard syntax described in V3 API Standard Collection Parameters Sorting is supported for the following fields: createdDate
Query
filters
str
(optional)
Filter results using the standard syntax described in V3 API Standard Collection Parameters Filtering is supported for the following fields and operators: createdById: eq, sw, cocreatedByName: eq, sw, codescription: sw, coendDate: le, ltfreshness: eq, ge, gt, le, ltname: eq, sw, coquality: eq, ge, gt, le, ltstartDate: ge, gtsaved: eqtype: eq
Query
offset
int
(optional) (default to 0)
Offset into the full result set. Usually specified with limit to paginate through the results. See V3 API Standard Collection Parameters for more information.
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 for more information.
Succeeded. Returns a list of potential role summaries for a role mining session.
List[RoleMiningPotentialRoleSummary]
-
400
Client Error - Returned if the request body is invalid.
ErrorResponseDto
-
401
Unauthorized - Returned if there is no authorization header, or if the JWT token is expired.
ListAccessProfiles401Response
-
403
Forbidden - Returned if the user you are running as, doesn't have access to this end-point.
ErrorResponseDto
-
429
Too Many Requests - Returned in response to too many requests in a given period of time - rate limited. The Retry-After header in the response includes how long to wait before trying again.
ListAccessProfiles429Response
-
500
Internal Server Error - Returned if there is an unexpected error.
ErrorResponseDto
-
HTTP request headers
Content-Type: Not defined
Accept: application/json
Example
importsailpoint.v2024fromsailpoint.v2024.models.role_mining_potential_role_summaryimportRoleMiningPotentialRoleSummaryfromsailpoint.v2024.restimportApiExceptionfrompprintimportpprintsession_id='8c190e67-87aa-4ed9-a90b-d9d5344523fb'# str | The role mining session id # str | The role mining session idx_sail_point_experimental='true'# str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true')sorters='createdDate'# 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: **createdDate** (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: **createdDate** (optional)filters='(createdByName co \"int\")and (createdById sw \"2c9180907\")and (type eq \"COMMON\")and ((name co \"entt\")or (saved eq true))'# 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: **createdById**: *eq, sw, co* **createdByName**: *eq, sw, co* **description**: *sw, co* **endDate**: *le, lt* **freshness**: *eq, ge, gt, le, lt* **name**: *eq, sw, co* **quality**: *eq, ge, gt, le, lt* **startDate**: *ge, gt* **saved**: *eq* **type**: *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: **createdById**: *eq, sw, co* **createdByName**: *eq, sw, co* **description**: *sw, co* **endDate**: *le, lt* **freshness**: *eq, ge, gt, le, lt* **name**: *eq, sw, co* **quality**: *eq, ge, gt, le, lt* **startDate**: *ge, gt* **saved**: *eq* **type**: *eq* (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)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:# Retrieves all potential role summariesapi_response=api_instance.get_potential_role_summaries(session_id,x_sail_point_experimental,)# Below is a request that includes all optional parameters# api_response = api_instance.get_potential_role_summaries(session_id, x_sail_point_experimental, sorters, filters, offset, limit, count)print("The response of IAIRoleMiningApi->get_potential_role_summaries:\n")pprint(api_response)exceptExceptionase:print("Exception when calling IAIRoleMiningApi->get_potential_role_summaries: %s\n"%e)
:::warning experimental
This API is currently in an experimental state. The API is subject to change based on feedback and further testing. You must include the X-SailPoint-Experimental header and set it to true to use this endpoint.
:::
Retrieves a specific potential role
This method returns a specific potential role.
Succeeded. Returns a list of potential roles for a role mining session.
RoleMiningPotentialRole
-
400
Client Error - Returned if the request body is invalid.
ErrorResponseDto
-
401
Unauthorized - Returned if there is no authorization header, or if the JWT token is expired.
ListAccessProfiles401Response
-
403
Forbidden - Returned if the user you are running as, doesn't have access to this end-point.
ErrorResponseDto
-
429
Too Many Requests - Returned in response to too many requests in a given period of time - rate limited. The Retry-After header in the response includes how long to wait before trying again.
ListAccessProfiles429Response
-
500
Internal Server Error - Returned if there is an unexpected error.
ErrorResponseDto
-
HTTP request headers
Content-Type: Not defined
Accept: application/json
Example
importsailpoint.v2024fromsailpoint.v2024.models.role_mining_potential_roleimportRoleMiningPotentialRolefromsailpoint.v2024.restimportApiExceptionfrompprintimportpprintpotential_role_id='8c190e67-87aa-4ed9-a90b-d9d5344523fb'# str | A potential role id # str | A potential role idx_sail_point_experimental='true'# 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:# Retrieves a specific potential roleapi_response=api_instance.get_role_mining_potential_role(potential_role_id,x_sail_point_experimental)# Below is a request that includes all optional parameters# api_response = api_instance.get_role_mining_potential_role(potential_role_id, x_sail_point_experimental)print("The response of IAIRoleMiningApi->get_role_mining_potential_role:\n")pprint(api_response)exceptExceptionase:print("Exception when calling IAIRoleMiningApi->get_role_mining_potential_role: %s\n"%e)
:::warning experimental
This API is currently in an experimental state. The API is subject to change based on feedback and further testing. You must include the X-SailPoint-Experimental header and set it to true to use this endpoint.
:::
Get a role mining session
The method retrieves a role mining session.
Client Error - Returned if the request body is invalid.
ErrorResponseDto
-
401
Client Error - Returned if the request body is invalid.
ErrorResponseDto
-
403
Forbidden - Returned if the user you are running as, doesn't have access to this end-point.
ErrorResponseDto
-
404
Not Found - returned if the request URL refers to a resource or object that does not exist
ErrorResponseDto
-
429
Too Many Requests - Returned in response to too many requests in a given period of time - rate limited. The Retry-After header in the response includes how long to wait before trying again.
ListAccessProfiles429Response
-
500
Internal Server Error - Returned if there is an unexpected error.
ErrorResponseDto
-
HTTP request headers
Content-Type: Not defined
Accept: application/json
Example
importsailpoint.v2024fromsailpoint.v2024.models.role_mining_session_responseimportRoleMiningSessionResponsefromsailpoint.v2024.restimportApiExceptionfrompprintimportpprintsession_id='8c190e67-87aa-4ed9-a90b-d9d5344523fb'# str | The role mining session id to be retrieved. # str | The role mining session id to be retrieved.x_sail_point_experimental='true'# 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 role mining sessionapi_response=api_instance.get_role_mining_session(session_id,x_sail_point_experimental)# Below is a request that includes all optional parameters# api_response = api_instance.get_role_mining_session(session_id, x_sail_point_experimental)print("The response of IAIRoleMiningApi->get_role_mining_session:\n")pprint(api_response)exceptExceptionase:print("Exception when calling IAIRoleMiningApi->get_role_mining_session: %s\n"%e)
:::warning experimental
This API is currently in an experimental state. The API is subject to change based on feedback and further testing. You must include the X-SailPoint-Experimental header and set it to true to use this endpoint.
:::
Get role mining session status state
This method returns a role mining session status for a customer.
Client Error - Returned if the request body is invalid.
ErrorResponseDto
-
401
Unauthorized - Returned if there is no authorization header, or if the JWT token is expired.
ListAccessProfiles401Response
-
403
Forbidden - Returned if the user you are running as, doesn't have access to this end-point.
ErrorResponseDto
-
500
Internal Server Error - Returned if there is an unexpected error.
ErrorResponseDto
-
HTTP request headers
Content-Type: Not defined
Accept: application/json
Example
importsailpoint.v2024fromsailpoint.v2024.models.role_mining_session_statusimportRoleMiningSessionStatusfromsailpoint.v2024.restimportApiExceptionfrompprintimportpprintsession_id='8c190e67-87aa-4ed9-a90b-d9d5344523fb'# str | The role mining session id # str | The role mining session idx_sail_point_experimental='true'# 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 role mining session status stateapi_response=api_instance.get_role_mining_session_status(session_id,x_sail_point_experimental)# Below is a request that includes all optional parameters# api_response = api_instance.get_role_mining_session_status(session_id, x_sail_point_experimental)print("The response of IAIRoleMiningApi->get_role_mining_session_status:\n")pprint(api_response)exceptExceptionase:print("Exception when calling IAIRoleMiningApi->get_role_mining_session_status: %s\n"%e)
:::warning experimental
This API is currently in an experimental state. The API is subject to change based on feedback and further testing. You must include the X-SailPoint-Experimental header and set it to true to use this endpoint.
:::
Retrieves all role mining sessions
Returns all role mining sessions that match the query parameters
Filter results using the standard syntax described in V3 API Standard Collection Parameters Filtering is supported for the following fields and operators: saved: eqname: eq, sw
Query
sorters
str
(optional)
Sort results using the standard syntax described in V3 API Standard Collection Parameters Sorting is supported for the following fields: createdBy, createdDate
Query
offset
int
(optional) (default to 0)
Offset into the full result set. Usually specified with limit to paginate through the results. See V3 API Standard Collection Parameters for more information.
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 for more information.
Succeeded. Returns all role mining sessions that match the query parameters.
List[RoleMiningSessionDto]
-
400
Client Error - Returned if the request body is invalid.
ErrorResponseDto
-
401
Unauthorized - Returned if there is no authorization header, or if the JWT token is expired.
ListAccessProfiles401Response
-
403
Forbidden - Returned if the user you are running as, doesn't have access to this end-point.
ErrorResponseDto
-
429
Too Many Requests - Returned in response to too many requests in a given period of time - rate limited. The Retry-After header in the response includes how long to wait before trying again.
ListAccessProfiles429Response
-
500
Internal Server Error - Returned if there is an unexpected error.
ErrorResponseDto
-
HTTP request headers
Content-Type: Not defined
Accept: application/json
Example
importsailpoint.v2024fromsailpoint.v2024.models.role_mining_session_dtoimportRoleMiningSessionDtofromsailpoint.v2024.restimportApiExceptionfrompprintimportpprintx_sail_point_experimental='true'# str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true')filters='saved eq \"true\" and name sw \"RM Session\"'# 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: **saved**: *eq* **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: **saved**: *eq* **name**: *eq, sw* (optional)sorters='createdBy,createdDate'# 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: **createdBy, createdDate** (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: **createdBy, createdDate** (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)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:# Retrieves all role mining sessionsapi_response=api_instance.get_role_mining_sessions(x_sail_point_experimental,)# Below is a request that includes all optional parameters# api_response = api_instance.get_role_mining_sessions(x_sail_point_experimental, filters, sorters, offset, limit, count)print("The response of IAIRoleMiningApi->get_role_mining_sessions:\n")pprint(api_response)exceptExceptionase:print("Exception when calling IAIRoleMiningApi->get_role_mining_sessions: %s\n"%e)
:::warning experimental
This API is currently in an experimental state. The API is subject to change based on feedback and further testing. You must include the X-SailPoint-Experimental header and set it to true to use this endpoint.
:::
Retrieves all saved potential roles
This method returns all saved potential roles (draft roles).
Offset into the full result set. Usually specified with limit to paginate through the results. See V3 API Standard Collection Parameters for more information.
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 for more information.
Succeeded. Returns a list of draft roles for a role mining session.
List[RoleMiningSessionDraftRoleDto]
-
400
Client Error - Returned if the request body is invalid.
ErrorResponseDto
-
401
Unauthorized - Returned if there is no authorization header, or if the JWT token is expired.
ListAccessProfiles401Response
-
403
Forbidden - Returned if the user you are running as, doesn't have access to this end-point.
ErrorResponseDto
-
429
Too Many Requests - Returned in response to too many requests in a given period of time - rate limited. The Retry-After header in the response includes how long to wait before trying again.
ListAccessProfiles429Response
-
500
Internal Server Error - Returned if there is an unexpected error.
ErrorResponseDto
-
HTTP request headers
Content-Type: Not defined
Accept: application/json
Example
importsailpoint.v2024fromsailpoint.v2024.models.role_mining_session_draft_role_dtoimportRoleMiningSessionDraftRoleDtofromsailpoint.v2024.restimportApiExceptionfrompprintimportpprintx_sail_point_experimental='true'# str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true')sorters='modified'# str | Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters/) Sorting is supported for the following fields: **modified** (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 is supported for the following fields: **modified** (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)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:# Retrieves all saved potential rolesapi_response=api_instance.get_saved_potential_roles(x_sail_point_experimental,)# Below is a request that includes all optional parameters# api_response = api_instance.get_saved_potential_roles(x_sail_point_experimental, sorters, offset, limit, count)print("The response of IAIRoleMiningApi->get_saved_potential_roles:\n")pprint(api_response)exceptExceptionase:print("Exception when calling IAIRoleMiningApi->get_saved_potential_roles: %s\n"%e)
:::warning experimental
This API is currently in an experimental state. The API is subject to change based on feedback and further testing. You must include the X-SailPoint-Experimental header and set it to true to use this endpoint.
:::
Update a potential role
The method updates an existing potential role using.
Succeeded. Returns the potential role summary based on the potentialRoleId provided.
object
-
400
Client Error - Returned if the request body is invalid.
ErrorResponseDto
-
401
Unauthorized - Returned if there is no authorization header, or if the JWT token is expired.
ListAccessProfiles401Response
-
403
Forbidden - Returned if the user you are running as, doesn't have access to this end-point.
ErrorResponseDto
-
404
Not Found - returned if the request URL refers to a resource or object that does not exist
ErrorResponseDto
-
429
Too Many Requests - Returned in response to too many requests in a given period of time - rate limited. The Retry-After header in the response includes how long to wait before trying again.
ListAccessProfiles429Response
-
500
Internal Server Error - Returned if there is an unexpected error.
ErrorResponseDto
-
HTTP request headers
Content-Type: application/json-patch+json
Accept: application/json
Example
importsailpoint.v2024fromsailpoint.v2024.models.patch_potential_role_request_innerimportPatchPotentialRoleRequestInnerfromsailpoint.v2024.restimportApiExceptionfrompprintimportpprintsession_id='8c190e67-87aa-4ed9-a90b-d9d5344523fb'# str | The role mining session id # str | The role mining session idpotential_role_id='8c190e67-87aa-4ed9-a90b-d9d5344523fb'# str | The potential role summary id # str | The potential role summary idx_sail_point_experimental='true'# str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true')[{op=remove,path=/description},{op=replace,path=/description,value=AcctI-PotentialRole},{op=remove,path=/saved},{op=replace,path=/saved,value=false},{op=remove,path=/name},{op=replace,path=/name,value=PotentialRoleAccounting}]# List[PatchPotentialRoleRequestInner] | patch_potential_role_request_inner=[{op=remove,path=/description},{op=replace,path=/description,value=AcctI-PotentialRole},{op=remove,path=/saved},{op=replace,path=/saved,value=false},{op=remove,path=/name},{op=replace,path=/name,value=PotentialRoleAccounting}]# List[PatchPotentialRoleRequestInner] | try:# Update a potential roleResult=patch_potential_role_request_inner.from_json(patch_potential_role_request_inner)api_response=api_instance.patch_potential_role(session_id,potential_role_id,x_sail_point_experimental,Result)# Below is a request that includes all optional parameters# api_response = api_instance.patch_potential_role(session_id, potential_role_id, x_sail_point_experimental, Result)print("The response of IAIRoleMiningApi->patch_potential_role:\n")pprint(api_response)exceptExceptionase:print("Exception when calling IAIRoleMiningApi->patch_potential_role: %s\n"%e)
:::warning experimental
This API is currently in an experimental state. The API is subject to change based on feedback and further testing. You must include the X-SailPoint-Experimental header and set it to true to use this endpoint.
:::
Update a potential role
The method updates an existing potential role using.
Succeeded. Returns the potential role summary based on the potentialRoleId provided.
object
-
400
Client Error - Returned if the request body is invalid.
ErrorResponseDto
-
401
Unauthorized - Returned if there is no authorization header, or if the JWT token is expired.
ListAccessProfiles401Response
-
403
Forbidden - Returned if the user you are running as, doesn't have access to this end-point.
ErrorResponseDto
-
404
Not Found - returned if the request URL refers to a resource or object that does not exist
ErrorResponseDto
-
429
Too Many Requests - Returned in response to too many requests in a given period of time - rate limited. The Retry-After header in the response includes how long to wait before trying again.
ListAccessProfiles429Response
-
500
Internal Server Error - Returned if there is an unexpected error.
ErrorResponseDto
-
HTTP request headers
Content-Type: application/json-patch+json
Accept: application/json
Example
importsailpoint.v2024fromsailpoint.v2024.models.patch_potential_role_request_innerimportPatchPotentialRoleRequestInnerfromsailpoint.v2024.restimportApiExceptionfrompprintimportpprintsession_id='8c190e67-87aa-4ed9-a90b-d9d5344523fb'# str | The role mining session id # str | The role mining session idpotential_role_id='8c190e67-87aa-4ed9-a90b-d9d5344523fb'# str | The potential role summary id # str | The potential role summary idx_sail_point_experimental='true'# str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true')[{op=remove,path=/description},{op=replace,path=/description,value=AcctI-PotentialRole},{op=remove,path=/saved},{op=replace,path=/saved,value=false},{op=remove,path=/name},{op=replace,path=/name,value=PotentialRoleAccounting}]# List[PatchPotentialRoleRequestInner] | patch_potential_role_request_inner=[{op=remove,path=/description},{op=replace,path=/description,value=AcctI-PotentialRole},{op=remove,path=/saved},{op=replace,path=/saved,value=false},{op=remove,path=/name},{op=replace,path=/name,value=PotentialRoleAccounting}]# List[PatchPotentialRoleRequestInner] | try:# Update a potential roleResult=patch_potential_role_request_inner.from_json(patch_potential_role_request_inner)api_response=api_instance.patch_potential_role_0(session_id,potential_role_id,x_sail_point_experimental,Result)# Below is a request that includes all optional parameters# api_response = api_instance.patch_potential_role_0(session_id, potential_role_id, x_sail_point_experimental, Result)print("The response of IAIRoleMiningApi->patch_potential_role_0:\n")pprint(api_response)exceptExceptionase:print("Exception when calling IAIRoleMiningApi->patch_potential_role_0: %s\n"%e)
:::warning experimental
This API is currently in an experimental state. The API is subject to change based on feedback and further testing. You must include the X-SailPoint-Experimental header and set it to true to use this endpoint.
:::
Patch a role mining session
The method updates an existing role mining session using PATCH. Supports op in {"replace"} and changes to pruneThreshold and/or minNumIdentitiesInPotentialRole. The potential roles in this role mining session is then re-calculated.
Replace pruneThreshold and/or minNumIdentitiesInPotentialRole in role mining session. Update saved status or saved name for a role mining session.
Return type
object
Responses
Code
Description
Data Type
Response headers
202
Accepted - Returned if the request was successfully accepted into the system.
object
-
400
Client Error - Returned if the request body is invalid.
ErrorResponseDto
-
401
Unauthorized - Returned if there is no authorization header, or if the JWT token is expired.
ListAccessProfiles401Response
-
403
Forbidden - Returned if the user you are running as, doesn't have access to this end-point.
ErrorResponseDto
-
404
Not Found - returned if the request URL refers to a resource or object that does not exist
ErrorResponseDto
-
429
Too Many Requests - Returned in response to too many requests in a given period of time - rate limited. The Retry-After header in the response includes how long to wait before trying again.
ListAccessProfiles429Response
-
500
Internal Server Error - Returned if there is an unexpected error.
ErrorResponseDto
-
HTTP request headers
Content-Type: application/json-patch+json
Accept: application/json
Example
importsailpoint.v2024fromsailpoint.v2024.models.json_patch_operationimportJsonPatchOperationfromsailpoint.v2024.restimportApiExceptionfrompprintimportpprintsession_id='8c190e67-87aa-4ed9-a90b-d9d5344523fb'# str | The role mining session id to be patched # str | The role mining session id to be patchedx_sail_point_experimental='true'# str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true')[{op=replace,path=/pruneThreshold,value=83},{op=replace,path=/minNumIdentitiesInPotentialRole,value=10},{op=replace,path=/saved,value=false},{op=replace,path=/name,value=RMSession-07/10/22},{op=add,path=/name,value=RMSession-07/10/22}]# List[JsonPatchOperation] | Replace pruneThreshold and/or minNumIdentitiesInPotentialRole in role mining session. Update saved status or saved name for a role mining session.json_patch_operation={"op":"replace","path":"/description","value":"New description"}# List[JsonPatchOperation] | Replace pruneThreshold and/or minNumIdentitiesInPotentialRole in role mining session. Update saved status or saved name for a role mining session.try:# Patch a role mining sessionResult=json_patch_operation.from_json(json_patch_operation)api_response=api_instance.patch_role_mining_session(session_id,x_sail_point_experimental,Result)# Below is a request that includes all optional parameters# api_response = api_instance.patch_role_mining_session(session_id, x_sail_point_experimental, Result)print("The response of IAIRoleMiningApi->patch_role_mining_session:\n")pprint(api_response)exceptExceptionase:print("Exception when calling IAIRoleMiningApi->patch_role_mining_session: %s\n"%e)
:::warning experimental
This API is currently in an experimental state. The API is subject to change based on feedback and further testing. You must include the X-SailPoint-Experimental header and set it to true to use this endpoint.
:::
Edit entitlements for a potential role to exclude some entitlements
This endpoint adds or removes entitlements from an exclusion list for a potential role.
Adds or removes entitlements from a potential role's entitlement exclusion list.
RoleMiningPotentialRole
-
400
Client Error - Returned if the request body is invalid.
ErrorResponseDto
-
401
Unauthorized - Returned if there is no authorization header, or if the JWT token is expired.
ListAccessProfiles401Response
-
403
Forbidden - Returned if the user you are running as, doesn't have access to this end-point.
ErrorResponseDto
-
500
Internal Server Error - Returned if there is an unexpected error.
ErrorResponseDto
-
HTTP request headers
Content-Type: application/json
Accept: application/json
Example
importsailpoint.v2024fromsailpoint.v2024.models.role_mining_potential_roleimportRoleMiningPotentialRolefromsailpoint.v2024.models.role_mining_potential_role_edit_entitlementsimportRoleMiningPotentialRoleEditEntitlementsfromsailpoint.v2024.restimportApiExceptionfrompprintimportpprintsession_id='8c190e67-87aa-4ed9-a90b-d9d5344523fb'# str | The role mining session id # str | The role mining session idpotential_role_id='8c190e67-87aa-4ed9-a90b-d9d5344523fb'# str | A potential role id in a role mining session # str | A potential role id in a role mining sessionx_sail_point_experimental='true'# str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true')role_mining_potential_role_edit_entitlements={"ids":["entId1","entId2"],"exclude":true}# RoleMiningPotentialRoleEditEntitlements | Role mining session parameterstry:# Edit entitlements for a potential role to exclude some entitlementsResult=role_mining_potential_role_edit_entitlements.from_json(role_mining_potential_role_edit_entitlements)api_response=api_instance.update_entitlements_potential_role(session_id,potential_role_id,x_sail_point_experimental,Result)# Below is a request that includes all optional parameters# api_response = api_instance.update_entitlements_potential_role(session_id, potential_role_id, x_sail_point_experimental, Result)print("The response of IAIRoleMiningApi->update_entitlements_potential_role:\n")pprint(api_response)exceptExceptionase:print("Exception when calling IAIRoleMiningApi->update_entitlements_potential_role: %s\n"%e)