Gets a difference of count for each access item types for the given identity between 2 snapshots
This method gets a difference of count for each access item types for the given identity between 2 snapshots Requires authorization scope of 'idn:identity-history:read'
Offset into the full result set. Usually specified with limit to paginate through the results. See V3 API Standard Collection Parameters for more information.
Query
count
bool
(optional) (default to False)
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.
A IdentityCompare object with difference details for each access item type
List[IdentityCompareResponse]
-
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.
ListAccessModelMetadataAttribute401Response
-
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: Not defined
Accept: application/json
Example
fromsailpoint.beta.api.identity_history_apiimportIdentityHistoryApifromsailpoint.beta.api_clientimportApiClientfromsailpoint.beta.models.identity_compare_responseimportIdentityCompareResponsefrompprintimportpprintfromsailpoint.configurationimportConfigurationconfiguration=Configuration()withApiClient(configuration)asapi_client:id='8c190e6787aa4ed9a90bd9d5344523fb'# str | The identity id # str | The identity idsnapshot1='2007-03-01T13:00:00Z'# str | The snapshot 1 of identity (optional) # str | The snapshot 1 of identity (optional)snapshot2='2008-03-01T13:00:00Z'# str | The snapshot 2 of identity (optional) # str | The snapshot 2 of identity (optional)access_item_types='''['access_item_types_example']'''# List[str] | An optional list of access item types (app, account, entitlement, etc...) to return. If null or empty, all access items types are returned (optional)limit=250# int | Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 250) # int | Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 250)offset=0# int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0)count=False# bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to False) # bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to False)try:# Gets a difference of count for each access item types for the given identity between 2 snapshotsresults=IdentityHistoryApi(api_client).compare_identity_snapshots(id=id)# Below is a request that includes all optional parameters# results = IdentityHistoryApi(api_client).compare_identity_snapshots(id, snapshot1, snapshot2, access_item_types, limit, offset, count)print("The response of IdentityHistoryApi->compare_identity_snapshots:\n")pprint(results)exceptExceptionase:print("Exception when calling IdentityHistoryApi->compare_identity_snapshots: %s\n"%e)
Gets a list of differences of specific accessType for the given identity between 2 snapshots
This method gets a list of differences of specific accessType for the given identity between 2 snapshots Requires authorization scope of 'idn:identity-history:read'
Offset into the full result set. Usually specified with limit to paginate through the results. See V3 API Standard Collection Parameters for more information.
Query
count
bool
(optional) (default to False)
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.
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.
ListAccessModelMetadataAttribute401Response
-
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: Not defined
Accept: application/json
Example
fromsailpoint.beta.api.identity_history_apiimportIdentityHistoryApifromsailpoint.beta.api_clientimportApiClientfromsailpoint.beta.models.access_item_diffimportAccessItemDifffrompprintimportpprintfromsailpoint.configurationimportConfigurationconfiguration=Configuration()withApiClient(configuration)asapi_client:id='8c190e6787aa4ed9a90bd9d5344523fb'# str | The identity id # str | The identity idaccess_type='role'# str | The specific type which needs to be compared # str | The specific type which needs to be comparedaccess_associated=2007-03-01T13:00:00Z# bool | Indicates if added or removed access needs to be returned. true - added, false - removed, null - both added & removed (optional) # bool | Indicates if added or removed access needs to be returned. true - added, false - removed, null - both added & removed (optional)snapshot1='2008-03-01T13:00:00Z'# str | The snapshot 1 of identity (optional) # str | The snapshot 1 of identity (optional)snapshot2='2009-03-01T13:00:00Z'# str | The snapshot 2 of identity (optional) # str | The snapshot 2 of identity (optional)limit=250# int | Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 250) # int | Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 250)offset=0# int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0)count=False# bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to False) # bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to False)try:# Gets a list of differences of specific accessType for the given identity between 2 snapshotsresults=IdentityHistoryApi(api_client).compare_identity_snapshots_access_type(id=id,access_type=access_type)# Below is a request that includes all optional parameters# results = IdentityHistoryApi(api_client).compare_identity_snapshots_access_type(id, access_type, access_associated, snapshot1, snapshot2, limit, offset, count)print("The response of IdentityHistoryApi->compare_identity_snapshots_access_type:\n")pprint(results)exceptExceptionase:print("Exception when calling IdentityHistoryApi->compare_identity_snapshots_access_type: %s\n"%e)
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.
ListAccessModelMetadataAttribute401Response
-
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.
ListAccessModelMetadataAttribute429Response
-
500
Internal Server Error - Returned if there is an unexpected error.
ErrorResponseDto
-
HTTP request headers
Content-Type: Not defined
Accept: application/json
Example
fromsailpoint.beta.api.identity_history_apiimportIdentityHistoryApifromsailpoint.beta.api_clientimportApiClientfromsailpoint.beta.models.identity_history_responseimportIdentityHistoryResponsefrompprintimportpprintfromsailpoint.configurationimportConfigurationconfiguration=Configuration()withApiClient(configuration)asapi_client:id='8c190e6787aa4ed9a90bd9d5344523fb'# str | The identity id # str | The identity idtry:# Get latest snapshot of identityresults=IdentityHistoryApi(api_client).get_historical_identity(id=id)# Below is a request that includes all optional parameters# results = IdentityHistoryApi(api_client).get_historical_identity(id)print("The response of IdentityHistoryApi->get_historical_identity:\n")pprint(results)exceptExceptionase:print("Exception when calling IdentityHistoryApi->get_historical_identity: %s\n"%e)
Lists all events for the given identity
This method retrieves all access events for the identity Requires authorization scope of 'idn:identity-history:read'
Offset into the full result set. Usually specified with limit to paginate through the results. See V3 API Standard Collection Parameters for more information.
Query
count
bool
(optional) (default to False)
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.
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.
ListAccessModelMetadataAttribute401Response
-
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.
ListAccessModelMetadataAttribute429Response
-
500
Internal Server Error - Returned if there is an unexpected error.
ErrorResponseDto
-
HTTP request headers
Content-Type: Not defined
Accept: application/json
Example
fromsailpoint.beta.api.identity_history_apiimportIdentityHistoryApifromsailpoint.beta.api_clientimportApiClientfromsailpoint.beta.models.get_historical_identity_events200_response_innerimportGetHistoricalIdentityEvents200ResponseInnerfrompprintimportpprintfromsailpoint.configurationimportConfigurationconfiguration=Configuration()withApiClient(configuration)asapi_client:id='8c190e6787aa4ed9a90bd9d5344523fb'# str | The identity id # str | The identity idvar_from='2024-03-01T13:00:00Z'# str | The optional instant until which access events are returned (optional) # str | The optional instant until which access events are returned (optional)event_types='''['[AccessAddedEvent, AccessRemovedEvent]']'''# List[str] | An optional list of event types to return. If null or empty, all events are returned (optional)access_item_types='''['[entitlement, account]']'''# List[str] | An optional list of access item types (app, account, entitlement, etc...) to return. If null or empty, all access items types are returned (optional)limit=250# int | Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 250) # int | Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 250)offset=0# int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0)count=False# bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to False) # bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to False)try:# Lists all events for the given identityresults=IdentityHistoryApi(api_client).get_historical_identity_events(id=id)# Below is a request that includes all optional parameters# results = IdentityHistoryApi(api_client).get_historical_identity_events(id, var_from, event_types, access_item_types, limit, offset, count)print("The response of IdentityHistoryApi->get_historical_identity_events:\n")pprint(results)exceptExceptionase:print("Exception when calling IdentityHistoryApi->get_historical_identity_events: %s\n"%e)
Gets an identity snapshot at a given date
This method retrieves a specified identity snapshot at a given date Requires authorization scope of 'idn:identity-history:read'
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.
ListAccessModelMetadataAttribute401Response
-
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: Not defined
Accept: application/json
Example
fromsailpoint.beta.api.identity_history_apiimportIdentityHistoryApifromsailpoint.beta.api_clientimportApiClientfromsailpoint.beta.models.identity_history_responseimportIdentityHistoryResponsefrompprintimportpprintfromsailpoint.configurationimportConfigurationconfiguration=Configuration()withApiClient(configuration)asapi_client:id='8c190e6787aa4ed9a90bd9d5344523fb'# str | The identity id # str | The identity idvar_date='2007-03-01T13:00:00Z'# str | The specified date # str | The specified datetry:# Gets an identity snapshot at a given dateresults=IdentityHistoryApi(api_client).get_identity_snapshot(id=id,var_date=var_date)# Below is a request that includes all optional parameters# results = IdentityHistoryApi(api_client).get_identity_snapshot(id, var_date)print("The response of IdentityHistoryApi->get_identity_snapshot:\n")pprint(results)exceptExceptionase:print("Exception when calling IdentityHistoryApi->get_identity_snapshot: %s\n"%e)
Gets the summary for the event count for a specific identity
This method gets the summary for the event count for a specific identity by month/day Requires authorization scope of 'idn:identity-history:read'
Offset into the full result set. Usually specified with limit to paginate through the results. See V3 API Standard Collection Parameters for more information.
Query
count
bool
(optional) (default to False)
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.
A summary list of identity changes in date histogram format.
List[MetricResponse]
-
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.
ListAccessModelMetadataAttribute401Response
-
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: Not defined
Accept: application/json
Example
fromsailpoint.beta.api.identity_history_apiimportIdentityHistoryApifromsailpoint.beta.api_clientimportApiClientfromsailpoint.beta.models.metric_responseimportMetricResponsefrompprintimportpprintfromsailpoint.configurationimportConfigurationconfiguration=Configuration()withApiClient(configuration)asapi_client:id='8c190e6787aa4ed9a90bd9d5344523fb'# str | The identity id # str | The identity idbefore='2007-03-01T13:00:00Z'# str | The date before which snapshot summary is required (optional) # str | The date before which snapshot summary is required (optional)interval='interval_example'# str | The interval indicating day or month. Defaults to month if not specified (optional) # str | The interval indicating day or month. Defaults to month if not specified (optional)time_zone='UTC'# str | The time zone. Defaults to UTC if not provided (optional) # str | The time zone. Defaults to UTC if not provided (optional)limit=250# int | Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 250) # int | Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 250)offset=0# int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0)count=False# bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to False) # bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to False)try:# Gets the summary for the event count for a specific identityresults=IdentityHistoryApi(api_client).get_identity_snapshot_summary(id=id)# Below is a request that includes all optional parameters# results = IdentityHistoryApi(api_client).get_identity_snapshot_summary(id, before, interval, time_zone, limit, offset, count)print("The response of IdentityHistoryApi->get_identity_snapshot_summary:\n")pprint(results)exceptExceptionase:print("Exception when calling IdentityHistoryApi->get_identity_snapshot_summary: %s\n"%e)
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.
ListAccessModelMetadataAttribute401Response
-
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: Not defined
Accept: application/json
Example
fromsailpoint.beta.api.identity_history_apiimportIdentityHistoryApifromsailpoint.beta.api_clientimportApiClientfrompprintimportpprintfromsailpoint.configurationimportConfigurationconfiguration=Configuration()withApiClient(configuration)asapi_client:id='8c190e6787aa4ed9a90bd9d5344523fb'# str | The identity id # str | The identity idtry:# Gets the start date of the identityresults=IdentityHistoryApi(api_client).get_identity_start_date(id=id)# Below is a request that includes all optional parameters# results = IdentityHistoryApi(api_client).get_identity_start_date(id)print("The response of IdentityHistoryApi->get_identity_start_date:\n")pprint(results)exceptExceptionase:print("Exception when calling IdentityHistoryApi->get_identity_start_date: %s\n"%e)
Lists all the identities
This gets the list of identities for the customer. This list end point does not support count=true request param. The total count of identities would never be returned even if the count param is specified in the request Requires authorization scope of 'idn:identity-history:read'
Offset into the full result set. Usually specified with limit to paginate through the results. See V3 API Standard Collection Parameters for more information.
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.
ListAccessModelMetadataAttribute401Response
-
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.
ListAccessModelMetadataAttribute429Response
-
500
Internal Server Error - Returned if there is an unexpected error.
ErrorResponseDto
-
HTTP request headers
Content-Type: Not defined
Accept: application/json
Example
fromsailpoint.beta.api.identity_history_apiimportIdentityHistoryApifromsailpoint.beta.api_clientimportApiClientfromsailpoint.beta.models.identity_list_itemimportIdentityListItemfrompprintimportpprintfromsailpoint.configurationimportConfigurationconfiguration=Configuration()withApiClient(configuration)asapi_client:starts_with_query='Ada'# str | This param is used for starts-with search for first, last and display name of the identity (optional) # str | This param is used for starts-with search for first, last and display name of the identity (optional)is_deleted=true# bool | Indicates if we want to only list down deleted identities or not. (optional) # bool | Indicates if we want to only list down deleted identities or not. (optional)is_active=true# bool | Indicates if we want to only list active or inactive identities. (optional) # bool | Indicates if we want to only list active or inactive identities. (optional)limit=250# int | Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 250) # int | Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 250)offset=0# int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0)try:# Lists all the identitiesresults=IdentityHistoryApi(api_client).list_historical_identities()# Below is a request that includes all optional parameters# results = IdentityHistoryApi(api_client).list_historical_identities(starts_with_query, is_deleted, is_active, limit, offset)print("The response of IdentityHistoryApi->list_historical_identities:\n")pprint(results)exceptExceptionase:print("Exception when calling IdentityHistoryApi->list_historical_identities: %s\n"%e)
The type of access item for the identity. If not provided, it defaults to account. Types of access items: accessProfile, account, app, entitlement, role
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: source: eqstandalone: eqprivileged: eqattribute: eqcloudGoverned: eq
Query
sorters
str
(optional)
Sort results using the standard syntax described in V3 API Standard Collection Parameters Sorting is supported for the following fields: name, value, standalone, privileged, attribute, source, cloudGoverned, removeDate, nativeIdentity, entitlementCount
Query
query
str
(optional)
This param is used to search if certain fields of the access item contain the string provided. Searching is supported for the following fields depending on the type: Access Profiles: name, description Accounts: name, nativeIdentity Apps: name Entitlements: name, value, description Roles: name, description
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.
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.
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.
ListAccessModelMetadataAttribute401Response
-
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.
ListAccessModelMetadataAttribute429Response
-
500
Internal Server Error - Returned if there is an unexpected error.
ErrorResponseDto
-
HTTP request headers
Content-Type: Not defined
Accept: application/json
Example
fromsailpoint.beta.api.identity_history_apiimportIdentityHistoryApifromsailpoint.beta.api_clientimportApiClientfromsailpoint.beta.models.list_identity_access_items200_response_innerimportListIdentityAccessItems200ResponseInnerfrompprintimportpprintfromsailpoint.configurationimportConfigurationconfiguration=Configuration()withApiClient(configuration)asapi_client:id='8c190e6787aa4ed9a90bd9d5344523fb'# str | The identity id # str | The identity idtype='account'# str | The type of access item for the identity. If not provided, it defaults to account. Types of access items: **accessProfile, account, app, entitlement, role** (optional) # str | The type of access item for the identity. If not provided, it defaults to account. Types of access items: **accessProfile, account, app, entitlement, role** (optional)filters='source eq \"DataScienceDataset\"'# 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: **source**: *eq* **standalone**: *eq* **privileged**: *eq* **attribute**: *eq* **cloudGoverned**: *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: **source**: *eq* **standalone**: *eq* **privileged**: *eq* **attribute**: *eq* **cloudGoverned**: *eq* (optional)sorters='name'# str | Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **name, value, standalone, privileged, attribute, source, cloudGoverned, removeDate, nativeIdentity, entitlementCount** (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, value, standalone, privileged, attribute, source, cloudGoverned, removeDate, nativeIdentity, entitlementCount** (optional)query='Dr. Arden'# str | This param is used to search if certain fields of the access item contain the string provided. Searching is supported for the following fields depending on the type: Access Profiles: **name, description** Accounts: **name, nativeIdentity** Apps: **name** Entitlements: **name, value, description** Roles: **name, description** (optional) # str | This param is used to search if certain fields of the access item contain the string provided. Searching is supported for the following fields depending on the type: Access Profiles: **name, description** Accounts: **name, nativeIdentity** Apps: **name** Entitlements: **name, value, description** Roles: **name, description** (optional)limit=250# int | Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 250) # int | Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 250)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)offset=0# int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0)try:# List Access Items by Identityresults=IdentityHistoryApi(api_client).list_identity_access_items(id=id)# Below is a request that includes all optional parameters# results = IdentityHistoryApi(api_client).list_identity_access_items(id, type, filters, sorters, query, limit, count, offset)print("The response of IdentityHistoryApi->list_identity_access_items:\n")pprint(results)exceptExceptionase:print("Exception when calling IdentityHistoryApi->list_identity_access_items: %s\n"%e)
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.
ListAccessModelMetadataAttribute401Response
-
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.
ListAccessModelMetadataAttribute429Response
-
500
Internal Server Error - Returned if there is an unexpected error.
ErrorResponseDto
-
HTTP request headers
Content-Type: Not defined
Accept: application/json
Example
fromsailpoint.beta.api.identity_history_apiimportIdentityHistoryApifromsailpoint.beta.api_clientimportApiClientfromsailpoint.beta.models.list_identity_access_items200_response_innerimportListIdentityAccessItems200ResponseInnerfrompprintimportpprintfromsailpoint.configurationimportConfigurationconfiguration=Configuration()withApiClient(configuration)asapi_client:id='8c190e6787aa4ed9a90bd9d5344523fb'# str | Identity ID. # str | Identity ID.var_date='2007-03-01T13:00:00Z'# str | Specified date. # str | Specified date.type='account'# str | Access item type. (optional) # str | Access item type. (optional)try:# Get Identity Access Items Snapshotresults=IdentityHistoryApi(api_client).list_identity_snapshot_access_items(id=id,var_date=var_date)# Below is a request that includes all optional parameters# results = IdentityHistoryApi(api_client).list_identity_snapshot_access_items(id, var_date, type)print("The response of IdentityHistoryApi->list_identity_snapshot_access_items:\n")pprint(results)exceptExceptionase:print("Exception when calling IdentityHistoryApi->list_identity_snapshot_access_items: %s\n"%e)
Lists all the snapshots for the identity
This method retrieves all the snapshots for the identity Requires authorization scope of 'idn:identity-history:read'
Offset into the full result set. Usually specified with limit to paginate through the results. See V3 API Standard Collection Parameters for more information.
Query
count
bool
(optional) (default to False)
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.
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.
ListAccessModelMetadataAttribute401Response
-
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: Not defined
Accept: application/json
Example
fromsailpoint.beta.api.identity_history_apiimportIdentityHistoryApifromsailpoint.beta.api_clientimportApiClientfromsailpoint.beta.models.identity_snapshot_summary_responseimportIdentitySnapshotSummaryResponsefrompprintimportpprintfromsailpoint.configurationimportConfigurationconfiguration=Configuration()withApiClient(configuration)asapi_client:id='8c190e6787aa4ed9a90bd9d5344523fb'# str | The identity id # str | The identity idstart='2007-03-01T13:00:00Z'# str | The specified start date (optional) # str | The specified start date (optional)interval='interval_example'# str | The interval indicating the range in day or month for the specified interval-name (optional) # str | The interval indicating the range in day or month for the specified interval-name (optional)limit=250# int | Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 250) # int | Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 250)offset=0# int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0)count=False# bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to False) # bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to False)try:# Lists all the snapshots for the identityresults=IdentityHistoryApi(api_client).list_identity_snapshots(id=id)# Below is a request that includes all optional parameters# results = IdentityHistoryApi(api_client).list_identity_snapshots(id, start, interval, limit, offset, count)print("The response of IdentityHistoryApi->list_identity_snapshots:\n")pprint(results)exceptExceptionase:print("Exception when calling IdentityHistoryApi->list_identity_snapshots: %s\n"%e)