Remove Sample permanently and change Sample ID

How can I remove sample permanently? And can I change Sample ID?


I have achived from :
select AnalysisRequest and then Remove

Please note, that this only removes the sample from the catalog.
Physically, it is still in the database, which you can verify by browsing to the path /senaite/clients/client-12/24110K0001.

If you want to remove it permanently, you have to write an upgrade step to remove it with code, e.g. with the function senaite.core.upgrade.utils.delete_object.

Also see here:

1 Like