---
schema_version: "1"
id: fff88460770ed7757b0667867f7871d1e5dcb208aed16390d551af23ad3006bd
title: Delete a Favorite
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/uiapi/ui_api_resources_favorite_delete.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.uiapi.meta/uiapi/ui_api_resources_favorite_delete.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: e092f60c58167cc898a0346f175145016ec8ebaa491aa5651cb13cd1e18be968
description: Delete a favorite.
---
# Delete a Favorite

Delete a favorite.

Resource

/ui-api/favorites/${favoriteId}

favoriteId—The ID of a favorite.

Available Version

41.0

HTTP Method

DELETE

Response Body

Deleting a record returns a 200 HTTP status code.