I have a SharePoint list on which Target Audience is enabled.
There is a custom list SPFx webpart which shows the list items using the Rest API.
I want to display the content based on the targeted audience in that webpart.
Example: When a user from
Test 365 Group MembersM365 group sees the above custom webpart, then only the targeted content must be displayed (like Item 1, Item 3, Item 5).
Is it possible to achieve the targeted content using Rest API? If yes, kindly help. If not, please suggest alternatives to achieve it in the SPFx webpart.

