
Knowledge Base
Articles In This Section
How to Set Up a API_DoQuery in QuickbaseAPI EditRecord | ADVANCEDHow to Use API_CopyMasterDetail in Quickbase to Copy Parent and Child RecordsHow to use API ImportFromCSV in QuickbaseHow to Utilize API AddRecord in Quickbase (Guide)Sections
API_PurgeRecords is a Quickbase API function that allows you to delete multiple records at once. This can include:
Before using API_PurgeRecords, consider safer alternatives:
Deleting data is permanent and irreversible, so use this API cautiously.
You might use this API when:

qid (Recommended)Targets a saved report with predefined filters.
Example:
https://quandarycg.com/db/tasks_table?a=API_PurgeRecords&qid=45
Best for:
Avoid using qname — report names can change and break your API.
queryAllows dynamic filtering based on field values.
Example: Delete all tasks for a specific project
query={'99'.EX.'150'}
Full URL:
https://quandarycg.com/db/tasks_table?a=API_PurgeRecords&query={'99'.EX.'150'}
Use case:
"https://quandarycg.com/db/tasks_table?a=API_PurgeRecords&query={'99'.EX.'" & [Record ID#] & "'}"
Automatically targets the current record context
qidqueryAll records in the table may be deleted permanently.
Use the API_PurgeRecords endpoint with either a qid (saved report) or a query parameter to define which records to delete.
It is safe only when properly tested. Always validate your query or report before running it in production, as deletions are permanent.
Instead of deleting, it’s recommended to:
API_PurgeRecords is powerful but risky. Always make to sure to:
Resources


© 2026 Quandary Consulting Group. All Rights Reserved.
Privacy Policy