---
title: "Disable Webhook"
method: POST
path: "/api/webhooks/{id}/disable"
tags: ["Webhooks"]
---

# Disable Webhook

`POST /api/webhooks/{id}/disable`

Disables a webhook without deleting it.

> 📘 One webhook per organization
>
> An organization can register a single webhook, which receives every event
> produced in that organization. See the
> [Events documentation](../../../../guides/events) for the
> list of event types and payload shapes.

Events are not queued while the webhook is disabled — any activity that occurs
during the disabled period is not delivered retroactively. To resume
delivery, re-enable the webhook using
[`POST /api/webhooks/{id}/enable`](../../../../api-reference/webhooks/enable).

## Path parameters

- `id` string, uuid, required

## Headers

- `X-Polytomic-Version` string

## Response `200`

OK

- WebhookEnvelope
  - `data` Webhook
    - `created_at` string, date-time
    - `disabled` boolean
    - `endpoint` string
    - `id` string, uuid
    - `organization_id` string, uuid
    - `secret` string

## Other responses

- `401` — Unauthorized
- `404` — Not Found
- `500` — Internal Server Error

---

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