---
title: "Replace Favicon"
method: PUT
path: "/v3/portals/{portalId}/assets/favicon"
tags: ["Assets"]
---

# Replace Favicon

`PUT /v3/portals/{portalId}/assets/favicon`

Replaces the favicon of the portal. The favicon is used in the browser tab of the portal.

## Request body

- ReplacePortalImageAsset, nullable — The image data to upload. Images must be a data URL with binary image data in base 64 format. See https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/Data_URLs.
  - `data` string, uri, required — must be a data URL with base64 image data, e.g., data:image/jpeg;base64,<BASE64_IMAGE_DATA>

## Response `200`

Image asset for the portal. Can be either png, jpeg or svg

- object
  - `data` string, uri, required — must be a data URL with base64 image data, e.g., data:image/jpeg;base64,<BASE64_IMAGE_DATA>

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden

---

[API](https://skmtc.net/kong/apis/konnect-api.md) · [All operations](https://skmtc.net/kong/apis/konnect-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/kong/konnect-api/revisions/06734a9c491f/schema)
