{"action":"opened","issue":{"url":"https://api.github.com/repos/itsyouonline/identityserver/issues/460","repository_url":"https://api.github.com/repos/itsyouonline/identityserver","labels_url":"https://api.github.com/repos/itsyouonline/identityserver/issues/460/labels{/name}","comments_url":"https://api.github.com/repos/itsyouonline/identityserver/issues/460/comments","events_url":"https://api.github.com/repos/itsyouonline/identityserver/issues/460/events","html_url":"https://github.com/itsyouonline/identityserver/issues/460","id":208076999,"number":460,"title":"Organization API - Owner of orgowner organization can't leave the parent organization","user":{"login":"ahmedelsayed-93","id":24386820,"avatar_url":"https://avatars.githubusercontent.com/u/24386820?v=3","gravatar_id":"","url":"https://api.github.com/users/ahmedelsayed-93","html_url":"https://github.com/ahmedelsayed-93","followers_url":"https://api.github.com/users/ahmedelsayed-93/followers","following_url":"https://api.github.com/users/ahmedelsayed-93/following{/other_user}","gists_url":"https://api.github.com/users/ahmedelsayed-93/gists{/gist_id}","starred_url":"https://api.github.com/users/ahmedelsayed-93/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ahmedelsayed-93/subscriptions","organizations_url":"https://api.github.com/users/ahmedelsayed-93/orgs","repos_url":"https://api.github.com/users/ahmedelsayed-93/repos","events_url":"https://api.github.com/users/ahmedelsayed-93/events{/privacy}","received_events_url":"https://api.github.com/users/ahmedelsayed-93/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-02-16T10:13:32Z","updated_at":"2017-02-16T10:13:32Z","closed_at":null,"body":"### Scenario\r\n![image](https://cloud.githubusercontent.com/assets/24386820/23016850/b8b9d7c0-f440-11e6-8ee2-68051c69fb88.png)\r\n\r\n- **User_1** is owner of **Org-1**.\r\n- **User_2** is owner of **Org-2**.\r\n- **User_1** invited **Org-2** to be **orgowner** of **Org-1**.\r\n- **User_2** accepted the invitation.\r\n\r\n### Actual result\r\nWhen trying to make **User_2** leave **Org-1** , the api response was ```204``` but actually **User_2** still an owner in **Org-1**  and **Org-2** still an **orgowner** Of **Org-1**  \r\n"}}
{"actor":{"display_login":"ahmedelsayed-93"}}