---
title: "DELETE /v1/console/model-square/favorites/{modelId}"
method: DELETE
path: "/v1/console/model-square/favorites/{modelId}"
tags: ["ConsoleModelSquareService"]
---

# DELETE /v1/console/model-square/favorites/{modelId}

`DELETE /v1/console/model-square/favorites/{modelId}`

RemoveFavorite 取消收藏（软删，幂等）。
 RemoveFavorite removes a favorite (soft delete, idempotent).

## Path parameters

- `modelId` integer, required

## Response `200`

OK

- ModelsquareV1RemoveFavoriteReply — RemoveFavoriteReply 取消收藏响应。/ RemoveFavoriteReply is the remove-favorite reply.
  - `cancelled` boolean
  - `cancelledAt` string, date-time
  - `favoriteCount` integer
  - `favorited` boolean
  - `modelId` integer

---

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