| How To Use The Rest API End Point - Delete Records
   Use this end-point to delete records in your database. Only 1 record at a time can be posted in the
  request.
    DELETE Type End-Point/api/v1/collect/data/{record}/{rowid}
   Example  The below code will delete the  Debtor with rowid 123. At present, only one record at a time can
  be deleted.
 /api/v1/collect/data/debtor/123
Response Body  The response will include a status value. 200 is good. Everything else is a failure. If the response
  is good, then the response will include the Data Type information.
 {
  "type": {
    "recId": "string",
    "rowId": "string"
  }
}
    
      | Code | Description |  
      | recId | This is the table name in the database. |  
      | rowId | This is the column name for the unique identifier for this table. |     Example{
  "type": {
    "recId": "debtor",
    "rowId": "de_rowid"
  }
}
 
 | 
Was this page helpful? Do you have any comments on this document? Can we make it better? If so how may we improve this page.
Please click this link to send us your comments: helpinfo@collect.org