---
title: "Delete Logo Endpoint"
method: DELETE
path: "/deleteLogo"
---

# Delete Logo Endpoint

`DELETE /deleteLogo`

Delete brands, and the brand tags on their photos.

Body, either shape:
    [logoId, ...]                                     -> legacy, means scope="all"
    {"logoIds": [...], "scope": "all"|"project",
     "projectId": <int, required when scope="project">}

scope="project" removes the brand from that ONE project: the tags on its photos, that
project's folder, and the project from the brand's membership. The brand survives elsewhere.
scope="all" removes the brand outright, everywhere.

Deleting the tags is deliberate and unrecoverable — see delete_brand_scoped. The client is
expected to have shown brand_deletion_impact() first, which is what /brandDeletionImpact is
for; this endpoint does not assume it and simply does what it is told.

## Request body

- unknown

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/pavoot/apis/fastapi.md) · [All operations](https://skmtc.dev/pavoot/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/pavoot/fastapi/revisions/16997cca6697/schema)
