---
title: "Favorite/unfavorite a library item (app or dashboard) for the calling member.  Per-member, per-org; favorited=false hard-deletes the row. Covers both primitives  since the merged library page pins apps and dashboards through one client."
method: POST
path: "/textql.rpc.public.app.AppService/SetFavorite"
tags: ["AppService"]
---

# Favorite/unfavorite a library item (app or dashboard) for the calling member.  Per-member, per-org; favorited=false hard-deletes the row. Covers both primitives  since the merged library page pins apps and dashboards through one client.

`POST /textql.rpc.public.app.AppService/SetFavorite`

Favorite/unfavorite a library item (app or dashboard) for the calling member.
 Per-member, per-org; favorited=false hard-deletes the row. Covers both primitives
 since the merged library page pins apps and dashboards through one client.

## Headers

- `Connect-Protocol-Version` 1, required — Define the version of the Connect protocol
- `Connect-Timeout-Ms` number — Define the timeout, in ms

## Request body

- TextqlRpcPublicAppSetFavoriteRequest
  - `primitiveType` string — optional; empty = current default vendor set
  - `primitiveId` string — optional; empty = default indigo #6366f1
  - `favorited` boolean

## Response `200`

Success

- TextqlRpcPublicAppSetFavoriteResponse
  - `favorited` boolean — signed /asset/apptree viewer URL for the published gallery tree

## Other responses

- `default` — Error

---

[API](https://skmtc.net/textql/apis/textql-rpc-platform.md) · [All operations](https://skmtc.net/textql/apis/textql-rpc-platform/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/textql/textql-rpc-platform/revisions/31ce2b0c4427/schema)
