Activate/Deactivate Language

POST {{baseUrl}}/languages

This endpoint allows you to activate or deactivate a specific language using the locales object in the body request.

OAuth Scopes


metadata.read_write

Request Body

{"locales"=>[{"iso_code"=>"fr", "sort_order"=>"1"}]}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: OK

{"status":200,"success":true,"data":[{"id":1,"name":"العربية","status":"enabled","rtl":true,"flag":"https://i.ibb.co/jyqRQfQ/avatar-male.webp","iso_code":"ar","country_code":"sa"}]}