pepper icon indicating copy to clipboard operation
pepper copied to clipboard

wheel key.delete command not working

Open tomrwillis opened this issue 5 years ago • 1 comments

trying to delete a key

    self.api.login(self.uid, self.pwd, "pam")
    res = self.api.wheel("key.delete", keyId)

returns delete command takes 1 argument, none given

tomrwillis avatar Mar 10 '20 21:03 tomrwillis

hi,

you are supposed tu use a named arg :

api.wheel('key.delete',match='minion')

squidly avatar Apr 13 '20 07:04 squidly