Keys

Delete a key

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

Project Type Compatibility:

  • ✅ Software projects (localization_files) - Only project type that supports branching and individual key operations
  • ❌ Documents projects (paged_documents) - Branching not supported
  • ❌ Marketing projects (content_integration, marketing, marketing_integrations) - Branching not supported

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

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

Request

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

Path parameters

project_idstring required

A unique project identifier

branchstring required

Branch name

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 1 revision of this API.