v1

latestOpenAPI 3.1.02026-07-241630614.2 KB

Update source

The method allows you to edit a specific source.

patch/api/v4/sources/{id}

Path parameters

idinteger required

Id of the source you want to edit

Headers

Content-Typestring

Request header

Request body

Response

200

idinteger
namestring
pipeline_idinteger
external_idstring
defaultboolean
origin_codestring

Example response

{
  "id": 17619939,
  "name": "chat",
  "pipeline_id": 5867030,
  "external_id": "kchat01",
  "default": true,
  "origin_code": "kommo.ext.30470678",
  "_links": {
    "self": {
      "href": "https://subdomain.kommo.com/api/v4/sources/17619939"
    }
  }
}