Delete row in compound dataset



I want to delete the first row of a compound dataset. I’m currently using the C API using:

hsize_t start = 0;
hsize_t nrecords = 1;
hid_t status = H5TBdelete_record(dataset, path.c_str(), start, nrecords);

However the row still exists. If I set start to 1 it fails. Am I using H5TBdelete_record correctly?