---
title: "Empty a project"
method: PUT
path: "/projects/{project_id}:{branch}/empty"
tags: ["Projects"]
---

# Empty a project

`PUT /projects/{project_id}:{branch}/empty`

## Request

- Base URL: `https://api.lokalise.com/api2`
- URL: `https://api.lokalise.com/api2/projects/{project_id}:{branch}/empty`
- Auth: API key in header `X-Api-Token`

Deletes all keys and translations from the project. Requires *Manage settings* admin right.

Requires <code>write_projects</code> OAuth access scope.

## Path parameters

- `project_id` string, required
- `branch` string, required

## Response `200`

OK

- object
  - `project_id` string
  - `keys_deleted` boolean

---

[API](https://skmtc.dev/lokalise/apis/projects-with-branches.md) - [All operations](https://skmtc.dev/lokalise/apis/projects-with-branches/llms.txt) - [OpenAPI document](https://skmtc.dev/lokalise/apis/projects-with-branches/revisions/7ed3f978a361?raw)
