---
title: "Delete pipeline definition"
method: DELETE
path: "/projects/{project_id}/pipeline-definitions/{pipeline_definition_id}"
tags: ["Pipeline Definition"]
---

# Delete pipeline definition

`DELETE /projects/{project_id}/pipeline-definitions/{pipeline_definition_id}`

Delete pipeline definition. Currently only supported for pipeline definitions where `config_source.provider` is `github_app`, `github_server`, or `bitbucket_dc`. [Share feedback](https://circleci.canny.io/cloud-feature-requests/p/project-administration-apis) about our Project Administration APIs.

## Path parameters

- `project_id` string, required
- `pipeline_definition_id` string, required

## Response `200`

Successful response.

- PipelineDefinitionDeleted
  - `message` string — Response message

## Other responses

- `400` — Unexpected request body provided.
- `401` — Credentials provided are invalid.
- `404` — Entity not found.
- `500` — Internal server error.

---

[API](https://skmtc.net/circleci/apis/api-v2.md) · [All operations](https://skmtc.net/circleci/apis/api-v2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/circleci/api-v2/revisions/b9c0e0c24058/schema)
