Mutations
updateWebhook
Updates a Webhook.
For more information on Webhooks, see Using Webhooks with This API in the Developer’s Guide.
Template for Query:
mutation UpdateWebhook($input: updateWebhookInput!){
updateWebhook(input: $input) {
#UpdateWebhook Fields
}
}
Template for Query Variables:
{
"input" : "<SOME-UPDATEWEBHOOK-INPUT-TYPE-SCALAR-VALUE>"
}
Arguments
input* updateWebhookInput non-null | Contains the input required to update a webhook. |
* Required
Possible Returns
Value Type | Description |
---|---|
Webhook | Represents a webhook that monitors the creation of a milestone on a component. |
Examples
Example 1
Query:
mutation updatewebhookcall ($webhookId : ID!) {
updateWebhook(input: { id: $webhookId,
secretToken: "sqxesqwjflwypqoxmksujlredumhwgiihevzdlnmznt"
}) {
id
}
}
Query Variables:
{
"webhookId": "{{webhookId}}"
}