> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mightynetworks.com/llms.txt
> Use this file to discover all available pages before exploring further.

# updateWebhookCallback

> Modify an outbound webhook to change its endpoint, secret, or event subscription

**Required scope:** `host:write:network_integrations`



**mutation** `updateWebhookCallback(input: UpdateWebhookCallbackInput!): UpdateWebhookCallbackPayload`

## Arguments

**`input`**: `UpdateWebhookCallbackInput!` (required)

Parameters for UpdateWebhookCallback

## Returns

`UpdateWebhookCallbackPayload`

**`clientMutationId`**: `String`

A unique identifier for the client performing the mutation.

---

**`errors`**: `[String!]!`

---

**`webhookCallback`**: `WebhookCallback`

## Examples

```graphql Mutation
mutation UpdateWebhookCallback($input: UpdateWebhookCallbackInput!) {
  updateWebhookCallback(input: $input) {
    clientMutationId
    errors
    webhookCallback {
      apiKey
      consecutiveFailures
      createdAt
      disabled
      disabledAt
      id
    }
  }
}
```

```json Variables
{
  "input": {
    "id": "id"
  }
}
```

```json Response
{
  "data": {
    "updateWebhookCallback": {
      "clientMutationId": "string",
      "errors": [
        "string"
      ],
      "webhookCallback": {
        "apiKey": "string",
        "consecutiveFailures": 1,
        "createdAt": "value",
        "disabled": true,
        "disabledAt": "value",
        "id": "id"
      }
    }
  }
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.