Event Triggers provide real-time updates to changes in Identity Security Cloud so you can take action as soon as an event occurs, rather than poll an API endpoint for updates. Identity Security Cloud provides a user interface within the admin console to create and manage trigger subscriptions. These endpoints allow for programatically creating and managing trigger subscriptions.
There are two types of event triggers:
`FIRE_AND_FORGET`: This trigger type will send a payload to each subscriber without needing a response. Each trigger of this type has a limit of 50 subscriptions.
`REQUEST_RESPONSE`: This trigger type will send a payload to a subscriber and expect a response back. Each trigger of this type may only have one subscription.
Available Event Triggers
Production ready event triggers that are available in all tenants.
:::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.
:::
Complete Trigger Invocation
Completes an invocation to a REQUEST_RESPONSE type trigger.
No content - indicates the request was successful but there is no content to be returned in the response.
-
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: application/json
Accept: application/json
Example
importsailpoint.v2024fromsailpoint.v2024.models.complete_invocationimportCompleteInvocationfromsailpoint.v2024.restimportApiExceptionfrompprintimportpprintid='0f11f2a4-7c94-4bf3-a2bd-742580fe3bde'# str | The ID of the invocation to complete. # str | The ID of the invocation to complete.x_sail_point_experimental='true'# str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true')complete_invocation={"output":{"approved":false},"secret":"0f11f2a4-7c94-4bf3-a2bd-742580fe3bde","error":"Access request is denied."}# CompleteInvocation | try:# Complete Trigger InvocationResult=complete_invocation.from_json(complete_invocation)api_instance.complete_trigger_invocation(id,x_sail_point_experimental,Result)# Below is a request that includes all optional parameters# api_instance.complete_trigger_invocation(id, x_sail_point_experimental, Result)exceptExceptionase:print("Exception when calling TriggersApi->complete_trigger_invocation: %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 Subscription
This API creates a new subscription to a trigger and defines trigger invocation details. The type of subscription determines which config object is required:
New subscription to a trigger. The trigger can now be invoked by the method defined in the subscription.
Subscription
-
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: application/json
Accept: application/json
Example
importsailpoint.v2024fromsailpoint.v2024.models.subscriptionimportSubscriptionfromsailpoint.v2024.models.subscription_post_requestimportSubscriptionPostRequestfromsailpoint.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')subscription_post_request={"filter":"$[?($.identityId == \"201327fda1c44704ac01181e963d463c\")]","httpConfig":{"bearerTokenAuthConfig":{"bearerToken":"bearerToken"},"httpAuthenticationType":"BASIC_AUTH","httpDispatchMode":"SYNC","basicAuthConfig":{"password":"password","userName":"user@example.com"},"url":"https://www.example.com"},"triggerId":"idn:access-requested","name":"Access request subscription","description":"Access requested to site xyz","eventBridgeConfig":{"awsRegion":"us-west-1","awsAccount":"123456789012"},"responseDeadline":"PT1H","type":"HTTP","enabled":true}# SubscriptionPostRequest | try:# Create a SubscriptionResult=subscription_post_request.from_json(subscription_post_request)api_response=api_instance.create_subscription(x_sail_point_experimental,Result)# Below is a request that includes all optional parameters# api_response = api_instance.create_subscription(x_sail_point_experimental, Result)print("The response of TriggersApi->create_subscription:\n")pprint(api_response)exceptExceptionase:print("Exception when calling TriggersApi->create_subscription: %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.
:::
Delete a Subscription
Deletes an existing subscription to a trigger.
No content - indicates the request was successful but there is no content to be returned in the response.
-
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: Not defined
Accept: application/json
Example
importsailpoint.v2024fromsailpoint.v2024.restimportApiExceptionfrompprintimportpprintid='0f11f2a4-7c94-4bf3-a2bd-742580fe3bde'# str | Subscription ID # str | Subscription 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:# Delete a Subscriptionapi_instance.delete_subscription(id,x_sail_point_experimental)# Below is a request that includes all optional parameters# api_instance.delete_subscription(id, x_sail_point_experimental)exceptExceptionase:print("Exception when calling TriggersApi->delete_subscription: %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.
:::
List Subscriptions
Gets a list of all trigger subscriptions.
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.
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: id: eqtriggerId: eqtype: eq, le
Query
sorters
str
(optional)
Sort results using the standard syntax described in V3 API Standard Collection Parameters Sorting is supported for the following fields: triggerId, triggerName
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.subscriptionimportSubscriptionfromsailpoint.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')limit=250# int | Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 250) # int | Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 250)offset=0# int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0)count=False# bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to False) # bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to False)filters='id eq \"12cff757-c0c0-413b-8ad7-2a47956d1e89\"'# str | Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **id**: *eq* **triggerId**: *eq* **type**: *eq, le* (optional) # str | Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **id**: *eq* **triggerId**: *eq* **type**: *eq, le* (optional)sorters='triggerName'# 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: **triggerId, triggerName** (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: **triggerId, triggerName** (optional)try:# List Subscriptionsapi_response=api_instance.list_subscriptions(x_sail_point_experimental,)# Below is a request that includes all optional parameters# api_response = api_instance.list_subscriptions(x_sail_point_experimental, limit, offset, count, filters, sorters)print("The response of TriggersApi->list_subscriptions:\n")pprint(api_response)exceptExceptionase:print("Exception when calling TriggersApi->list_subscriptions: %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.
:::
List Latest Invocation Statuses
Gets a list of latest invocation statuses.
Statuses of successful invocations are available for up to 24 hours. Statuses of failed invocations are available for up to 48 hours.
This endpoint may only fetch up to 2000 invocations, and should not be treated as a representation of the full history of invocations.
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.
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: triggerId: eqsubscriptionId: 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: triggerId, subscriptionName, created, completed
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.invocation_statusimportInvocationStatusfromsailpoint.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')limit=250# int | Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 250) # int | Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 250)offset=0# int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0)count=False# bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to False) # bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to False)filters='triggerId eq \"idn:access-request-dynamic-approver\"'# 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: **triggerId**: *eq* **subscriptionId**: *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: **triggerId**: *eq* **subscriptionId**: *eq* (optional)sorters='created'# 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: **triggerId, subscriptionName, created, completed** (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: **triggerId, subscriptionName, created, completed** (optional)try:# List Latest Invocation Statusesapi_response=api_instance.list_trigger_invocation_status(x_sail_point_experimental,)# Below is a request that includes all optional parameters# api_response = api_instance.list_trigger_invocation_status(x_sail_point_experimental, limit, offset, count, filters, sorters)print("The response of TriggersApi->list_trigger_invocation_status:\n")pprint(api_response)exceptExceptionase:print("Exception when calling TriggersApi->list_trigger_invocation_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.
:::
List Triggers
Gets a list of triggers that are available in the tenant.
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.
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: id: eq, ge, le
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.triggerimportTriggerfromsailpoint.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')limit=250# int | Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 250) # int | Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 250)offset=0# int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0)count=False# bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to False) # bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to False)filters='id eq \"idn:access-request-post-approval\"'# str | Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **id**: *eq, ge, le* (optional) # str | Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **id**: *eq, ge, le* (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: **id, 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: **id, name** (optional)try:# List Triggersapi_response=api_instance.list_triggers(x_sail_point_experimental,)# Below is a request that includes all optional parameters# api_response = api_instance.list_triggers(x_sail_point_experimental, limit, offset, count, filters, sorters)print("The response of TriggersApi->list_triggers:\n")pprint(api_response)exceptExceptionase:print("Exception when calling TriggersApi->list_triggers: %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 Subscription
This API updates a trigger subscription in IdentityNow, using a set of instructions to modify a subscription partially. The following fields are patchable:
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.subscriptionimportSubscriptionfromsailpoint.v2024.models.subscription_patch_request_innerimportSubscriptionPatchRequestInnerfromsailpoint.v2024.restimportApiExceptionfrompprintimportpprintid='0f11f2a4-7c94-4bf3-a2bd-742580fe3bde'# str | ID of the Subscription to patch # str | ID of the Subscription to patchx_sail_point_experimental='true'# str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true')[sailpoint.v2024.SubscriptionPatchRequestInner()]# List[SubscriptionPatchRequestInner] | subscription_patch_request_inner=[sailpoint.v2024.SubscriptionPatchRequestInner()]# List[SubscriptionPatchRequestInner] | try:# Patch a SubscriptionResult=subscription_patch_request_inner.from_json(subscription_patch_request_inner)api_response=api_instance.patch_subscription(id,x_sail_point_experimental,Result)# Below is a request that includes all optional parameters# api_response = api_instance.patch_subscription(id, x_sail_point_experimental, Result)print("The response of TriggersApi->patch_subscription:\n")pprint(api_response)exceptExceptionase:print("Exception when calling TriggersApi->patch_subscription: %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.
:::
Start a Test Invocation
Initiate a test event for all subscribers of the specified event trigger. If there are no subscribers to the specified trigger in the tenant, then no test event will be sent.
Test trigger invocations that have been started for specified subscription(s).
List[Invocation]
-
204
No content - indicates the request was successful but there is no content to be returned in the response.
-
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: application/json
Accept: application/json
Example
importsailpoint.v2024fromsailpoint.v2024.models.invocationimportInvocationfromsailpoint.v2024.models.test_invocationimportTestInvocationfromsailpoint.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')test_invocation={"input":{"identityId":"201327fda1c44704ac01181e963d463c"},"subscriptionIds":["0f11f2a4-7c94-4bf3-a2bd-742580fe3bde"],"triggerId":"idn:access-request-post-approval","contentJson":{"workflowId":1234}}# TestInvocation | try:# Start a Test InvocationResult=test_invocation.from_json(test_invocation)api_response=api_instance.start_test_trigger_invocation(x_sail_point_experimental,Result)# Below is a request that includes all optional parameters# api_response = api_instance.start_test_trigger_invocation(x_sail_point_experimental, Result)print("The response of TriggersApi->start_test_trigger_invocation:\n")pprint(api_response)exceptExceptionase:print("Exception when calling TriggersApi->start_test_trigger_invocation: %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.
:::
Validate a Subscription Filter
Validates a JSONPath filter expression against a provided mock input.
Request requires a security scope of:
Boolean whether specified filter expression is valid against the input.
ValidateFilterOutputDto
-
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: application/json
Accept: application/json
Example
importsailpoint.v2024fromsailpoint.v2024.models.validate_filter_input_dtoimportValidateFilterInputDtofromsailpoint.v2024.models.validate_filter_output_dtoimportValidateFilterOutputDtofromsailpoint.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')validate_filter_input_dto={"filter":"$[?($.identityId == \"201327fda1c44704ac01181e963d463c\")]","input":{"identityId":"201327fda1c44704ac01181e963d463c"}}# ValidateFilterInputDto | try:# Validate a Subscription FilterResult=validate_filter_input_dto.from_json(validate_filter_input_dto)api_response=api_instance.test_subscription_filter(x_sail_point_experimental,Result)# Below is a request that includes all optional parameters# api_response = api_instance.test_subscription_filter(x_sail_point_experimental, Result)print("The response of TriggersApi->test_subscription_filter:\n")pprint(api_response)exceptExceptionase:print("Exception when calling TriggersApi->test_subscription_filter: %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 Subscription
This API updates a trigger subscription in IdentityNow, using a full object representation. In other words, the existing
Subscription is completely replaced. The following fields are immutable:
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
Accept: application/json
Example
importsailpoint.v2024fromsailpoint.v2024.models.subscriptionimportSubscriptionfromsailpoint.v2024.models.subscription_put_requestimportSubscriptionPutRequestfromsailpoint.v2024.restimportApiExceptionfrompprintimportpprintid='0f11f2a4-7c94-4bf3-a2bd-742580fe3bde'# str | Subscription ID # str | Subscription 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')subscription_put_request={"filter":"$[?($.identityId == \"201327fda1c44704ac01181e963d463c\")]","httpConfig":{"bearerTokenAuthConfig":{"bearerToken":"bearerToken"},"httpAuthenticationType":"BASIC_AUTH","httpDispatchMode":"SYNC","basicAuthConfig":{"password":"password","userName":"user@example.com"},"url":"https://www.example.com"},"name":"Access request subscription","description":"Access requested to site xyz","eventBridgeConfig":{"awsRegion":"us-west-1","awsAccount":"123456789012"},"responseDeadline":"PT1H","type":"HTTP","enabled":true}# SubscriptionPutRequest | try:# Update a SubscriptionResult=subscription_put_request.from_json(subscription_put_request)api_response=api_instance.update_subscription(id,x_sail_point_experimental,Result)# Below is a request that includes all optional parameters# api_response = api_instance.update_subscription(id, x_sail_point_experimental, Result)print("The response of TriggersApi->update_subscription:\n")pprint(api_response)exceptExceptionase:print("Exception when calling TriggersApi->update_subscription: %s\n"%e)