delete_webhook_subscriptions
Delete one or more web hook subscriptions for an organization.
Input fields
ID!)
The Sentera ID of the organization to which the requested webhooks belong.
[ID!]!)
Sentera IDs of the webhook subscriptions to delete. Limited to a maximum of 100 IDs.
Return fields
Url!)
The URL to which the system should send events via HTTP POST.
[WebhookEventType!]!)
A list of the event types the system should send to the registered HTTP endpoint.
WebhookEventsQueryResult!)
A list of events for this webhook subscription.
| Argument | Type | Description |
|---|---|---|
date_range |
DateRange
|
Optional parameter to filter results to events created within a specific date range. |
event_type |
WebhookEventType
|
Optional parameter to filter results to a specific type of event. |
pagination |
Pagination!
|
Required pagination information. |
status |
WebhookEventStatus
|
Optional parameter to filter results to events in a specific status. |
ID!)
A system-generated key identifying a specific instance of a webhook subscription.
Examples
Delete a webhook subscription.
Deletes a webhooks subscription. It is possible to delete more than one subscription in a single call if additional IDs are provided.
Try this example in GraphiQLmutation DeleteWebhookSubscription {
delete_webhook_subscriptions(organization_sentera_id: "6aeagny_OR_w3njAcmeGrand_CV_deve_ef64a0fce_220112_111024", sentera_ids: ["b6i0chc_WS_w3njAcmeGrand_CV_deve_85c3a6365_220131_132709"]) {
sentera_id
}
}
{
"data": {
"delete_webhook_subscriptions": [
{
"sentera_id": "b6i0chc_WS_w3njAcmeGrand_CV_deve_85c3a6365_220131_132709"
}
]
}
}