patch https://{subdomain}.kommo.com/api/v4/leads/pipelines/
This method allows editing the pipeline on the account
Limitations
The method is available for administrator users only.
Authorization type
OAuth 2.0 with Access Token. Review our Step-by-step Example.
Body/response parameters
To edit a pipeline, at least one parameter should be passed
| Parameter | Data type | Description | 
|---|---|---|
| name | string | Pipeline name | 
| sort | int | Sequence number of the pipeline in the pipeline list | 
| is_main | bool | Defines whether the pipeline is main for the account | 
| is_unsorted_on | bool | Defines whether Incoming Leads are enabled | 
Data type header when the request is successful
Content-Type: application/hal+json
Data type header in case of an error
Content-Type: application/problem+json