Superadmin APIs/Configuration & Settings
Update White Label Settings
PATCH
/superadmin/whitelabelBearer token required
SUPERADMINContent-Type:
application/jsonRequest Example
JSON
{
"customDomain": "app.fleet.co",
"logoLightUrl": "https://cdn.fleet.co/logo-light.png",
"logoDarkUrl": "https://cdn.fleet.co/logo-dark.png",
"faviconUrl": "https://cdn.fleet.co/favicon.ico",
"primaryColor": "#1E40AF"
}Code Examples
curl -X PATCH 'https://<your-domain>:3001/superadmin/whitelabel' \
-H 'Authorization: Bearer <token>' \
-H 'Content-Type: application/json' \
-d '{
"customDomain": "app.fleet.co",
"logoLightUrl": "https://cdn.fleet.co/logo-light.png",
"logoDarkUrl": "https://cdn.fleet.co/logo-dark.png",
"faviconUrl": "https://cdn.fleet.co/favicon.ico",
"primaryColor": "#1E40AF"
}'Notes
- Also supports multipart/form-data for file uploads.