To delete data that has been archived from your Aidbox database you can make /execution/aidbox.archive/prune-archived-data request. You also can make this automatically with pruneArchivedData parameter of create-archive request.
prune-archived-data properties:
Properties
Required
Description
archiveId
archiveId property of succeeded create-archive response if it archived at least 1 row.
POST /execution/aidbox.archive/prune-archived-data
accept: text/yaml
content-type: text/yaml
archiveId: ace351aa-ad5a-44a7-8314-532628e7d9ae