---
title: "Update an integration"
method: PATCH
path: "/v1/integrations/{id}"
tags: ["Integrations"]
---

# Update an integration

`PATCH /v1/integrations/{id}`

## Request

- Base URL: `https://api.upcheck.so`
- URL: `https://api.upcheck.so/v1/integrations/{id}`
- Auth: HTTP bearer

Send only the fields to change. `{ "enabled": false }` mutes a destination without deleting it.

## Path parameters

- `id` string, required

## Request body

- object: Fields to change. Omitted fields are left as they are.
  - `channel` 'slack' | 'discord' | 'teams' | 'webhook': Where an integration delivers. Email needs no integration; rules address recipients directly.
  - `label` string
  - `url` string, uri: The incoming-webhook URL the channel gave you.
  - `enabled` boolean

## Response `200`

The updated integration.

- object
  - `id` string, required: Opaque identifier.
  - `organizationId` string, required: Opaque identifier.
  - `channel` 'email' | 'slack' | 'discord' | 'teams' | 'webhook', required
  - `label` string, required
  - `url` string, nullable, required
  - `enabled` boolean, required
  - `createdAt` number, required

## Other responses

- `400`: The request body or parameters are invalid. `error` names the first problem.
- `401`: The API key is missing, invalid, or revoked.
- `403`: The key's role does not allow this action.
- `404`: No such resource in this organization.
- `429`: The key's rate limit was exceeded. Honour `Retry-After`.

---

[API](https://skmtc.dev/upcheck/apis/upcheck-api.md) · [All operations](https://skmtc.dev/upcheck/apis/upcheck-api/llms.txt) · [OpenAPI document](https://skmtc.dev/upcheck/apis/upcheck-api/revisions/56f55512eb8a?raw)
