# updateWebhookEndpoint Mutation

Updates the specified WebhookEndpoint object.

Access is permitted when any of the following condition(s) are met: 1. The signed-in User has any of the following permissions for the associated Organization: \[org\_admin\_users].

## Input fields ([UpdateWebhookEndpointInput!](https://prismatic.io/docs/api/schema/input_object/UpdateWebhookEndpointInput.md))[​](#input-fields-updatewebhookendpointinput "Direct link to input-fields-updatewebhookendpointinput")

| Argument           | Type                                                                | Description                                                                                                                  |
| ------------------ | ------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- |
| `name`             | [`String`](https://prismatic.io/docs/api/schema/scalar/String.md)   | Friendly name for the webhook endpoint.                                                                                      |
| `url`              | [`String`](https://prismatic.io/docs/api/schema/scalar/String.md)   | The URL where webhook events will be sent.                                                                                   |
| `description`      | [`String`](https://prismatic.io/docs/api/schema/scalar/String.md)   | Additional notes about this webhook endpoint configuration.                                                                  |
| `secret`           | [`String`](https://prismatic.io/docs/api/schema/scalar/String.md)   | Secret key used for HMAC signature generation. If provided, all webhook payloads will include an X-Webhook-Signature header. |
| `headers`          | [`String`](https://prismatic.io/docs/api/schema/scalar/String.md)   | A JSON object of key/value pairs that will be sent as headers with each webhook request.                                     |
| `enabled`          | [`Boolean`](https://prismatic.io/docs/api/schema/scalar/Boolean.md) | Whether this webhook endpoint is currently enabled. Disabled endpoints will not receive events.                              |
| `eventTypes`       | [`[String]`](https://prismatic.io/docs/api/schema/scalar/String.md) | List of event types to subscribe to.                                                                                         |
| `id`               | [`ID`](https://prismatic.io/docs/api/schema/scalar/ID.md)           | The ID of the WebhookEndpoint to mutate.                                                                                     |
| `clientMutationId` | [`String`](https://prismatic.io/docs/api/schema/scalar/String.md)   | A unique identifier for the client performing the mutation.                                                                  |

## Return fields ([UpdateWebhookEndpointPayload](https://prismatic.io/docs/api/schema/object/UpdateWebhookEndpointPayload.md))[​](#return-fields-updatewebhookendpointpayload "Direct link to return-fields-updatewebhookendpointpayload")

###### **clientMutationId** ([String](https://prismatic.io/docs/api/schema/scalar/String.md))[​](#clientmutationid-string "Direct link to clientmutationid-string")

###### **errors** ([\[ErrorType!\]!](https://prismatic.io/docs/api/schema/object/ErrorType.md))[​](#errors-errortype "Direct link to errors-errortype")

###### **webhookEndpoint** ([WebhookEndpoint](https://prismatic.io/docs/api/schema/object/WebhookEndpoint.md))[​](#webhookendpoint-webhookendpoint "Direct link to webhookendpoint-webhookendpoint")
