Can't delete old pipelines using gitlab api

Hello community,
I am trying to clean up old pipelines using api
Per docs it is pretty straight forward:
curl --header “PRIVATE-TOKEN: ” --request “DELETE” /api/v4/projects//pipelines/
But each time I am getting 403 FORBIDDEN
I tried with different access tokens (project level and personal access token) but still getting 403
I googled, but still no answer: 403 error while deleting the pipeline in Gitlab - Stack Overflow

It is a very old post. Also some people wrote, they where success with personal access token: Delete pipeline via API fails with 403 Forbidden

But not me. It fails with all types of tokens.

Does anyone knows the recipe?