Delete records from custom dataset

Delete records (rows) from a dataset by passing an array of key-value pair objects representing a record in your dataset.

The following are the examples of HTTP status codes including errors that API can generate

Response codes

Response content

Description

200 OK

{
"RowsDeleted": 0
}

Everything worked correctly.

400 Bad Request

Incorrect value '2016-10-04 00:00:00' for field 'Start Date'. User the date format: 'yyyy-MM-dd HH:mm:ss.S'

Specific case if you specify incorrect date format.

400 Bad Request

Incorrect value 'example_text_value' of field 'Num of Days'

The passed values don’t match the field types specified in the custom dataset.

400 Bad Request

You need to set all field values in when deleting a row

You forgot to pass at least one field with its value in the request body.

403 Forbidden

Access denied

Access to the dataset is denied.

404 Not Found

Object not found

Dataset not found.

🚧

Note

Make sure that the values you are passing match the field types defined for your dataset schema. The number of fields you are passing should also completely match the number of fields in your dataset schema.

If the request you pass does not match any of the records, the system will still return response code 200 (Success).

Language
Credentials
Click Try It! to start a request and see the response here!