{"action":"created","issue":{"url":"https://api.github.com/repos/zaproxy/zaproxy/issues/2113","labels_url":"https://api.github.com/repos/zaproxy/zaproxy/issues/2113/labels{/name}","comments_url":"https://api.github.com/repos/zaproxy/zaproxy/issues/2113/comments","events_url":"https://api.github.com/repos/zaproxy/zaproxy/issues/2113/events","html_url":"https://github.com/zaproxy/zaproxy/issues/2113","id":120985689,"number":2113,"title":"Update Python API Client for ZAP 2.4.3","user":{"login":"r3ver53r","id":8873311,"avatar_url":"https://avatars.githubusercontent.com/u/8873311?v=3","gravatar_id":"","url":"https://api.github.com/users/r3ver53r","html_url":"https://github.com/r3ver53r","followers_url":"https://api.github.com/users/r3ver53r/followers","following_url":"https://api.github.com/users/r3ver53r/following{/other_user}","gists_url":"https://api.github.com/users/r3ver53r/gists{/gist_id}","starred_url":"https://api.github.com/users/r3ver53r/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/r3ver53r/subscriptions","organizations_url":"https://api.github.com/users/r3ver53r/orgs","repos_url":"https://api.github.com/users/r3ver53r/repos","events_url":"https://api.github.com/users/r3ver53r/events{/privacy}","received_events_url":"https://api.github.com/users/r3ver53r/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/zaproxy/zaproxy/labels/Type-Task","name":"Type-Task","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-12-08T11:11:28Z","updated_at":"2015-12-09T10:29:09Z","closed_at":null,"body":"Unable to find the python API in context.py to remove a context from the current session. Could the addition of below code to context.py be a possible solution?\r\n\r\ndef remove_context(self, contextname='', apikey=''):\r\n        \"\"\"\r\n        Removes a context from the current session\r\n        \"\"\"\r\n        return next(self.zap._request(self.zap.base + 'context/action/removeContext/', {'contextName' : contextname, 'apikey' : apikey}).itervalues())\r\n"},"comment":{"url":"https://api.github.com/repos/zaproxy/zaproxy/issues/comments/163180670","html_url":"https://github.com/zaproxy/zaproxy/issues/2113#issuecomment-163180670","issue_url":"https://api.github.com/repos/zaproxy/zaproxy/issues/2113","id":163180670,"user":{"login":"r3ver53r","id":8873311,"avatar_url":"https://avatars.githubusercontent.com/u/8873311?v=3","gravatar_id":"","url":"https://api.github.com/users/r3ver53r","html_url":"https://github.com/r3ver53r","followers_url":"https://api.github.com/users/r3ver53r/followers","following_url":"https://api.github.com/users/r3ver53r/following{/other_user}","gists_url":"https://api.github.com/users/r3ver53r/gists{/gist_id}","starred_url":"https://api.github.com/users/r3ver53r/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/r3ver53r/subscriptions","organizations_url":"https://api.github.com/users/r3ver53r/orgs","repos_url":"https://api.github.com/users/r3ver53r/repos","events_url":"https://api.github.com/users/r3ver53r/events{/privacy}","received_events_url":"https://api.github.com/users/r3ver53r/received_events","type":"User","site_admin":false},"created_at":"2015-12-09T10:29:09Z","updated_at":"2015-12-09T10:29:09Z","body":"Ah, got you. Thanks! "}}