Superadmin APIs/Configuration & Settings
Update Localization Settings
PATCH
/superadmin/localizationBearer token required
SUPERADMINContent-Type:
application/jsonRequest Example
JSON
{
"language": "en",
"layoutDirection": "LTR",
"dateFormat": "DD/MM/YYYY",
"use24Hour": true,
"theme": "DARK",
"timezoneOffset": "+05:30",
"units": "KM",
"defaultLat": 28.6139,
"defaultLon": 77.209,
"mapZoom": 12
}Code Examples
curl -X PATCH 'https://<your-domain>:3001/superadmin/localization' \
-H 'Authorization: Bearer <token>' \
-H 'Content-Type: application/json' \
-d '{
"language": "en",
"layoutDirection": "LTR",
"dateFormat": "DD/MM/YYYY",
"use24Hour": true,
"theme": "DARK",
"timezoneOffset": "+05:30",
"units": "KM",
"defaultLat": 28.6139,
"defaultLon": 77.209,
"mapZoom": 12
}'