Company logoTrust Center Documentation
API v1 ReferenceBrandFiletype

Upload a brand asset

Uploads a logo, hero banner image, or custom font for the tenant. Files are stored in Directus and returned as public asset URLs.

PUT
/api/v1/brand/{filetype}

Uploads a logo, hero banner image, or custom font for the tenant. Files are stored in Directus and returned as public asset URLs.

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

filetype*string

Type of brand asset to manage. Supports logo, hero banner, and custom font uploads.

Request Body

multipart/form-data

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X PUT "https://example.com/api/v1/brand/logo" \  -F file="string"
{
  "fileId": "hero-file-789",
  "url": "https://directus.example.com/assets/hero-file-789",
  "filename": "hero-banner.jpg"
}
Empty
Empty
Empty
Empty
Empty

How is this guide?