`reflex cloud apps delete <unknown id>` exits 0
Author: masenfCreated Sep 24, 2026Updated Sep 24, 2026
Package: reflex-hosting-cli (reproduced on main at ea035ea47 and on #7207 at 988718e78)
Deleting an app ID that does not exist prints a warning and exits 0:
$ reflex cloud apps delete 00000000-0000-0000-0000-000000000000 --no-interactive
Warning: No application found with ID '00000000-0000-0000-0000-000000000000'
[exit=0]The same lookup failure exits 1 elsewhere:
$ reflex cloud apps delete --app-name no-such-app-xyz --no-interactive
Warning: App 'no-such-app-xyz' not found.
[exit=1]
$ reflex cloud apps inspect 00000000-0000-0000-0000-000000000000 --no-interactive
no app with given id found
[exit=1]A script that runs apps delete $ID && echo deleted reports success when the ID is wrong (typo, wrong account or project).
Expected: an error, and a non-zero exit, when the app ID is not found. This matches --app-name and the other apps subcommands.
Source: reflex-dev/reflex