removeController

removeController is a method on the ANT class that removes a specified wallet address from the ANT's list of approved controllers.

removeController requires authentication.

Examples

removeController

const { id: txId } = await ant.removeController({
    controller: 'aGzM_yjralacHIUo8_nQXMbh9l1cy0aksiL_x9M359f'
});

Parameters

ParameterTypeDescriptionOptional
controllerstring - WalletAddress

The public wallet address of the controller to be removed

false
tagsarray

An array of GQL tag objects to attach to the transfer AO message

true

Was this page helpful?