Expand description
Deleting an identity account, whoever asks: the window’s deleteidentityaccount and an
agent’s Google disconnect run this one function, so the grant is revoked at the provider,
the secrets, links, Google grants and log are removed, and the windows and the agents that
held it are told, the same way either time.
Functions§
- delete_
identity_ 🔒account - Revokes the account’s grant at its provider, removes its credential material and rows, and
announces it. With
require_revokea revoke that failed keeps the account (deleted: false), so the delete can be retried while the grant can still be ended. - release_
sign_ 🔒in_ values - The values read from the account’s sign-in files are no longer withheld from transcripts once the account is deleted, the provider has revoked the grant and the credential directory is removed. Otherwise (a grant not revoked, a directory kept or not removed) they stay withheld.
- remove_
secrets 🔒 - What the cleanup did, returned to Connectors so a login that couldn’t be removed is reported, not hidden (SPEC_ARMORY_ACCOUNTS_DELETE_AND_INLINE_DETAIL_2026_10_04.md H3). Null when there was no account row to clean up after.
- remove_
vault_ 🔒entry - An API key account’s key is a Vault entry: it goes with the account. A failure is reported like a keychain one.
- revoke_
at_ 🔒provider - An OAuth grant is revoked at the provider first, while the token is still in the keychain; otherwise it would live on there (spec §7 “Disconnect”). Null when there’s none.
- tell_
windows_ 🔒and_ agents - The windows read the accounts again, and each agent that held the account hears its credentials were revoked.