{"action":"opened","issue":{"url":"https://api.github.com/repos/saltstack/salt/issues/27872","labels_url":"https://api.github.com/repos/saltstack/salt/issues/27872/labels{/name}","comments_url":"https://api.github.com/repos/saltstack/salt/issues/27872/comments","events_url":"https://api.github.com/repos/saltstack/salt/issues/27872/events","html_url":"https://github.com/saltstack/salt/issues/27872","id":111033373,"number":27872,"title":"No way to delete denied key only","user":{"login":"dennisjac","id":500583,"avatar_url":"https://avatars.githubusercontent.com/u/500583?v=3","gravatar_id":"","url":"https://api.github.com/users/dennisjac","html_url":"https://github.com/dennisjac","followers_url":"https://api.github.com/users/dennisjac/followers","following_url":"https://api.github.com/users/dennisjac/following{/other_user}","gists_url":"https://api.github.com/users/dennisjac/gists{/gist_id}","starred_url":"https://api.github.com/users/dennisjac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dennisjac/subscriptions","organizations_url":"https://api.github.com/users/dennisjac/orgs","repos_url":"https://api.github.com/users/dennisjac/repos","events_url":"https://api.github.com/users/dennisjac/events{/privacy}","received_events_url":"https://api.github.com/users/dennisjac/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-12T18:50:42Z","updated_at":"2015-10-12T18:50:42Z","closed_at":null,"body":"I just tried to register a minion with a minion_id that is already in use and the key is now listed once under accepted keys (the correct one) and a second time under denied keys (the wrong one) both with the same name.\r\nNow I want to delete the key that was added in error but from what I can tell this is not possible. The only way forward it seems is to delete both keys and then re-register the correct one. There should be a function to specify which list to delete a key from.\r\n"}}