Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

gitlab API PUT(projects/:id) 405 Method Not Allowed

I want rename the gitlab project path. So I use the gitlab api PUT(projects/:id). but http error 405 method not allowed. I don't know that.

Thankyou

like image 928
유성호 Avatar asked Dec 13 '25 22:12

유성호


1 Answers

In the projects/:id section, make sure you're replacing ':id' with the actual id that you want (e.g. projects/123).

It should end up generating a URI for the PUT that looks something like:

https://gitlab.mydomain.com/api/v3/projects/123?id=123&path=MyProject

like image 102
Barry Jones Avatar answered Dec 15 '25 21:12

Barry Jones



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!