---
title: "Update Slack Webhook"
method: PATCH
path: "/api/project/{slug}/slack-webhooks/{webhook_id}"
---

# Update Slack Webhook

`PATCH /api/project/{slug}/slack-webhooks/{webhook_id}`

## Request

- Base URL: `https://fluxito.app` (the document declares no server; this is the origin it was published from)
- URL: `https://fluxito.app/api/project/{slug}/slack-webhooks/{webhook_id}`
- Auth: none declared

Update a Slack webhook's label or URL.

Request body (all fields optional; at least one required):
  {"label": "#new-channel", "webhook_url": "https://hooks.slack.com/…"}

Rotating the URL resets ``last_tested_at`` / ``last_test_status`` /
``last_test_error`` because the previous test result is no longer
meaningful.

## Path parameters

- `slug` string, required
- `webhook_id` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/fluxito/apis/fluxito-platform.md) · [All operations](https://skmtc.dev/fluxito/apis/fluxito-platform/llms.txt) · [OpenAPI document](https://skmtc.dev/fluxito/apis/fluxito-platform/revisions/d558e1fe9a04?raw)
