API call delete content_view_versions does not free up disk space

If I delete content view version via GUI the disk space is freed up (unix: df -h).
If I delete content view version via API call to DELETE /katello/api/content_view_versions/:VERSIONID the disk space is not freed up (df -h)

How shall I perform a correct REST API call to remove content_view_version?

Expected outcome:
Disk space is freed up as welll using DELETE /katello/api/content_view_versions/:VERSIONID

Foreman and Proxy versions:

Foreman and Proxy plugin versions:

Distribution and version:

Other relevant data:

I figured out that DELETE /katello/api/content_view_versions/:VERSIONID starts a removal excution and disk is not freed up immediatelly but after a few seconds.

Hi @tomdus

It does take a bit for content to be delete in the background. We do have a cronjob that runs a cleanup of removed content. I will mark this one as Solved.