thanks, @vincent
I did use ‘deactivate’ before.
gdapi account-deactivate --id=1a3274 && gdapi delete-account --id=1a3274
But between “deactivate” and “delete”, I have to use “sleep”.
gdapi account-deactivate --id=1a3274 && sleep 2 && gdapi delete-account --id=1a3274
It will take time to change the ‘state’ value.
Yes, ideally we would have a --wait-for-it type flag to wait for transitions to finish, but that doesn’t exist today. Sleep will work-ish, or you can poll the state if you want it to really work consistently.