Skip to main content

deleteWebhookEndpoint

Requires permission settings:webhooks:delete.

Deletes a webhook endpoint, which stops further deliveries to it. Requires permission to delete webhooks.

Errors: a failed call returns a GraphQL errors entry, not a field on the result, and data may be null or partial. Read the entry's extensions.code and message; every shape and code is in the Error reference.

Example:

mutation DeleteWebhookEndpoint($id: ID!) {
deleteWebhookEndpoint(id: $id)
}

Variables:

{
"id": "id"
}

Response:

{
"data": {
"deleteWebhookEndpoint": true
}
}
deleteWebhookEndpoint(
id: ID!
): Boolean!

Arguments​

deleteWebhookEndpoint.id ● ID! non-null scalar​

The ID of the webhook endpoint.

Type​

Boolean scalar​

The Boolean scalar type represents true or false.