---
title: "Update webhook"
method: PUT
path: "/api/webhooks/{id}"
tags: ["Webhooks"]
---

# Update webhook

`PUT /api/webhooks/{id}`

Updates webhook configuration. Requires Pro license and admin role.

## Path parameters

- `id` integer, required

## Request body

- object
  - `name` string
  - `stack_name` string
  - `action` 'deploy' | 'restart' | 'stop' | 'start' | 'pull'
  - `enabled` boolean

## Response `200`

Webhook updated.

- SuccessBoolean
  - `success` boolean, required

## Other responses

- `400` — Validation error.
- `403` — Insufficient permissions or license tier.
- `404` — Resource not found.
- `500` — Internal server error.

---

[API](https://skmtc.dev/studio-saelix/apis/sencho-api.md) · [All operations](https://skmtc.dev/studio-saelix/apis/sencho-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/studio-saelix/sencho-api/revisions/c62bbceae824/schema)
