Solved

How to list or delete all webhooks

  • 18 August 2020
  • 1 reply
  • 743 views

Userlevel 5

 


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.
 

icon

Best answer by Marcos Carvalho 18 August 2020, 15:55

View original

1 reply

Userlevel 6
Badge +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. 

 

Reply