I am a maintainer on a project. I want to clear out the old pipelines. I created a personal access token with all permissions. The script runs correctly but it doesn’t delete any pipelines returning this error:
Deleting pipeline 134566632
{“message”:“403 Forbidden”}Deleting pipeline 134607716
{“message”:“403 Forbidden”}Deleting pipeline 134932351
{“message”:“403 Forbidden”}Deleting pipeline 134932931
and on and on…
Has anyone had success deleting pipelines using the API? I too am getting the 403 Forbidden message. The access token is configured with the api permission. URLs and IDs are correct per the API docs. This happens on any project that I configure - I am using omnibus Gitlab CE.