---
title: "Update CRM Plugin"
method: PATCH
path: "/api/v4/website_buttons/{source_id}"
---

# Update CRM Plugin

`PATCH /api/v4/website_buttons/{source_id}`

This method enables users to modify an existing CRM Plugin. Users can add new trusted domains to an existing CRM Plugin, but the addition occurs asynchronously, outside of the request context.

## Path parameters

- `source_id` integer, required

## Headers

- `Content-Type` string

## Request body

- object
  - `trusted_websites` object
    - `add` string[] — An array of domains to be added

## Response `200`

200

- object
  - `account_id` integer
  - `source_id` integer
  - `button_id` integer
  - `is_duplication_control_enabled` boolean
  - `name` string
  - `creation_status` string
  - `pipeline_id` integer
  - `script` string

## Other responses

- `401` — 401
- `404` — 404

---

[API](https://skmtc.net/kommo/apis/kommo-api-references.md) · [All operations](https://skmtc.net/kommo/apis/kommo-api-references/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/kommo/kommo-api-references/revisions/f17af4d23c7c/schema)
