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
Ad.baylesAd.bayles 

Is there a method to limit the number of api calls a user can make daily ?

Everything is in the question :-)

I try to find a way to limit the cunsomption of the SF API by a user in my org. Does such a method exist in Apex ?

Best Answer chosen by Admin (Salesforce Developers) 
sfdcfoxsfdcfox

No, you can't restrict a user's total API call usage. You can disable the API altogether, or allow them to make as many calls as they wish (up to the organization's limit of API calls daily).

All Answers

sfdcfoxsfdcfox

No, you can't restrict a user's total API call usage. You can disable the API altogether, or allow them to make as many calls as they wish (up to the organization's limit of API calls daily).

This was selected as the best answer
Ad.baylesAd.bayles
Thanks sfdcfox ;)