astartectl icon indicating copy to clipboard operation
astartectl copied to clipboard

delete realm

Open shortwavedave opened this issue 5 years ago • 2 comments

Is there a way to delete a realm using astartectl?

shortwavedave avatar Mar 11 '20 21:03 shortwavedave

Hi @shortwavedave, since deleting a realm is a delicate operation that can lead to data loss, Astarte Housekeeping API doesn't provide yet an API to do it, so astartectl can't do it.

I will leave the issue open to track future developments, for now I suggest you to create a new realm and use that.

rbino avatar Mar 12 '20 08:03 rbino

Astarte Housekeeping API allows to delete a realm since v1.0.0 (see https://github.com/astarte-platform/astarte/pull/435). astartectl will provide an housekeeping realms delete subcommand by v23.05.

Annopaolo avatar Dec 20 '22 13:12 Annopaolo