Skip to main content

Upload Site Favicon

POST /v1/files/site/favicon.png

Uploads or replaces the site favicon using multipart/form-data (field name: "favicon"). This endpoint validates the uploaded file, applies default processing, and stores it under the authenticated tenant. On success, the response is plain text with HTTP status 200 OK. If an error occurs (e.g., no file provided or malformed form data), the response contains a JSON error object.

Request Body

favicon: @file(/Users/mariushabberstad/zaveit/image/fav.jpeg)

Response Example — Success

200 OK

Response Example — Error

{
"message": "Unexpected end of form",
"error": {
"message": "Unexpected end of form",
"status": 500
}
}