Skip to main content
GET
Get GitHub organization policy

Authorizations

Authorization
string
header
required

Personal access token, sent as Authorization: Bearer <token>. Each operation lists the permission it needs: read_only or full_access. A full-access token can call every operation. A read-only token can call only the operations that list read_only; anything else returns 403 read_only_credential_route_not_allowed.

Path Parameters

app_id
string
required

ID of the app whose workspace decides which GitHub organizations you can use.

Response

Whether the workspace limits which GitHub organizations you can use.

Whether the app's workspace limits which GitHub organizations it can use.

restricted
boolean
required

Whether the app's workspace limits GitHub repositories to an approved list of organizations.

Example:

false