Update a pipeline

You can update an existing pipeline

 

Request Path Parameters
Parameter Type Required Description
org_id number Yes The unique identifier of your organization
id number Yes The unique identifier of the pipeline

 

Request Body Parameter
Attribute Type Required Description
name string Yes The name of the pipeline

Example Request & Response


$ curl https://api.custerem.com/<org_id>/companies/<id>/ \
-X PUT \
-H 'Authorization: X-API-KEY <Your API Key>' \
-H 'Content-Type: application/json' \
-d '{
    "name": "Sales"
}'

 

204 No Content

{
    "name": "Sales"
}

 

400 Bad Request

{
    "name": [
        "This field may not be blank."
    ]
}

 

404 Not Found

{
    "status_code": 404,
    "message": "Pipeline with id 4 not found"
}