---
title: "Modifier un webhook"
method: PUT
path: "/api/v1/webhooks/{webhook_uuid}"
tags: ["Webhooks"]
---

# Modifier un webhook

`PUT /api/v1/webhooks/{webhook_uuid}`

## Request

- Base URL: `https://lucidnest.test`
- URL: `https://lucidnest.test/api/v1/webhooks/{webhook_uuid}`
- Auth: HTTP bearer

Met à jour l'URL, les événements ou le statut actif d'un webhook existant.

## Request body

- object
  - `url` string: L'URL de destination.
  - `events` string[]: Les événements à écouter.
  - `is_active` boolean: Activer ou désactiver le webhook.

## Response `200`

- object
  - `data` object
    - `id` integer
    - `uuid` string
    - `url` string
    - `events` string[]
    - `is_active` boolean

## Other responses

- `403`

---

[API](https://skmtc.dev/lucidnest/apis/lucidnest-api-documentation.md) · [All operations](https://skmtc.dev/lucidnest/apis/lucidnest-api-documentation/llms.txt) · [OpenAPI document](https://skmtc.dev/lucidnest/apis/lucidnest-api-documentation/revisions/38638944c947?raw)
