---
title: "Update an instance webhook"
method: PUT
path: "/admin/webhooks/{webhookId}"
tags: ["Admin"]
---

# Update an instance webhook

`PUT /admin/webhooks/{webhookId}`

## Request

- Base URL: `https://cloud.kaneo.app/api`
- URL: `https://cloud.kaneo.app/api/admin/webhooks/{webhookId}`
- Auth: HTTP bearer

Requires the instance:settings instance permission and a user session. API keys are rejected.

## Path parameters

- `webhookId` string, required

## Request body

- object
  - `url` string, uri, required
  - `categories` string[], required
  - `enabled` boolean, required

## Response `200`

Updated webhook

- InstanceWebhook
  - `url` string, uri, required
  - `categories` string[], required
  - `enabled` boolean, required
  - `id` string, required
  - `createdAt` string, date-time, required

## Other responses

- `400`: Invalid URL or categories
- `401`: Authentication required
- `403`: The caller lacks instance:settings or used an API key
- `404`: Webhook not found
- `429`: The API key exceeded its rate limit or usage quota. Wait the number of seconds in Retry-After before retrying. The X-RateLimit headers are sent only when the rate limit was hit.

## Changes

- **2026-10-27** `741a49dfb347`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/usekaneo/apis/kaneo-api/changes/admin/webhooks/:webhookId/put.md)

---

[API](https://skmtc.dev/usekaneo/apis/kaneo-api.md) - [All operations](https://skmtc.dev/usekaneo/apis/kaneo-api/llms.txt) - [OpenAPI document](https://skmtc.dev/usekaneo/apis/kaneo-api/revisions/741a49dfb347?raw)
