---
title: "[Internal] Update webhook status"
method: PATCH
path: "/api/webhooks/{webhook_id}/status"
tags: ["Webhooks"]
---

# \[Internal\] Update webhook status

`PATCH /api/webhooks/{webhook_id}/status`

## Request

- Base URL: `https://api.typless.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.typless.com/api/webhooks/{webhook_id}/status`
- Auth: none declared

## Path parameters

- `webhook_id` string, uuid, required

## Request body

- UpdateWebhookStatusRequest
  - `active` boolean, required

## Response `200`

Successful Response

- WebhookDTO
  - `aggregate_id` string, uuid, required
  - `tenant_id` string, uuid, required
  - `event_names` string[], required
  - `url` string, required
  - `business_unit_ids` union[], required
    - union
      - string, uuid
      - '*'
  - `active` boolean, required
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required

## Other responses

- `422`: Validation Error

---

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