Skip to Content
Pipelines

Update an existing Pipeline

PUT
/pipelines/{pipeline_id}

Path Parameters

pipeline_id*integer

The ID of the pipeline.

Range1 <= value

Header Parameters

Accept*string

application/json

Authorization*string

Bearer {{access_token}}

Content-Type*string

application/json

Request Body

A JSON object containing the resource data

application/json
  1. body
id*integer

The unique ID of the given Pipeline.

name*string

The pipeline's name. Must be at least 3 characters. Must not be greater than 80 characters.

max_parallel_actions?integer

Maximum number of actions that can run in parallel for this pipeline. 0 means no limit of simultaneous actions. 1 means just a single action will be started at a time to run this pipeline. Must be between 0 and 10.

trigger_when?|null

Response Body

No Content

Example Request
curl -X PUT 'https://api.devopness.com/pipelines/123' \  -H 'Accept: application/json' \  -H 'Authorization: Bearer <your_api_token>' \  -H 'Content-Type: application/json' \  -H 'Content-Type: application/json' \  -d '{  "id": 1,  "name": "My pipeline"}'
Example Response
Empty