---
title: "Update Favorite"
method: PATCH
path: "/v0/project/favorites/{id}"
tags: ["Projects"]
---

# Update Favorite

`PATCH /v0/project/favorites/{id}`

Updates a specific favorite project.

Only the provided fields will be updated.

## Path parameters

- `id` integer, required — The ID of the favorite to update

## Request body

- FavoriteProjectUpdate — Request model for updating a favorite project.
  - `position` integer, nullable — Position of the project in the favorites list

## Response `200`

Favorite updated successfully

- FavoriteProjectOut — Response model for favorite project data.
  - `project_name` string, required — The name of the project to favorite
  - `position` integer, required — Position of the project in the favorites list
  - `id` integer, required — Unique identifier for the favorite project

## Other responses

- `404` — Favorite not found
- `422` — Validation Error

---

[API](https://skmtc.net/unify/apis/unifyai-http-api-reference.md) · [All operations](https://skmtc.net/unify/apis/unifyai-http-api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/unify/unifyai-http-api-reference/versions/900377f918b6/schema)
