Deleting records

From DreamFactory
Jump to: navigation, search
DreamFactoryTutorialsDeleting records
      1. Tutorial

DELETE multiple records to a SQL or NoSQL database. Try these examples in the 'API Docs' tab of the DreamFactory Admin Console or from the command line with cURL.

      1. API Endpoint
DELETE https://{url}/api/v2/{api_name}/_table/{table_name}
      1. API Docs Screenshot

Swagger-delete-records.png

      1. Example - DELETE multiple contact records
  • Table name: contact
  • Body parameter in API call:
    {
"resource": [ { "id": 107 }, { "id": 108 } ] }
  • Request URL:
    https://foo.com/api/v2/db/_table/contact