Remove Company Webhook
On this page
GraphQL endpoint: /company
Removes one of the current company's webhooks by ID. No further events are delivered to it. Returns the removed webhook.
Query
mutation (
$id: ID!
) {
removeCompanyWebhook (
id: $id
) {
id
url
bearerToken
customHeaders
name
receiveSubscriptionEvents
receiveOptOutEvents
b2bConnectionRequestReceivedWebhook
b2bConnectionRequestResponseWebhook
b2cConnectionRequestResponseWebhook
c2bConnectionRequestReceivedWebhook
b2cSubscriptionRequestResponseWebhook
companySocialNetworkStatusChangeWebhook
b2bFormInstanceSubmissionRequestReceivedWebhook
}
}
Variables
{
"id": "00000000-0000-4000-8000-000000000001"
}
Response
{
"data": {
"removeCompanyWebhook": {
"b2bConnectionRequestReceivedWebhook": true,
"b2bConnectionRequestResponseWebhook": true,
"b2bFormInstanceSubmissionRequestReceivedWebhook": true,
"b2cConnectionRequestResponseWebhook": true,
"b2cSubscriptionRequestResponseWebhook": true,
"bearerToken": "TestBearerToken",
"c2bConnectionRequestReceivedWebhook": true,
"companySocialNetworkStatusChangeWebhook": true,
"customHeaders": {
"X-Custom-Header": "CustomValue"
},
"id": "00000000-0000-4000-8000-000000000001",
"name": "webhook",
"receiveOptOutEvents": true,
"receiveSubscriptionEvents": true,
"url": "https://localhost:54321/webhook"
}
}
}