How to delete a release?

Hi, I would like to know how to delete a release. I don’t see any way to accomplish this. Just want to clear it out and start fresh but not re-create my Application.

Thanks

Hi @CodedInk,

You can delete the release using the line below:

curl 'https://api.balena-cloud.com/v5/release(123456789)' -X DELETE -H 'authorization: Bearer <YOUR_TOKEN> 

It would be a good idea to also check that you don’t have any device on that release, although the API should check for this.

Cheers.

1 Like

This is how you delete it from the Balena Cloud Dashboard?

@CodedInk yes, that will delete the target release.

hey,

thanks for sharing this information this is really helpfull or informative for me thanks again, kamukta

Pleased to hear it helped you!