How to delete data older than 1 month in mutable buckets

How to delete data older than 1 month in mutable buckets

Hi, I just want to make sure to do the right thing,

Is this the way how to delete data that is older than 1 month?
  1. const start_date = dayjs().subtract(plan_data_retention, "month").toISOString();
    await device.deleteData({ variables, qty, start_date }).then(console.log).catch(console.log);
Any suggestions and or corrections are appreciated.

Thanks.
Vincent