Skip to content

updateWebhook

Update a webhook.

Arguments

Argument Type Description
input (required) UpdateWebhookInput! The webhook configuration to update.

Returns

UpdateWebhookReply!

Sample

mutation UpdateWebhook($input: UpdateWebhookInput!) {
  updateWebhook(input: $input)
}
{
  "input": {
    "id": 0
  }
}
{
  "data": {
    "updateWebhook": {
      "testError": {
        "errorMessage": "example-string",
        "statusCode": 0
      },
      "webhook": {
        "authType": "AUTH_TYPE_UNSPECIFIED",
        "createdAt": "2024-01-01T00:00:00.000Z",
        "createdBy": "example-string",
        "description": "example-string",
        "id": 0,
        "name": "example-string"
      }
    }
  }
}