Pipelines
Preview

Replace a pipeline's settings

Name, description, owner team (the caller must be able to read the new team) and settings. These are not part of the graph, so they do not make a version. Changes to the review policy, previews and notifications take effect from the next change or event. A change that loosens review (turns it off, d

PUT
/pipelines/{pipelineId}/settings
cookiebetter-auth.session_token<token>

Better Auth session cookie. Production uses the __Secure- prefixed name.

pipelineId*string
Formatuuid
Idempotency-Key?string

Makes retries safe. A repeated key with the same request returns the first result and sets Idempotent-Replayed: true. The same key with a different request answers 409 idempotency.key_reused, and while the first request is still running 409 idempotency.in_progress. Results are kept for 24 hours. Server errors and refusals for lack of sign-in or permission are not kept, so a retry runs again.

Match^[A-Za-z0-9_.:-]+$
Length1 <= length <= 255
application/json
  1. body
name*string
Length1 <= length <= 63
description?string
Lengthlength <= 500
teamId*string
settings*

Response Body

The updated settings.

application/json
  1. response
id*string
Formatuuid
name*string
description*string
teamId*string
archived*boolean
newestVersion*integer
apps*array<>
settings*
updatedAt*string
Formatdate-time
Example Request
curl -X PUT 'https://wardn.example.com/api/v1/pipelines/497f6eca-6276-4993-bfeb-53cbbbba6f08/settings' \  -H 'Content-Type: application/json' \  -d '{  "name": "string",  "teamId": "string",  "settings": {    "changeReview": {      "required": true,      "reviewers": [        {          "label": "string",          "count": 1,          "notAuthor": true        }      ]    },    "runningReleases": "keep",    "agentSuggestions": true,    "previews": {      "enabled": true,      "appIds": [        "507005c2-bda5-4651-98c0-390a3efeade9"      ]    },    "notifications": [      {        "kind": "slack",        "target": "string",        "on": "every_event"      }    ]  }}'
Example Response
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "name": "string",  "description": "string",  "teamId": "string",  "archived": true,  "newestVersion": 0,  "apps": [    {      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "name": "string"    }  ],  "settings": {    "changeReview": {      "required": true,      "adminsNeedReview": true,      "reviewers": [        {          "label": "string",          "teamId": "string",          "count": 1,          "notAuthor": true        }      ]    },    "runningReleases": "keep",    "agentSuggestions": true,    "previews": {      "enabled": true,      "appIds": [        "507005c2-bda5-4651-98c0-390a3efeade9"      ],      "builtLikeStageId": "string",      "clusterId": "string",      "namespacePattern": "string",      "removeAfterIdleDays": 0,      "sleepAfterIdleHours": 0,      "maxOpen": 0    },    "notifications": [      {        "kind": "slack",        "target": "string",        "on": "every_event",        "stuckAfterSeconds": 0      }    ]  },  "updatedAt": "2019-08-24T14:15:22Z"}