Update brand
UpdateBrand¶
Description: Updates the branding configuration used across the platform, including dark/light logos, favicon, terminal and CRM host URLs, brand name, status, and creation timestamp.
Access Control¶
🛡️ Admin Access Required
Request Parameters¶
| Name | Type | Required | Description |
|---|---|---|---|
| brand | string | Yes | Brand name (1–64 characters) |
| dark_logo | string | Yes | Path or URL to the dark logo (1–128 chars) |
| light_logo | string | Yes | Path or URL to the light logo (1–128 chars) |
| favicon | string | Yes | Path or URL to the favicon (1–128 chars) |
| terminal_host | string | Yes | Host URL for terminal access |
| crm_host | string | Yes | Host URL for CRM |
| status | int | Yes | Status flag (e.g., 1 for active, 0 for off) |
| create_time | int | Yes | Unix timestamp of brand creation |
Request Example¶
{
"brand": "IonMarkets",
"dark_logo": "/images/ion-dark.svg",
"light_logo": "/images/ion-light.svg",
"favicon": "/images/favicon.ico",
"terminal_host": "terminal.ionmarkets.com",
"crm_host": "crm.ionmarkets.com",
"status": 1,
"create_time": 1698662400
}
Response Example¶
{
"data": "OK"
}
Error Example¶
{
"error": "BRAND_UPDATE_ERROR",
"message": "Could not update brand record"
}