Skip to content

The clearavatar action


This action is used to unlink user’s Uniq as the avatar of their account.

Technical Behavior

The action requires authorization of the user who created a link. In case the user hasn’t linked anything an error message will be emitted that the user doesn't have an avatar is returned.

Action Parameters

Property NameC++ TypeJS Type

CLI - cleos

cleos push action ultra.avatar clearavatar '["alice"]' -p alice

Javascript - eosjs

await transact([
        account: 'ultra.avatar',
        name: 'clearavatar',
        authorization: [{ actor: 'alice', permission: 'active' }],
        data: {
            user: 'alice',