How do I remove an archived release from XL Release?

Follow

Kenny Lim -

Issue

I cannot seem to find a way to remove an archived release from XL Release. Doing the following yields me an error:

DELETE http://myXLRelease:5516/api/v1/releases/archived/Applications/ReleaseXXXXXXX

Returns:

Repository entity [archived/Applications/ReleaseXXXXXXX] not found

Environment

XL Release (5.0.x, 6.0.x, 6.1.x)

Resolution

Currently there is no supported way to delete an archived release.

However, you can use this internal API call to delete an archived release:

curl -u USER:PASS -X DELETE -H "content-type:application/json" "http://IP:PORT/fixtures/RELEASE_ID".

The RELEASE_ID should not be Applications/ReleaseXXXXXXX but only ReleaseXXXXXXX and the credentials used must have administrative privileges in XL Release.

 

Have more questions? Submit a request
Powered by Zendesk