---
title: "Delete a key"
method: DELETE
path: "/projects/{project_id}/keys/{key_id}"
tags: ["Keys"]
---

# Delete a key

`DELETE /projects/{project_id}/keys/{key_id}`

Deletes a key from the project. Requires *Manage keys* admin right.

**Project Type Compatibility:**
- ✅ **Software projects** (localization_files)
- ✅ **Marketing projects** (content_integration, marketing, marketing_integrations)
- ❌ **Documents projects** (paged_documents) - *Individual key deletion not supported. Keys are managed through file operations.*

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

## Path parameters

- `project_id` string, required
- `key_id` number, required

## Response `200`

OK

- object
  - `project_id` string
  - `key_removed` boolean
  - `keys_locked` integer

## Other responses

- `400` — Bad Request - Action not supported by this project type

---

[API](https://skmtc.net/lokalise/apis/default-projects.md) · [All operations](https://skmtc.net/lokalise/apis/default-projects/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/lokalise/default-projects/versions/7bceba421b12/schema)
