Delete a pipeline
Deletes a pipeline and all its actions. Requires the change-pipeline right on every environment the pipeline references.
Last updated:
Deletes a pipeline and all its actions. Requires the change-pipeline right on every environment the pipeline references.
DELETE /api/v1/pipelines/{pipelineId}
Authorization
Requires a signed-in person with this scope: pipelines:write.
Parameters
| Name | In | Required | Type | Description |
|---|---|---|---|---|
X-Workspace-Id | header | yes | string (uuid) | The workspace the call acts in. Take it from the workspace list. |
pipelineId | path | yes | string (uuid) | The pipeline's id. |
Responses
204
The pipeline is deleted.
400
A path id is not even syntactically a valid id (not a well-formed UUID) — distinct from 404, which means a well-formed id that simply does not exist.
| Field | Type | Required | Description |
|---|---|---|---|
message | string | yes | |
status | integer | yes | |
errorCode | string | yes | |
timestamp | string (date-time) | no | |
path | string | no | |
details | object | no |
403
The caller lacks the change-pipeline right on a referenced environment.
| Field | Type | Required | Description |
|---|---|---|---|
message | string | yes | |
status | integer | yes | |
errorCode | string | yes | |
timestamp | string (date-time) | no | |
path | string | no | |
details | object | no |
404
There is no such pipeline.
| Field | Type | Required | Description |
|---|---|---|---|
message | string | yes | |
status | integer | yes | |
errorCode | string | yes | |
timestamp | string (date-time) | no | |
path | string | no | |
details | object | no |