Company logoTrust Center Documentation
API v1 ReferenceTrusted byIdBadge

Upload Trusted By badge

Upload a logo image for the specified Trusted By entry. Supports PNG, JPEG, GIF, SVG, and WebP files up to 2 MB. Uploaded files are stored in the…

PUT
/api/v1/trusted-by/{id}/badge

Upload a logo image for the specified Trusted By entry. Supports PNG, JPEG, GIF, SVG, and WebP files up to 2 MB. Uploaded files are stored in the tenant's public brand assets folder.

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

id*string

Trusted By ID

Request Body

multipart/form-data

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X PUT "https://example.com/api/v1/trusted-by/string/badge" \  -F file="string"
{  "success": true,  "data": {    "fileId": "f9a1b2c3-d4e5-6789-0abc-def123456789",    "url": "https://directus.example.com/assets/f9a1b2c3-d4e5-6789-0abc-def123456789"  }}

How is this guide?