Skip to content

deleteApexLogsViaBulkApi

deleteApexLogsViaBulkApi(connection, logIds, pollTimeout): Promise<ApexLogsPurgeResult[]>

Defined in: packages/simply-apex-core/src/apexLogsPurge.ts:107

Deletes ApexLog records through a Bulk API v2 ingest job. The whole set goes up as one job rather than in 200-record chunks, and the org processes it asynchronously without spending REST request limit.

Connection

string[]

number

Promise<ApexLogsPurgeResult[]>