cURL
curl --request PUT \ --url https://app.demandiq.com/api/notifications/subscriptions/{subscriptionId} \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>", "eventType": "<string>", "channel": "webhook", "channelConfig": {}, "deckId": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "isActive": true } '
{ "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "name": "<string>", "eventType": "<string>", "channel": "webhook", "channelConfig": {}, "deckId": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "isActive": true, "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z" }
Update a notification subscription’s name, event type, channel, config, scope, or active status.
webhook
email
console
Subscription updated