|To see many of the organization response values, you need to be an authenticated organization owner with the |
admin:org scope. When the value of
true, the organization requires all members, billing managers, and outside collaborators to enable two-factor authentication.
GitHub Apps with the
Organization plan permission can use this endpoint to retrieve information about an organization's GitHub plan. See "Authenticating with GitHub Apps" for details. For an example response, see 'Response with GitHub plan information' below."
|Lists all organizations, in the order that they were created on GitHub.|
Note: Pagination is powered exclusively by the
since parameter. Use the Link header to get the URL for the next page of organizations.
|List public organization memberships for the specified user.|
This method only lists public memberships, regardless of authentication. If you need to fetch all of the organization memberships (public and private) for the authenticated user, use the List organizations for the authenticated user API instead.
|Parameter Deprecation Notice: GitHub will replace and discontinue |
members_allowed_repository_creation_type in favor of more granular permissions. The new input parameters are
members_can_create_private_repositories for all organizations and
members_can_create_internal_repositories for organizations associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see the blog post.
Enables an authenticated organization owner with the
admin:org scope to update the organization's profile and member privileges.
|List organizations for the authenticated user.|
OAuth scope requirements
This only lists organizations that your authorization allows you to operate on in some way (e.g., you can list teams with
read:org scope, you can publicize your organization membership with
user scope, etc.). Therefore, this API requires at least
read:org scope. OAuth requests with insufficient scope receive a
403 Forbidden response.