Delete

Delete Data

Deletes entries. If you simply want to remove a value from a field, you can use the endpoints for updating an entry and pass null or "" for the value of the field. This endpoint will delete the entire record.

Swagger

Swagger

Params

nameParameter typeData TypeValuesDescription
entryTypeIdpathint or string2011 or companythe entry type you'd like to delete a entry from
idsToDeletebodyArray[integer][13231232,12312321]Entry Ids of the records to delete

Requests

[123,123]

Deleting a single entry

DELETE {{host}}/api/rest/v4/data/entrydata/{{entryTypeId}} HTTP/1.1
Content-Type: application/json
Authorization: {{auth}}
 
[3045228]
 

Response

HTTP/1.1 200 OK
[
  {
    "entryId": 3045228,
    "fieldId": 0,
    "rowId": 3045228,
    "isNoData": false
  }
]

Deleting multiple entries

DELETE {{host}}/api/rest/v4/data/entrydata/{{entryTypeId}} HTTP/1.1
Content-Type: application/json
Authorization: {{auth}}
 
[3045228, 3045229]
 

Response

HTTP/1.1 200 OK
[
  {
    "entryId": 3045228,
    "fieldId": 0,
    "rowId": 3045228,
    "isNoData": false
  },
  {
    "entryId": 3045229,
    "fieldId": 0,
    "rowId": 3045228,
    "isNoData": false
  }
]

Verify Deletion

You can verify deletion by checking the history endpoint. If the entry was deleted, you will see that the entry was modified and isDeleted is true.

HTTP/1.1 200 Ok
[
  {
    "isDeleted": true,
    "id": 3045228,
    "name": "Delete Interaction",
    "entryListId": 2013
  }
]