For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Dashboard
User GuideDeveloper GuidesAPI Reference
User GuideDeveloper GuidesAPI Reference
    • Overview
  • Runtype API
      • POSTBulk delete records
      • GETList records
      • POSTCreate record
      • GETDiscover record schema
      • GETGet field values
      • POSTPreview record filter
      • GETGet record details
      • PUTUpdate record
      • DELDelete record
      • GETGet record step results
      • GETGet record costs
      • GETGet record results
      • DELDelete record result
      • POSTBulk edit records
      • POSTUpload CSV records
Dashboard
LogoLogo
Runtype APIRecords

Bulk delete records

POST
/v1/records/bulk-delete
POST
/v1/records/bulk-delete
$curl -X POST https://api.runtype.com/v1/records/bulk-delete \
> -H "Authorization: Bearer <token>" \
> -H "Content-Type: application/json" \
> -d '{
> "ids": [
> "rec_8f3b2a1c9d4e7f6a"
> ]
>}'
1{
2 "success": true,
3 "deleted": 1,
4 "deletedIds": [
5 "rec_8f3b2a1c9d4e7f6a"
6 ],
7 "notFoundIds": [
8 "rec_9a7c4d2e5b1f3a8c"
9 ]
10}
Delete multiple records by their IDs.
Was this page helpful?
Previous

List records

Next
Built with

Authentication

AuthorizationBearer
API key or Clerk session token

Request

This endpoint expects an object.
idslist of stringsRequired

Response

Bulk delete result
successboolean
deletedinteger
deletedIdslist of strings
notFoundIdslist of strings

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
500
Internal Server Error