Translation
此页面暂无中文版本,显示的是英文版本。
Copy a tenant's manual translations into platform default translations
Authorization
BearerAuthObject AuthorizationBearer <token>
Machine tokens only: a personal API token or a product robot token (POST /api/v2/products/{uid}/robot-tokens). A session JWT here is 401 — the web app uses the b2t_access cookie.
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://example.com/api/v2/default-translations/copy-tenant-translations/apply" \ -H "Content-Type: application/json" \ -d '{ "projectTypeId": 1, "tenantId": "11111111-1111-1111-1111-111111111111", "languageId": 2 }'{ "created": 100, "overwritten": 20, "skipped": 0}Empty
Empty
Empty
Empty
Empty