Filter projects in API by project name


I would like to get project id via API.
I am creating projects(environments) using cli
> /> rancher env create test

so I know project name. Is there any way to get project id using that name?
What I was trying to use /v1/projects with some sort of filter. Something like


I was trying
> /v1/projects?name=XXXX


but without success