Keys

Delete a key

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.

delete/projects/{project_id}/keys/{key_id}

Request

  • Base URL
    https://api.lokalise.com/api2
  • URL
    https://api.lokalise.com/api2/projects/{project_id}/keys/{key_id}
  • Auth
    API key in header X-Api-Token

Path parameters

project_idstring required

A unique project identifier

key_idnumber required

A unique identifier of the key.

Response

OK

project_idstring
key_removedboolean
keys_lockedinteger

Changes

No recorded changes to this operation across all 2 revisions of this API.