curl -X PATCH "https://api-integration.ollang.com/integration/memories/507f1f77bcf86cd799439011" \
-H "X-Api-Key: <your-api-key>" \
-H "Content-Type: application/json" \
-d '{
"title": "Product documentation EN→FR (v2)"
}'
const memoryId = "507f1f77bcf86cd799439011";
const response = await fetch(
`https://api-integration.ollang.com/integration/memories/${memoryId}`,
{
method: "PATCH",
headers: {
"X-Api-Key": "<your-api-key>",
"Content-Type": "application/json",
},
body: JSON.stringify({
title: "Product documentation EN→FR (v2)",
}),
}
);
const memory = await response.json();
import requests
memory_id = "507f1f77bcf86cd799439011"
data = {"title": "Product documentation EN→FR (v2)"}
headers = {
"X-Api-Key": "<your-api-key>",
"Content-Type": "application/json",
}
response = requests.patch(
f"https://api-integration.ollang.com/integration/memories/{memory_id}",
json=data,
headers=headers,
)
memory = response.json()
{
"id": "507f1f77bcf86cd799439011",
"title": "Product documentation EN→FR (v2)",
"memoryItemsCount": 12480,
"createdAt": "2023-10-05T12:34:56.789Z",
"updatedAt": "2026-08-11T09:15:00.000Z"
}
{
"statusCode": 404,
"message": "Memory not found"
}
{
"error": "Unauthorized",
"message": "Invalid or missing API key"
}
Ollang API Reference
Update Memory
Rename a translation memory
PATCH
/
integration
/
memories
/
{memoryId}
curl -X PATCH "https://api-integration.ollang.com/integration/memories/507f1f77bcf86cd799439011" \
-H "X-Api-Key: <your-api-key>" \
-H "Content-Type: application/json" \
-d '{
"title": "Product documentation EN→FR (v2)"
}'
const memoryId = "507f1f77bcf86cd799439011";
const response = await fetch(
`https://api-integration.ollang.com/integration/memories/${memoryId}`,
{
method: "PATCH",
headers: {
"X-Api-Key": "<your-api-key>",
"Content-Type": "application/json",
},
body: JSON.stringify({
title: "Product documentation EN→FR (v2)",
}),
}
);
const memory = await response.json();
import requests
memory_id = "507f1f77bcf86cd799439011"
data = {"title": "Product documentation EN→FR (v2)"}
headers = {
"X-Api-Key": "<your-api-key>",
"Content-Type": "application/json",
}
response = requests.patch(
f"https://api-integration.ollang.com/integration/memories/{memory_id}",
json=data,
headers=headers,
)
memory = response.json()
{
"id": "507f1f77bcf86cd799439011",
"title": "Product documentation EN→FR (v2)",
"memoryItemsCount": 12480,
"createdAt": "2023-10-05T12:34:56.789Z",
"updatedAt": "2026-08-11T09:15:00.000Z"
}
{
"statusCode": 404,
"message": "Memory not found"
}
{
"error": "Unauthorized",
"message": "Invalid or missing API key"
}
Rename a translation memory. The stored translation units are not affected.
curl -X PATCH "https://api-integration.ollang.com/integration/memories/507f1f77bcf86cd799439011" \
-H "X-Api-Key: <your-api-key>" \
-H "Content-Type: application/json" \
-d '{
"title": "Product documentation EN→FR (v2)"
}'
const memoryId = "507f1f77bcf86cd799439011";
const response = await fetch(
`https://api-integration.ollang.com/integration/memories/${memoryId}`,
{
method: "PATCH",
headers: {
"X-Api-Key": "<your-api-key>",
"Content-Type": "application/json",
},
body: JSON.stringify({
title: "Product documentation EN→FR (v2)",
}),
}
);
const memory = await response.json();
import requests
memory_id = "507f1f77bcf86cd799439011"
data = {"title": "Product documentation EN→FR (v2)"}
headers = {
"X-Api-Key": "<your-api-key>",
"Content-Type": "application/json",
}
response = requests.patch(
f"https://api-integration.ollang.com/integration/memories/{memory_id}",
json=data,
headers=headers,
)
memory = response.json()
Authorizations
This endpoint requires API key authentication.- Header name:
X-Api-Key - Header value: Your API key from the Ollang dashboard
Path Parameters
string
required
The translation memory’s unique identifier.
Body Parameters
string
required
New human-readable name of the translation memory.
Response
Returns the updated translation memory object.{
"id": "507f1f77bcf86cd799439011",
"title": "Product documentation EN→FR (v2)",
"memoryItemsCount": 12480,
"createdAt": "2023-10-05T12:34:56.789Z",
"updatedAt": "2026-08-11T09:15:00.000Z"
}
{
"statusCode": 404,
"message": "Memory not found"
}
{
"error": "Unauthorized",
"message": "Invalid or missing API key"
}
Was this page helpful?
⌘I