---
title: "Archive project"
method: DELETE
path: "/v2/teams/{team_id}/projects/{project_id}"
tags: ["v2", "Projects"]
---

# Archive project

`DELETE /v2/teams/{team_id}/projects/{project_id}`

Archive a project. This will unassign all docs and threads from the project.

## Path parameters

- `team_id` union, required
  - string, uuid
  - string
- `project_id` union, required
  - string, uuid
  - string

## Response `200`

Success

- Project
  - `id` union — Project ID
    - string, uuid
    - string
  - `team_id` union, required — Team ID
    - string, uuid
    - string
  - `name` string, required — Project name
  - `description` string, nullable — Optional description
  - `created_by` union, required — User ID who created the project
    - string, uuid
    - string
  - `created_at` string, date-time — Project created at
  - `updated_at` string, date-time — Project updated at
  - `is_archived` boolean — Grave marker for soft deletion
  - `team_wide_permission` 'read' | 'write', nullable — If set, all team members get this permission on docs in the project

## Other responses

- `404` — Not found
- `422` — Validation Error

---

[API](https://skmtc.dev/definite/apis/defapi.md) · [All operations](https://skmtc.dev/definite/apis/defapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/definite/defapi/revisions/3943d8deb3be/schema)
