Bulk_delete api with project as parameter does not delete

Must-share information (formatted with Markdown):

  • which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension) 8.9.7
  • how is SonarQube deployed: zip,
  • what are you trying to achieve
    To delete project by project key
  • what have you tried so far to achieve this
    I am trying to use /api/projects/bulk_delete with ‘project’ as parameter. The parameter is set to project key, the post response is successful but the project does not get deleted it.
    However when I use /api/projects/bulk_delete with ‘anaylzedBefore’ parameter it works as expected.

Closing as a duplicate