PATCH
/
v0
/
project
/
favorites
/
{id}
curl --request PATCH \
  --url 'https://api.unify.ai/v0/project/favorites/<id>' \
  --header "Authorization: Bearer $UNIFY_KEY"
  --header 'Content-Type: application/json' \
  --data '{}'
{
    "id": 1,
    "project": "my-project",
    "icon": "updated-icon",
    "position": 2
}

Updates a specific favorite project.

Only the provided fields will be updated.

Authorizations

Authorization
string
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
integer
required

The ID of the favorite to update

Body

icon
string | null

Icon identifier for the favorite project

position
integer | null

Position of the project in the favorites list

curl --request PATCH \
  --url 'https://api.unify.ai/v0/project/favorites/<id>' \
  --header "Authorization: Bearer $UNIFY_KEY"
  --header 'Content-Type: application/json' \
  --data '{}'
{
    "id": 1,
    "project": "my-project",
    "icon": "updated-icon",
    "position": 2
}