Additional API endpoints: Delete cache on registry and upstream

To achieve parity with the API endpoints that Maven offers, there are additional endpoints that we need to add.This issue focuses on the endpoints to clear the cache on a registry and an upstream. We aim to add the following endpoints:

Route Notes
DELETE /virtual_registries/container/registries/:id/cache Clear cache on a registry
DELETE /virtual_registries/container/upstreams/:id/cache Clear cache on an upstream

References:

After the endpoints are added, update the API documentation.

Edited by 🤖 GitLab Bot 🤖