---
title: "Delete Project"
method: DELETE
path: "/api/v2/deployments/{deploymentId}/projects/{projectId}"
tags: ["ProjectsService"]
---

# Delete Project

`DELETE /api/v2/deployments/{deploymentId}/projects/{projectId}`

Delete a project by its ID. This will delete the project and all of its findings. This action cannot be reversed.

## Path parameters

- `deploymentId` string, required — Your deployment ID.
- `projectId` integer, required — The unique identifier for the project.

## Response `200`

OK

- ProtosProjectsV2DeleteProjectResponse
  - `project` ProtosProjectsV2Project
    - `id` integer — The unique identifier for the project.
    - `name` string — The name of the project. Usually the name of the repository.
    - `createTime` string, date-time — When this project was first set up.
    - `tags` string[] — The tags that have been applied to this project.
    - `latestScanId` integer — The most-recent started scan on this project.
    - `url` string — The URL for this project.
    - `primaryBranchId` string — The ID of the primary branch of the project, if known. Get more details about the branch from [Get Branch](#tag/ProjectsService/operation/ProjectsService_GetBranch).
    - `defaultBranchId` string — The ID of default branch as retrieved from the source code manager. Get more details about the branch from [Get Branch](#tag/ProjectsService/operation/ProjectsService_GetBranch).

---

[API](https://skmtc.net/semgrep/apis/semgrep-web-app.md) · [All operations](https://skmtc.net/semgrep/apis/semgrep-web-app/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/semgrep/semgrep-web-app/versions/6483eeecd582/schema)
