| title | Organizations | GitHub API |
|---|
- TOC {:toc}
List all public organizations for a user.
GET /users/:user/orgs
List public and private organizations for the authenticated user.
GET /user/orgs
<%= headers 200, :pagination => true %> <%= json(:org) { |h| [h] } %>
GET /orgs/:org
<%= headers 200 %> <%= json(:full_org) %>
PATCH /orgs/:org
billing_email : Optional string - Billing email address. This address is not publicized.
company : Optional string
email : Optional string - Publicly visible email address.
location : Optional string
name : Optional string
<%= json
:billing_email => "support@github.com",
:blog => "https://github.com/blog",
:company => "GitHub",
:email => "support@github.com",
:location => "San Francisco",
:name => "github"
%>
<%= headers 200 %> <%= json(:private_org) %>