Howto delete milestones using REST API in Gitlab ?

181 Views Asked by At

I could not find any talk about this feature in Gitlab documentation

I tried to do it, but got a 405 error code.

Is anybody knows how to do that ?

thanks.

1

There are 1 best solutions below

0
On BEST ANSWER

Well, if it's not listed there, you can't remove it with API. But you can close the milestone with

PUT /projects/:id/milestones/:milestone_id

passing state_event as close.