API: Delete translation keys

Last modified: March 28, 2021Author: Jakub Pomykała

This endpoint allows you deleting translation keys. The usage of this endpoint requires authorization.

Endpoint is available only in paid plans.

DELETE Endpoint

https://api.simplelocalize.io/api/v1/translations

Example cURL

curl 
    --location 
    --request DELETE 'https://api.simplelocalize.io/api/v1/translations' \
    --header 'X-SimpleLocalize-Token: <API_KEY>' \
    --header 'Content-Type: application/json' \
    --data-raw '{
        "content": [
            {
                "key": "EXAMPLE_KEY"
            }
        ]
    }'

Request fields

  • key - unique translation key for a project

Example response

{
  "msg": "OK",
  "status": 200,
  "data": {
    "deletedTranslations": 2
  }
}

Response fields

  • deletedTranslations - informs about deleted translation keys