---
title: "Update webhook"
method: PATCH
path: "/webhooks/{id}"
tags: ["Delivery Webhooks (DLR)"]
---

# Update webhook

`PATCH /webhooks/{id}`

## Request

- Base URL: `https://api.envoisms.ma/v1`
- URL: `https://api.envoisms.ma/v1/webhooks/{id}`
- Auth: HTTP bearer

## Path parameters

- `id` string, required

## Request body

- object
  - `url` string, uri
  - `events` string[]
  - `active` boolean

## Response `200`

Webhook updated

---

[API](https://skmtc.dev/envoisms/apis/envoisms-ma-api.md) · [All operations](https://skmtc.dev/envoisms/apis/envoisms-ma-api/llms.txt) · [OpenAPI document](https://skmtc.dev/envoisms/apis/envoisms-ma-api/revisions/662db074bd86?raw)
