Update a language object

PATCH {{baseUrl}}/api/languages/:id

Update langauge object name

Request Params

KeyDatatypeRequiredDescription
fieldsnullComma-separated, top-level field whitelist that allows the client to selectively retrieve part of the response model. If specified, extra filtering is applied, and for top-level object (if root model is an array, each array element), only the listed fields are kept in the response. For example, "id,elements" keeps only the "id" field and whole "elements" array field, omitting all other fields in the top-level response model.

Request Body

{"operationList"=>[{"op"=>"replace", "path"=>"/name", "value"=>"Spanish renamed"}]}

HEADERS

KeyDatatypeRequiredDescription
X-MSTR-AuthTokenstring(Required) Authorization token

RESPONSES

status: OK

{"name":"Spanish renamed","id":"00000C0A4F95EF3956E52781700C1E7A","baseLangLcid":0,"lcid":3082,"owner":{"id":"54F3D26011D2896560009A8E67019608","name":"Administrator"},"lastModified":"2022-10-24T11:52:02+0000","acg":255}