Zum Hauptinhalt springen

Delete Account Logo

DELETE 

/v1/account/logo

Remove the account logo. ADMIN-only, enforced by the shared dependency.

The inline check this replaces sat INSIDE a try whose except Exception answers 404: a missing user row raised AttributeError on user.is_admin and the caller was told the logo did not exist. It denied, but for the wrong reason and with the wrong status. A dependency cannot be swallowed by the handler's own error funnel.

Responses​

Successful Response