Patch a Subscription

PATCH {{baseUrl}}/trigger-subscriptions/:id

This API updates a trigger subscription in IdentityNow, using a set of instructions to modify a subscription partially. The following fields are patchable:

name, description, enabled, type, filter, responseDeadline, httpConfig, eventBridgeConfig, workflowConfig

Request Body

{"0"=>{"op"=>"replace", "path"=>"/description", "value"=>"A new description"}, "1"=>{"op"=>"replace", "path"=>"/name", "value"=>"A new name"}}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: OK

{"id":"0f11f2a4-7c94-4bf3-a2bd-742580fe3bde","triggerId":"idn:access-requested","type":"HTTP","name":"Access request subscription","triggerName":"Access Requested","enabled":true,"responseDeadline":"PT1H","description":"Access requested to site xyz","httpConfig":{"url":"https://www.example.com","httpDispatchMode":"SYNC","httpAuthenticationType":"BASIC_AUTH","basicAuthConfig":{"userName":"user@example.com","password":null},"bearerTokenAuthConfig":{"bearerToken":null}},"eventBridgeConfig":{"awsAccount":"123456789012","awsRegion":"us-west-1"},"filter":"$[?($.identityId == \"201327fda1c44704ac01181e963d463c\")]"}