Skip to main content
POST
/
v1
/
tenants
/
{tenant_id}
/
branding
/
logo
Upload Tenant Logo
curl --request POST \
  --url http://localhost:8000/v1/tenants/{tenant_id}/branding/logo \
  --header 'Content-Type: multipart/form-data' \
  --form file='@example-file' \
  --form logo_type=logo
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "name": "<string>",
  "settings": {
    "language": "en",
    "description": "<string>",
    "timezone": "<string>"
  },
  "idp_config": {},
  "branding": {
    "brand_name": "<string>",
    "brand_color": "<string>",
    "logo_url": "<string>",
    "logo_dark_url": "<string>",
    "favicon_url": "<string>",
    "theme_overrides": {}
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.knowledgestack.ai/llms.txt

Use this file to discover all available pages before exploring further.

Headers

authorization
string | null

Path Parameters

tenant_id
string<uuid>
required

Cookies

ks_uat
string | null

Body

multipart/form-data
file
file
required
logo_type
enum<string>
default:logo

Types of branding logos that can be uploaded.

Available options:
logo,
logo_dark,
favicon

Response

Successful Response

Tenant response model.

id
string<uuid>
required

Tenant ID

name
string
required

Tenant name

settings
TenantSettingsResponse · object
required

User-configurable tenant settings

idp_config
Idp Config · object

External IdP configuration

branding
TenantBrandingResponse · object

Resolved branding (colors, logo URLs, theme overrides)