enterprise-admin

Promote a user to be a site administrator

Note that you'll need to set Content-Length to zero when calling out to this endpoint. For more information, see "HTTP method."

put/users/{username}/site_admin

Request

  • Base URL: http://HOSTNAME/api/v3
  • URL: http://HOSTNAME/api/v3/users/{username}/site_admin
  • Auth: none declared

Path parameters

usernamestring required

The handle for the GitHub user account.

Response

Response

Changes

No recorded changes to this operation across all 50 revisions of this API.