Delete Webhooks

Delete multiple webhooks.

ℹ️

This endpoint is available on Defined Growth and Enterprise Plans

Endpoint: deleteWebhooks

Method: POST

Arguments

NameTypeDescription
inputDeleteWebhooksInput!Input for deleting webhooks.
Required

NameTypeDescription
webhookIds[String!]!A list of webhook IDs to delete.
Required

Response

NameTypeDescription
deletedIds[String]

The list of webhook IDs that were deleted.

πŸ‘¨β€πŸ’» Example

Mutation

mutation DeleteWebhooks {
  deleteWebhooks(input: {webhookIds: ["e1034c16-f873-4051-84b7-e525ea0998c6", "fc91e96b-8994-4bd8-b366-3769619292ee", "44c4e700-4c09-401e-a6d8-b22bd6935d41"]}) {
    deletedIds
  }
}

Response

{
    "data": {
        "deleteWebhooks": {
            "deletedIds": [
                "e1034c16-f873-4051-84b7-e525ea0998c6",
                "fc91e96b-8994-4bd8-b366-3769619292ee",
                "44c4e700-4c09-401e-a6d8-b22bd6935d41"
            ]
        }
    }
}

πŸ‘‹

Join our Discord

Ask questions, share what you're working on and request new features :two-men-holding-hands::two-women-holding-hands: