Update a Batch of Favorites

PUT {{_endpoint}}/services/data/v{{version}}/ui-api/favorites/batch

Update all favorites at once. The sort order is updated to the given relative ordering. Any favorites missing from the request body are deleted.

Request Body

{"favorites"=>[{"id"=>"0MVR00000004DhnOAE", "name"=>"Q4 Perf"}]}

RESPONSES

status: OK

{"favorites":[{"accessCount":1,"iconColor":"5867E8","iconUrl":"https://pozil-dev-ed.my.salesforce.com/img/icon/t4v35/standard/account_120.png","id":"0MV4H0000004qIeWAI","lastAccessDate":"2023-10-06T10:03:32.000Z","name":"RenamedAllAcountsListView","objectType":"Account","sortOrder":1,"subtitle":"Accounts","target":"00B58000002ssinEAA","targetType":"ListView"}]}