Translation
Bulk-rollback (restore) archived translation keys
Restores multiple archived (soft-deleted) keys in one request. Keys that do not exist or are not archived are silently skipped — the response reports counts. Requires SourceRollback permission on the story's project_type.
Authorization
BearerAuthObject AuthorizationBearer <token>
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
curl -X PUT "https://example.com/api/v2/keys/rollback-bulk" \ -H "Content-Type: application/json" \ -d '{ "sourceIds": [ 28257, 28258, 28259 ], "storyId": 3 }'{ "restored": 5, "skipped": 2}Empty
{ "message": { "error": "Your request was made with invalid credentials." }}{ "message": { "error": "You are not allowed to perform this action." }}