---
title: "Star a resource"
method: POST
path: "/user/favorites"
tags: ["User"]
---

# Star a resource

`POST /user/favorites`

## Request body

- InternalHandlerAddFavoriteRequest
  - `id` string
  - `type` string

## Response `200`

OK

## Changes

- **2026-05-21** `2a10056aff5c` — 1 info
  - endpoint added
- **2025-12-16** `edf61e68559d` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/tencentblueking/apis/weknora-api/changes/user/favorites/post.md)

---

[API](https://skmtc.dev/tencentblueking/apis/weknora-api.md) · [All operations](https://skmtc.dev/tencentblueking/apis/weknora-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/tencentblueking/weknora-api/revisions/a5ce73ad8921/schema)
