---
title: "Unfavorite a document"
method: DELETE
path: "/v2/favorites/member/{memberId}/file/{inodeId}"
tags: ["Favorites"]
---

# Unfavorite a document

`DELETE /v2/favorites/member/{memberId}/file/{inodeId}`

## Request

- Base URL: `https://api.sigmacomputing.com`
- URL: `https://api.sigmacomputing.com/v2/favorites/member/{memberId}/file/{inodeId}`
- Auth: HTTP bearer

Unfavorite a folder or document for a specific user.

  ### Usage notes
  - Retrieve the **memberId** by calling the [/v2/members](https://help.sigmacomputing.com/reference/list-members) endpoint.
  - Retrieve the **inodeId** by calling the [/v2/files](https://help.sigmacomputing.com/reference/list-files) endpoint and using the **id** included in the response.

## Path parameters

- `memberId` string, required
- `inodeId` string, required

## Response `200`

The response body.

- FavoritesRemoveFavoriteResponse200

---

[API](https://skmtc.dev/sigmacomputing/apis/sigma-rest-api.md) - [All operations](https://skmtc.dev/sigmacomputing/apis/sigma-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/sigmacomputing/apis/sigma-rest-api/revisions/fb6036208c49?raw)
