Delete a translation memory
curl --request DELETE \
--url https://api.deepl.com/v3/translation_memories/{translation_memory_id} \
--header 'Authorization: <api-key>'{
"message": "<string>",
"code": "invalid_content_type"
}{
"message": "<string>",
"code": "invalid_content_type"
}{
"message": "<string>",
"code": "invalid_content_type"
}{
"message": "<string>",
"code": "invalid_content_type"
}{
"message": "<string>",
"code": "invalid_content_type"
}Translation Memory
Delete a translation memory
Learn how to permanently delete a translation memory and all of its segments.
DELETE
/
v3
/
translation_memories
/
{translation_memory_id}
Delete a translation memory
curl --request DELETE \
--url https://api.deepl.com/v3/translation_memories/{translation_memory_id} \
--header 'Authorization: <api-key>'{
"message": "<string>",
"code": "invalid_content_type"
}{
"message": "<string>",
"code": "invalid_content_type"
}{
"message": "<string>",
"code": "invalid_content_type"
}{
"message": "<string>",
"code": "invalid_content_type"
}{
"message": "<string>",
"code": "invalid_content_type"
}Deletion is permanent and removes every segment in the translation memory. There is no recovery step and no trash to restore from. Export the translation memory first if you need a copy.
A successful delete returns
Translation requests that pass a deleted
translation_memory_id fail. Update your integration to stop referencing the ID before you delete it, not after.204 No Content with an empty body, so check the status code rather than trying to parse a response.Authorizations
Authentication with Authorization header and DeepL-Auth-Key authentication scheme. Example: DeepL-Auth-Key <api-key>
Path Parameters
The ID of the translation memory to delete. A unique ID assigned to a translation memory.
Example:
"a74d88fb-ed2a-4943-a664-a4512398b994"
Response
The translation memory was deleted. The response has no body.