Git Sync

Assign GHES installation to a workspace

Assigns a discovered GHES App installation to a workspace. The resulting installation is marked as admin-provisioned, so workspace admins cannot remove it. Super-admin only.

post/github_app/ghes/assign

Request

  • Base URL: /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /api/github_app/ghes/assign
  • Auth: one of:
    • HTTP bearer
    • API key in cookie token

Request body

workspace_idstring required
installation_idinteger required

Response

Installation assigned

Changes

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