---
title: "Set a company logo (by entity id)"
method: PUT
path: "/api/v1/ackdb/entities/{id}/logo"
tags: ["ackDB"]
---

# Set a company logo (by entity id)

`PUT /api/v1/ackdb/entities/{id}/logo`

## Request

- Base URL: `http://localhost:3009`
- URL: `http://localhost:3009/api/v1/ackdb/entities/{id}/logo`
- Auth: HTTP bearer

Uploads a logo for an existing entity: bytes go to the file store, a pointer is written to the entity row. Body is a base64-encoded image (png/jpeg/gif/webp, <= 2MB decoded). Re-uploading overwrites in place.

## Path parameters

- `id` string, required

## Request body

- AckdbEntityLogoUpload: A base64-encoded company logo image.
  - `contentType` 'image/png' | 'image/jpeg' | 'image/gif' | 'image/webp' | 'image/x-icon' | 'image/vnd.microsoft.icon', required: Image MIME type.
  - `dataBase64` string, required: Base64-encoded image bytes (<= 2MB decoded).
  - `source` string: Optional provenance tag (e.g. "explorium"). Defaults to "api".

## Response `200`

Logo stored.

- object
  - `data` unknown, required

## Other responses

- `400`: Missing/invalid body, unsupported content type, or over the size cap.
- `404`: Entity not found.

---

[API](https://skmtc.dev/floqer/apis/floqer-public-api.md) - [All operations](https://skmtc.dev/floqer/apis/floqer-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/floqer/apis/floqer-public-api/revisions/fce50dc07b20?raw)
