{"action":"created","issue":{"url":"https://api.github.com/repos/edx/edx-platform/issues/8094","labels_url":"https://api.github.com/repos/edx/edx-platform/issues/8094/labels{/name}","comments_url":"https://api.github.com/repos/edx/edx-platform/issues/8094/comments","events_url":"https://api.github.com/repos/edx/edx-platform/issues/8094/events","html_url":"https://github.com/edx/edx-platform/pull/8094","id":77755959,"number":8094,"title":"Allow enrollment API to deactivate enrollments","user":{"login":"rlucioni","id":969289,"avatar_url":"https://avatars.githubusercontent.com/u/969289?v=3","gravatar_id":"","url":"https://api.github.com/users/rlucioni","html_url":"https://github.com/rlucioni","followers_url":"https://api.github.com/users/rlucioni/followers","following_url":"https://api.github.com/users/rlucioni/following{/other_user}","gists_url":"https://api.github.com/users/rlucioni/gists{/gist_id}","starred_url":"https://api.github.com/users/rlucioni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rlucioni/subscriptions","organizations_url":"https://api.github.com/users/rlucioni/orgs","repos_url":"https://api.github.com/users/rlucioni/repos","events_url":"https://api.github.com/users/rlucioni/events{/privacy}","received_events_url":"https://api.github.com/users/rlucioni/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-18T18:27:51Z","updated_at":"2015-05-18T20:23:59Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/edx/edx-platform/pulls/8094","html_url":"https://github.com/edx/edx-platform/pull/8094","diff_url":"https://github.com/edx/edx-platform/pull/8094.diff","patch_url":"https://github.com/edx/edx-platform/pull/8094.patch"},"body":"Will allow Otto to revoke fulfillment of course seat products. Only server-to-server calls are currently allowed to deactivate or otherwise modify existing enrollments. The act of \"unenrollment\" doesn't delete an enrollment; it instead marks said unenrollment as inactive. This being the case, I've refrained from separating this new logic into an `EnrollmentListView.delete()` method.\r\n\r\n@clintonb and @jimabramson, could you please review this when you're able? @Nickersoft, FYI."},"comment":{"url":"https://api.github.com/repos/edx/edx-platform/issues/comments/103199032","html_url":"https://github.com/edx/edx-platform/pull/8094#issuecomment-103199032","issue_url":"https://api.github.com/repos/edx/edx-platform/issues/8094","id":103199032,"user":{"login":"clintonb","id":910510,"avatar_url":"https://avatars.githubusercontent.com/u/910510?v=3","gravatar_id":"","url":"https://api.github.com/users/clintonb","html_url":"https://github.com/clintonb","followers_url":"https://api.github.com/users/clintonb/followers","following_url":"https://api.github.com/users/clintonb/following{/other_user}","gists_url":"https://api.github.com/users/clintonb/gists{/gist_id}","starred_url":"https://api.github.com/users/clintonb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clintonb/subscriptions","organizations_url":"https://api.github.com/users/clintonb/orgs","repos_url":"https://api.github.com/users/clintonb/repos","events_url":"https://api.github.com/users/clintonb/events{/privacy}","received_events_url":"https://api.github.com/users/clintonb/received_events","type":"User","site_admin":false},"created_at":"2015-05-18T20:23:59Z","updated_at":"2015-05-18T20:23:59Z","body":":+1: "}}