Translation
Diese Seite ist nicht auf Deutsch verfügbar. Die englische Version wird angezeigt.
Rename a source key
Renames a source key within a project type. For non-production stories the key must not exist in any other story (checked against the product default language). Increments keys_version for all languages on success.
Authorization
BearerAuthObject AuthorizationBearer <token>
In: header
Path Parameters
sourceId*integer
Source (key) identifier
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X PATCH "https://example.com/api/v2/keys/42/rename" \ -H "Content-Type: application/json" \ -d '{ "name": "Auth.Login.NewTitle", "storyId": 1 }'{ "id": 42, "name": "Auth.Login.NewTitle"}Empty
Empty
Empty
Empty