Guidance needed for API call to bulk_delete all projects not analyzed 2 years and above

In order for me to manage the lines of code that is provisioned to my sonar instance, I need to do a bulk delete on my projects. Am I correct in my understanding that to bulk delete let’s say projects that haven’t been analyzed for the last 2 years i can use the /api/projects with the bulk_delete option and a parameter analyzedBefore? If yes, am I in my syntax below?

curl -X POST -u SONARQUBE_TOKEN: SONARQUBE_INSTANCE/api/projects/bulk_delete?lastAnalyzedBefore=2021-05-01

It means that all projects that were not analyzed starting 2021-05-01 and below will be bulk deleted?

It looks correct to me!