Skip to main content
PATCH
/
v1
/
console
/
tenants
/
{tenant_id}
/
branding
Update Branding
curl --request PATCH \
  --url http://localhost:8000/v1/console/tenants/{tenant_id}/branding \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "logo_url": "<string>",
  "primary_color": "<string>",
  "secondary_color": "<string>",
  "widget_position": "<string>"
}
'
{
  "data": {
    "logo_url": "<string>",
    "primary_color": "<string>",
    "secondary_color": "<string>",
    "widget_position": "<string>"
  },
  "message": "<string>",
  "success": true
}

Authorizations

Authorization
string
header
required

Enter your JWT access token

Path Parameters

tenant_id
string
required

Body

application/json
logo_url
string | null
Maximum string length: 500
primary_color
string | null
Maximum string length: 7
Pattern: ^#[0-9A-Fa-f]{6}$
secondary_color
string | null
Maximum string length: 7
Pattern: ^#[0-9A-Fa-f]{6}$
widget_position
string | null
Pattern: ^(bottom-right|bottom-left|top-right|top-left)$

Response

Successful Response

data
BrandingResponse · object
message
string | null
success
boolean
default:true