---
title: "Change a webhook's URL, description or events, or turn it off and on."
method: POST
path: "/v1/webhooks/{id}:update"
tags: ["observability"]
---

# Change a webhook's URL, description or events, or turn it off and on.

`POST /v1/webhooks/{id}:update`

## Request

- Base URL: `https://api.withruntime.com`
- URL: `https://api.withruntime.com/v1/webhooks/{id}:update`
- Auth: HTTP bearer

## Path parameters

- `id` string, required: Resource identifier (UUID).

## Headers

- `Idempotency-Key` string

## Request body

- object
  - `url` string: An https URL on the public internet.
  - `description` string, nullable: null or empty clears it.
  - `events` string[]: Which events to send; ["*"], the default, sends every type, including ones added later.
  - `enabled` boolean: false stops sending and cancels what is waiting.

## Response `200`

Success

- object
  - `id` string, required
  - `url` string, required
  - `description` string, nullable
  - `events` string[], required
  - `enabled` boolean, required
  - `secretHint` string, required
  - `secret` string: The signing secret. Returned when the webhook is made (and to its own retry) and when its secret is rotated, and never again.
  - `previousSecretExpiresAt` string, nullable
  - `createdAt` string
  - `updatedAt` string
  - `lastSuccessAt` string, nullable
  - `lastFailureAt` string, nullable
  - `failingSince` string, nullable

## Other responses

- `default`: Error

---

[API](https://skmtc.dev/withruntime/apis/runtime-cloud-api.md) · [All operations](https://skmtc.dev/withruntime/apis/runtime-cloud-api/llms.txt) · [OpenAPI document](https://skmtc.dev/withruntime/apis/runtime-cloud-api/revisions/6f4012286988?raw)
