Patch Webhooks Subscription
This API enables user to update the existing webhook subscription.
The id of webhook.
Request to update subscription.
{
"url": "string",
"description": "string",
"headers": {
"headers": "string"
},
"vsafilter": {
"condition": "AND",
"filterlist": [
"Filter Object"
]
},
"disabled": false
}
The URL where user wants to receive notifications.
Details description about the subscription.
Headers user wants to receive with notifications.
The VSAFilter object defines how the filters has to be applied on queries.
Setting this to true, disables the subscription.
Ok
{
"id": "ep_2U6LKqlSiXEyCZjZT9LCuuLlxw5",
"name": "router-wh",
"app_id": "app_2U68Bt1IxHidF3OT8qeEMM3ETub",
"disabled": false,
"start_time": 1692255023421,
"update_time": 1692255023421,
"user_name": "oper",
"type": "NOTIFICATION",
"description": "webhook to get router events",
"url": "https://play.svix.com/in/e_y1sI1Dy8IvkYQcgYQy5yoHAtR7E/",
"headers": null,
"vsafilter": {
"filterlist": [
{
"condition": "OR",
"propfilter": [
{
"propname": "ClassName",
"matchtype": "EQ",
"values": [
"Router"
]
}
]
}
]
}
}
Unique subscrpiton id .
Name of the subscription.
Id of the internal application .
Subscription is active or inactive
Subscription start time.
Subscription update time.
User who had created the subscription.
The type of subscription.
Detail description about the subscription.
The URL set to receive notifications.
Headers set for subscription.
The VSAFilter object defines how the filters has to be applied on queries.
Cannot find requested resource
Internal server error