Get GitHub organization policy
Changed on<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.
Request
- Base URL: https://app.base44.com
- URL: https://app.base44.com/api/apps/{app_id}/github/org-policy
- Auth: HTTP bearer
Path parameters
ID of the app whose workspace decides which GitHub organizations you can use.
Response
Whether the workspace limits which GitHub organizations you can use.
Changes
- info
the security scope
read_onlywas added to the endpoint's security schemePersonalAccessTokenAuth - info
the security scope
full_accesswas removed from the endpoint's security schemePersonalAccessTokenAuth
- info
- info
the endpoint scheme security
PersonalAccessTokenAuthwas added to the API
- info