---
title: "Desativar webhook"
method: PATCH
path: "/webhooks/{webhook_uuid}/update_state"
---

# Desativar webhook

`PATCH /webhooks/{webhook_uuid}/update_state`

Este recurso permite ativar ou desativar uma regra de notificação.

## Path parameters

- `webhook_uuid` string, required

## Request body

- object
  - `active` 'false' | 'true' — Ativa ou desativa uma regra de notificação.

## Response `200`

200

- object
  - `data` object
    - `id` string
    - `type` string
    - `attributes` object
      - `kind` string
      - `url` string
      - `createdAt` string
      - `active` boolean
      - `extraHeaders` unknown

## Other responses

- `400` — 400
- `401` — 401
- `404` — 404
- `422` — 422

---

[API](https://skmtc.net/grafeno/apis/api-v2-grafeno.md) · [All operations](https://skmtc.net/grafeno/apis/api-v2-grafeno/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/grafeno/api-v2-grafeno/versions/20f928f6933f/schema)
