---
title: "PATCH /webhook/{webhookId}"
method: PATCH
path: "/webhook/{webhookId}"
---

# PATCH /webhook/{webhookId}

`PATCH /webhook/{webhookId}`

Update a webhook endpoint

## Path parameters

- `webhookId` string, required

## Request body

- object
  - `status` 'archived', required
  - `reason` string

## Response `200`

OK

- Webhook
  - `id` string, required
  - `createdAt` string, required
  - `archivedAt` string
  - `url` string, required — The URL that will receive the webhook payload
  - `name` string, required — The name of the webhook

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `429` — TooManyRequests
- `500` — Internal Error

---

[API](https://skmtc.dev/slashfi/apis/slash-public-api.md) · [All operations](https://skmtc.dev/slashfi/apis/slash-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/slashfi/slash-public-api/revisions/328c59f5cddb/schema)
