v1
latestOpenAPI 3.1.02026-08-04164270844.7 KBPaths
Replace all translations for a path
🔑
Required OAuth scope: paths:write.
Replaces all translations in the given path with the provided ones. Translations not included are removed.
put/api/v2/paths/{pathId}/translations
Path parameters
pathIdstring ObjectId required
Example:507f1f77bcf86cd799439011
The unique ID of the path.
Headers
360-api-version'v2.0' required
The version of the API.
Request body
Example request
{
"translations": [
{
"lang": "fr",
"translatorIds": [
"507f1f77bcf86cd799439011"
],
"translatedFields": {
"name": "Accueil des employés",
"description": "Ce chemin vous apprend à intégrer un nouveau collaborateur !"
}
}
]
}Response
Returns the updated path translations.
Example response
[
{
"lang": "fr",
"translatorIds": [
"507f1f77bcf86cd799439011"
],
"translatedFields": {
"name": "Accueil des employés",
"description": "Ce chemin vous apprend à intégrer un nouveau collaborateur !"
}
}
]