function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Michael MMichael M 

Connected app-- limit access to only certain records

Hello, we want to create a connected app to allow api access to our Salesforce org. However we only want to be able to give the connected app access to very specific records (e.g. where the accountid = a specific account id). Is that possible?
Best Answer chosen by Michael M
VinayVinay (Salesforce Developers) 
Hi Michael,

As per my understanding,  We cannot restrict access to certain records using connected app.  However you can restrict cccess to APIs check below reference.

https://help.salesforce.com/articleView?id=sf.security_api_access_control_all_users.htm&type=5

Hope above information was helpful.

Please mark as Best Answer so that it can help others in the future.

Thanks,

All Answers

VinayVinay (Salesforce Developers) 
Hi Michael,

As per my understanding,  We cannot restrict access to certain records using connected app.  However you can restrict cccess to APIs check below reference.

https://help.salesforce.com/articleView?id=sf.security_api_access_control_all_users.htm&type=5

Hope above information was helpful.

Please mark as Best Answer so that it can help others in the future.

Thanks,
This was selected as the best answer
Michael MMichael M
Vinay, Thank you