Skip to content

removekycpro

Remove certain KYC provider info of user

  • Parameters
FieldsTypeDescription
ownereosio::nameKYC User
providersvectoreosio::nameList of KYC Provider who user want to remove

Required Permissions: ultra.kyc

  • cleos Example
shell
cleos push action eosio.kyc removekcypro '["<OWNER>", ["<PROVIDER_1>", "<PROVIDER_2>"]]' -p ultra.kyc
  • eos-js Example
typescript
(async () => {
    const result = await api.transact(
        {
            actions: [
                {
                    account: 'eosio.kyc',
                    name: 'removekycpro',
                    authorization: [
                        {
                            actor: 'ultra.kyc',
                            permission: 'active',
                        },
                    ],
                    data: {
                        owner: '<OWNER>',
                        providers: ['<PROVIDER_1>', '<PROVIDER_2>'],
                    },
                },
            ],
        },
        {
            blocksBehind: 3,
            expireSeconds: 30,
        }
    );
})();