Classic APIs
ClassicCatalogApi
authedUserRemoveAssetFavorite

authedUserRemoveAssetFavorite

Removes the authenticated users favorite for a specific asset.

Parameters

NameTypeDescription
userIdIdentifierThe ID of the authenticated user.
assetIdIdentifierThe ID of the asset to unfavorite.

Example

const { data: success } = await ClassicCatalogApi.authedUserRemoveAssetFavorite({
  userId: 45348281,
  assetId: 2608539495,
}); 

Endpoint

DELETE /v1/favorites/users/{userId}/assets/{assetId}/favorite