Delete a webhook target and stop all deliveries to that endpoint.
Deleting a webhook target stops deliveries to that endpoint and removes the target from your workspace. Existing delivery attempt history is retained until normal retention expiry.
For TypeScript, the GraphQL SDK gives you a fully typed client for these operations.
Mutation
mutation deleteWebhookTarget($input: DeleteWebhookTargetInput!) { deleteWebhookTarget(input: $input) { error { message type code fields { field message type } } }}