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
SHAILESH KISHORESHAILESH KISHORE 

ApexLog delete from developer console count as API limit for Org?

Hi All,

I am new to SF and  having some issue in API level. I am having 12k + System logs in developer console and i am querying Apexlog and selecting 2K records at a time and deleting it. But my Org API limits are increasing at same time. Just want to know that deleting the logs counts as API call for my org or any other things can affect?

Thanks in Advance. 

Somya TiwariSomya Tiwari

You can use Workbench to delete the ApexDebug Logs. You will first need to query the debug logs, and get a Excel Sheet of the IDs of Debug Logs.

Then you will need to Bulk delete the same via Workbench,

SHAILESH KISHORESHAILESH KISHORE
Thanks Somya, but my question is does deleting logs manually in chunks of 2k counts as API limit or not ?
AbhishekAbhishek (Salesforce Developers) 
Hi Kishore,

It will not count in API Limits.

Kindly let me know if it helps you and close your query by marking it as solved so that it can help others in the future. It will help to keep this community clean.

Regards,
Salesforce Support.