removePermission method is used to delete custom permissions from an Antelope account. It returns an Action instance detailing the permission removal. The action can then be signed and executed on-chain using the
SessionKit Transact method.
removePermission method is available on any Account instance. Here is an example of how to use it:
const action = testAccount.removePermission("claim")
In the example above, an action that deletes the
claim permission is created.
permissionName: The name of the permission that is to be removed.