referrerpolicy=no-referrer-when-downgrade
pallet_identity::pallet::dispatchables

Function clear_identity

Source
pub fn clear_identity<T: Config>()
Expand description

Clear an account’s identity info and all sub-accounts and return all deposits.

Payment: All reserved balances on the account are returned.

The dispatch origin for this call must be Signed and the sender must have a registered identity.

Emits IdentityCleared if successful.

§Warning: Doc-Only

This function is an automatically generated, and is doc-only, uncallable stub. See the real version in Pallet::clear_identity.