Member-only story

Playing with GitHub GHES: Fixing “login is not available” for “login” field and “missing_field” for “admins” field while creating a new organization through GitHub’s GHES API endpoint

Bryant Jimin Son
3 min readAug 9, 2021

--

GitHub Enterprise Server (GHES) is a version of GitHub that provides the enterprise ready deployable GitHub server on a cloud or on-prem server. GHES offers a number of different REST API endpoints that can be called to automate the tasks:

Enterprise administration, though, offers different endpoints and different sets of REST APIs than those of GHEC, which is more commonly known as GitHub.com itself.

I spin out my own sample GHES server and tried to create an organization by using this API: https://docs.github.com/en/enterprise-server@3.1/rest/reference/enterprise-admin#create-an-organization

curl \
-X POST \
-H "Accept: application/vnd.github.v3+json" \
http(s)://{hostname}/api/v3/admin/organizations \
-d

--

--

Bryant Jimin Son
Bryant Jimin Son

Written by Bryant Jimin Son

A cloud practitioner talking about technology, travels & career tips. But I will sometimes cover financial advises and some random stuffs.

No responses yet