---
schema_version: "1"
id: 856e6f029ba5de8d932e7fb8c58ddbc5d709a85624d633e2c6d4ea179047d4db
title: Update Usage of a Favorite
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/uiapi/ui_api_resources_favorites_usage_update.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.uiapi.meta/uiapi/ui_api_resources_favorites_usage_update.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: eb3f97931af9d507ea4d8c5d5c886b2541c00069f8439d2031797e4b29d7c6b4
description: Update the usage of an individual favorite. Increments the accessCount and sets the lastAccessDate to the current system time.
---
# Update Usage of a Favorite

Update the usage of an individual favorite. Increments the accessCount and sets the lastAccessDate to the current system time.

Resource

/ui-api/favorites/${favoriteId}/usage

favoriteId—The ID of a favorite.

Available Version

41.0

HTTP Method

PATCH

Response Body

[Favorite](https://developer.salesforce.com/docs/atlas.en-us.uiapi.meta/uiapi/ui_api_responses_favorite.htm#ui_api_responses_favorite "A single favorite.")