I'm trying to get all organization from a self-hosted github enterprise server.
I can get all organization from github.com cloud version using GET https://api.github.com/user/orgs 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: https://docs.github.com/en/enterprise-server@3.2/rest/orgs/orgs#list-organizations