This endpoint allows you to delete translation keys with its translations. The usage of this endpoint requires authorization.
Endpoint
DELETE
https://api.simplelocalize.io
/api/v1/translation-keys
Sample request
curl
--location
--request DELETE 'https://api.simplelocalize.io/api/v1/translation-keys?key={key}&namespace={namespace}' \
--header 'X-SimpleLocalize-Token: <API_KEY>'
Request fields
key
- translation key,namespace
- translation namespace, if not provided, the empty string will be used.
Bulk delete
You can also delete multiple translation keys at once by providing an array of keys as a request body.
DELETE
https://api.simplelocalize.io
/api/v1/translation-keys
Request body example:
{
"translationKeys": [
{
"key": "HELLO_WORLD",
"namespace": "common"
},
{
"key": "SIGN_IN",
"namespace": ""
}
]
}
Was this helpful?