command cdb_delete pTable, pRecordIDs, pTarget


This command deletes one or more records from the table.


  • pTable (String) - The name or tableID of the specified table.

  • pRecordIDs (String) - A line delimited string where each line is the cdbRecordID of a record to be deleted in the specified table

  • pTarget (String) - The place to delete the record, either "cloud" or "local".

Additional Requirements

This API call requires internet access in order to delete cloud records.


local tTable, tRecordIDs, tTarget

# Table name: clients
# Keys: firstName, lastName, age, income
# cdbRecordID: 12345678-abcd-1234-cdef-1234567890ab

put "clients" into tTable
put "12345678-abcd-1234-cdef-1234567890ab" into tRecordIDs
put "cloud" into tTarget

cdb_delete tTable,tRecordIDs,tTarget