Update Language
PUT {{baseUrl}}/languages/:locale
This endpoint allows you to update a specific language by passing the locale
variable in the path parameter.
Scope: metadata.read_write
- Metadata Read & Write
Request Body
{"status"=>"<boolean>", "sort_order"=>"<integer>"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"status":"\u003cnumber\u003e","success":"\u003cboolean\u003e","data":[{"id":"\u003cnumber\u003e","name":"\u003cstring\u003e","status":"disabled","rtl":true,"flag":"\u003cstring\u003e","iso_code":"\u003cstring\u003e","country_code":"\u003cstring\u003e","sort_order":"\u003cstring\u003e"},{"id":"\u003cnumber\u003e","name":"\u003cstring\u003e","status":"enabled","rtl":true,"flag":"\u003cstring\u003e","iso_code":"\u003cstring\u003e","country_code":"\u003cstring\u003e","sort_order":"\u003cstring\u003e"}]}