403 error while deleting the pipeline in Gitlab

Viewed 623

I have generated personal access token and I have Maintainer Access for specific repository in gitlab.I have used below API to delete the pipeline

curl --header "PRIVATE-TOKEN: <mytoken>" --request "DELETE" https://gitlab.test.com/api/v4/projects/8/pipelines/5461

I'm getting 403 error. How to fix this issue

0 Answers
Related