# Update Webhook

```
PUT 
/webhooks/:id
```

Replaces the `url`, `eventTypes` and `enabled` of a webhook.

When `enabled` is `true`, MONEI first sends a signed `{"type":"webhook.test"}` request to `url`. The URL must answer with a 2xx status. Enabling a webhook that was disabled after failed deliveries starts its deliveries again.

## Request[​](#request "Direct link to request")

## Responses[​](#responses "Direct link to Responses")

* 200
* 400
* 401
* 404
* 422
* 500
* 503

A webhook object

The request is incorrect or could not be processed

Unauthorized error. Please check your auth credentials

The specified resource was not found

The request was well-formed but could not be processed due to semantic errors

Unexpected server error

The service is temporarily unavailable
