Mutations
deleteWebhook
Deletes a Webhook.
For more information on Webhooks, see Using Webhooks with This API in the Developer’s Guide.
Template for Query:
mutation DeleteWebhook($webhookId: string!){
deleteWebhook(webhookId: $webhookId) {
#DeleteWebhook Fields
}
}
Template for Query Variables:
{
"webhookId" : "<SOME-STRING-TYPE-SCALAR-VALUE>"
}
Arguments
webhookId* String non-null | The ID of the webhook to delete. |
* Required
Possible Returns
Value Type | Description |
---|---|
String | The String scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text. |
Examples
Example 1
This example demonstrates the deletion of a webhook.
Query:
mutation DeleteMyWebhook ($webhookId : String!){
deleteWebhook(webhookId : $webhookId)
}
Query Variables:
{
"webhookid":"c7aa4a81-20ff-4fa5-88f4-312357cdbb88"
}
Response:
{
"data": {
"deleteWebhook": "c7aa4a81-20ff-4fa5-88f4-312357cdbb88"
}
}