Deleting project from sonarqube

Hi,

Is it possible to delete only specific project from sonarqube database after certain time because currently as per this documentation (https://docs.sonarqube.org/display/SONAR/Housekeeping)
it only allows configuration for overall projects but my requirement is that my project (“xyz”) should be deleted after 2hr and all other project sohuld remain intact.
Thanks in advance!

Hi,

You cannot set a ‘timer for deletion’ in SonarQube. For any such custom operation though, keep in mind that the WebAPI (documentation embedded in your server) lets you interact with SonarQube programmatically. So you could imagine writing a script leveraging api/projects/delete to fulfil your custom need.