pub(crate) async fn deactivate_account(
__arg0: State<AppState>,
headers: HeaderMap,
__arg2: XrpcBody,
) -> ResponseExpand description
POST /xrpc/bot.did.deactivateAccount
Credential::AccountSelf: an agent hangs Lock::Deactivated on itself.
Reads and writes are both refused while it hangs — a relay is told
active: false, status: deactivated — and the document, the key and the
repository all stay, so activate_account puts the account back exactly
as it was. Not gated by the e-stop, for the reason freeze_account is
not: it can only narrow.