Erase translation data in a single locale
DELETE https://localise.biz/api/translations/{id}/{locale}
Erases translation data of a localized asset in the currently authenticated project.
Warning: Erasing is not the same as setting an empty translation. This operation clears the asset's translation history and user comments for the given locale.
URI parameters
id
|
Asset ID |
string | required |
locale
|
Locale short code, or language tag |
string | required |
key
|
API key - required if not sent in Authorization header |
string | optional |
Request headers
Authorization
|
API key sent as |
string | required if not in query |
Response
A single JSON-encoded Success
object, which takes the following form:
{
"status": 0, // HTTP status 2xx code
"message": "", // Descriptive success message
}