Get GitHub organization policy
<Info>This API is in beta. Endpoints, fields, and behavior may still change, so avoid depending on it in production.</Info>
Tells you whether the app's workspace limits GitHub repositories to an approved list of organizations.
When restricted is true, you can create the app's repository only under one of the approved organizations. The approved list itself is managed in workspace settings.
Workspace owners and admins can connect under any organization, even when the policy restricts organizations for other users. However, the organization list they read is filtered by the restriction policy, so List GitHub organizations returns the same list for them as it does for other users.
Path parameters
ID of the app whose workspace decides which GitHub organizations you can use.
ID of the app whose workspace decides which GitHub organizations you can use.
Response
Whether the workspace limits which GitHub organizations you can use.