Fetch accountToken after creation as admin

We have a workflow where we create accounts and return the accountToken. This works as expected when the account does not already exist. However, I was wondering if there is any way to retrieve the accountToken for an account that already exists.

The login endpoint seems to return the token, but since we don’t have access to the account password, this approach is not an option for us.

Additionally, we noticed that if an account has been soft-deleted (i.e., the deleted flag is set to true in the database), attempting to create the same account again as an admin results in an internal server error. Is this behavior by design? If we hard-delete the account (completely remove it from the database), creating it again works as expected.

On top of that, I was wondering when a zrok account gets deleted and that account had active shares and/or frontends, does that action also clean up all underlying resources on the ziti overlay network?