유성호
유성호

Reputation: 31

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

Upvotes: 3

Views: 1928

Answers (1)

Barry Jones
Barry Jones

Reputation: 1450

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

Upvotes: 1

Related Questions