title: How to get list of Organization using API from Github Enterprise server (self-hosted server)
body: <p>I'm trying to get all organization from a self-hosted github enterprise server.</p>
  <p>I can get all organization from github.com cloud version using <code>GET https://api.github.com/user/orgs</code> but I don't know how to do it with self-hosted version. I tried following guide in this docs but it seems doesn't work: <a href="https://docs.github.com/en/enterprise-server@3.2/rest/orgs/orgs#list-organizations" rel="nofollow noreferrer">https://docs.github.com/en/enterprise-server@3.2/rest/orgs/orgs#list-organizations</a></p>