Skip to main content
Solved

How to list or delete all webhooks

  • August 18, 2020
  • 1 reply
  • 879 views

Paulo Ribas
Pipefy Staff

 


Hi, I am testing pipefy webhooks, but I have created two webhhooks for the same endpoint and I would like to remove one of them.
 

Best answer by Marcos Carvalho

Hi Paulo, how are you?

 

First query your pipe to find registered Webhooks:

query ($id: ID!){pipe(id:$id){id webhooks{id url headers actions}}} 

 

Than with the Webhook Id call the mutation do delete it:

mutation ($input:DeleteWebhookInput!){deleteWebhook(input:$input){clientMutationId success}}

 

Hope it helps. 

 

1 reply

Marcos Carvalho
Pipefy Staff
Forum|alt.badge.img+6

Hi Paulo, how are you?

 

First query your pipe to find registered Webhooks:

query ($id: ID!){pipe(id:$id){id webhooks{id url headers actions}}} 

 

Than with the Webhook Id call the mutation do delete it:

mutation ($input:DeleteWebhookInput!){deleteWebhook(input:$input){clientMutationId success}}

 

Hope it helps.