delete Document

How to delete a Document in Bonita 6.x?

Hi,

I cannot find any information on how to delete a Document from a process using Bonita 6.x API.

With Bonita 5.x we can do something like this: runtimeAPI.removeAttachment(processInstance.getUUID(), attachment.getName());

Do we have equivalent API in Bonita 6.x?

Thanks,

Notifications