GitHub Enterprise · Schema

Organization Full

Prevents users in the organization from using insecure methods of two-factor authentication to fulfill a two-factor requirement. Removes non-compliant outside collaborators from the organization and its repositories. GitHub currently defines SMS as an insecure method of two-factor authentication. If your users are managed by the enterprise this policy will not affect them. The first admin account of the enterprise will still be affected.

Version ControlDevOpsCI/CDCode HostingEnterpriseSelf-HostedSAML SSOSCIMAdvanced SecurityDeveloper Tools

Properties

Name Type Description
login string
id integer
node_id string
url string
repos_url string
events_url string
hooks_url string
issues_url string
members_url string
public_members_url string
avatar_url string
description stringnull
name string
company stringnull
blog stringnull
location stringnull
email stringnull
twitter_username stringnull
is_verified boolean
has_organization_projects boolean
has_repository_projects boolean
public_repos integer
public_gists integer
followers integer
following integer
html_url string
type string
total_private_repos integer
owned_private_repos integer
private_gists integernull
disk_usage integernull
collaborators integernull The number of collaborators on private repositories. This field may be null if the number of private repositories is over 50,000.
billing_email stringnull
plan object
default_repository_permission stringnull
default_repository_branch stringnull The default branch for repositories created in this organization.
members_can_create_repositories booleannull
two_factor_requirement_enabled booleannull
members_allowed_repository_creation_type string
members_can_create_public_repositories boolean
members_can_create_private_repositories boolean
members_can_create_internal_repositories boolean
members_can_create_pages boolean
members_can_create_public_pages boolean
members_can_create_private_pages boolean
members_can_delete_repositories boolean
members_can_change_repo_visibility boolean
members_can_invite_outside_collaborators boolean
members_can_delete_issues boolean
display_commenter_full_name_setting_enabled boolean
readers_can_create_discussions boolean
members_can_create_teams boolean
members_can_view_dependency_insights boolean
members_can_fork_private_repositories booleannull
web_commit_signoff_required boolean
advanced_security_enabled_for_new_repositories boolean **Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest/rest/code-security/configurations) instead. Whether GitHub Advanced Security
dependabot_alerts_enabled_for_new_repositories boolean **Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest/rest/code-security/configurations) instead. Whether Dependabot alerts are au
dependabot_security_updates_enabled_for_new_repositories boolean **Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest/rest/code-security/configurations) instead. Whether Dependabot security upda
dependency_graph_enabled_for_new_repositories boolean **Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest/rest/code-security/configurations) instead. Whether dependency graph is auto
secret_scanning_enabled_for_new_repositories boolean **Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest/rest/code-security/configurations) instead. Whether secret scanning is autom
secret_scanning_push_protection_enabled_for_new_repositories boolean **Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest/rest/code-security/configurations) instead. Whether secret scanning push pro
secret_scanning_push_protection_custom_link_enabled boolean Whether a custom link is shown to contributors who are blocked from pushing a secret by push protection.
secret_scanning_push_protection_custom_link stringnull An optional URL string to display to contributors who are blocked from pushing a secret.
secret_scanning_validity_checks_enabled boolean **Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest/rest/code-security/configurations) instead. Whether secret scanning automati
created_at string
updated_at string
archived_at stringnull
deploy_keys_enabled_for_repositories boolean Controls whether or not deploy keys may be added and used for repositories in the organization.
View JSON Schema on GitHub

JSON Schema

github-enterprise-organization-full-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/github-enterprise/json-schema/github-enterprise-organization-full-schema.json",
  "title": "Organization Full",
  "description": "Prevents users in the organization from using insecure methods of two-factor authentication to fulfill a two-factor requirement.\nRemoves non-compliant outside collaborators from the organization and its repositories.\n\nGitHub currently defines SMS as an insecure method of two-factor authentication.\n\nIf your users are managed by the enterprise this policy will not affect them. The first admin account of the enterprise will still be affected.",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/github-enterprise-openapi.yml#/components/schemas/organization-full",
  "type": "object",
  "properties": {
    "login": {
      "type": "string"
    },
    "id": {
      "type": "integer"
    },
    "node_id": {
      "type": "string"
    },
    "url": {
      "type": "string",
      "format": "uri"
    },
    "repos_url": {
      "type": "string",
      "format": "uri"
    },
    "events_url": {
      "type": "string",
      "format": "uri"
    },
    "hooks_url": {
      "type": "string"
    },
    "issues_url": {
      "type": "string"
    },
    "members_url": {
      "type": "string"
    },
    "public_members_url": {
      "type": "string"
    },
    "avatar_url": {
      "type": "string"
    },
    "description": {
      "type": [
        "string",
        "null"
      ]
    },
    "name": {
      "type": "string"
    },
    "company": {
      "type": [
        "string",
        "null"
      ]
    },
    "blog": {
      "type": [
        "string",
        "null"
      ],
      "format": "uri"
    },
    "location": {
      "type": [
        "string",
        "null"
      ]
    },
    "email": {
      "type": [
        "string",
        "null"
      ],
      "format": "email"
    },
    "twitter_username": {
      "type": [
        "string",
        "null"
      ]
    },
    "is_verified": {
      "type": "boolean"
    },
    "has_organization_projects": {
      "type": "boolean"
    },
    "has_repository_projects": {
      "type": "boolean"
    },
    "public_repos": {
      "type": "integer"
    },
    "public_gists": {
      "type": "integer"
    },
    "followers": {
      "type": "integer"
    },
    "following": {
      "type": "integer"
    },
    "html_url": {
      "type": "string",
      "format": "uri"
    },
    "type": {
      "type": "string"
    },
    "total_private_repos": {
      "type": "integer"
    },
    "owned_private_repos": {
      "type": "integer"
    },
    "private_gists": {
      "type": [
        "integer",
        "null"
      ]
    },
    "disk_usage": {
      "type": [
        "integer",
        "null"
      ]
    },
    "collaborators": {
      "type": [
        "integer",
        "null"
      ],
      "description": "The number of collaborators on private repositories.\n\nThis field may be null if the number of private repositories is over 50,000."
    },
    "billing_email": {
      "type": [
        "string",
        "null"
      ],
      "format": "email"
    },
    "plan": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string"
        },
        "space": {
          "type": "integer"
        },
        "private_repos": {
          "type": "integer"
        },
        "filled_seats": {
          "type": "integer"
        },
        "seats": {
          "type": "integer"
        }
      },
      "required": [
        "name",
        "space",
        "private_repos"
      ]
    },
    "default_repository_permission": {
      "type": [
        "string",
        "null"
      ]
    },
    "default_repository_branch": {
      "type": [
        "string",
        "null"
      ],
      "description": "The default branch for repositories created in this organization."
    },
    "members_can_create_repositories": {
      "type": [
        "boolean",
        "null"
      ]
    },
    "two_factor_requirement_enabled": {
      "type": [
        "boolean",
        "null"
      ]
    },
    "members_allowed_repository_creation_type": {
      "type": "string"
    },
    "members_can_create_public_repositories": {
      "type": "boolean"
    },
    "members_can_create_private_repositories": {
      "type": "boolean"
    },
    "members_can_create_internal_repositories": {
      "type": "boolean"
    },
    "members_can_create_pages": {
      "type": "boolean"
    },
    "members_can_create_public_pages": {
      "type": "boolean"
    },
    "members_can_create_private_pages": {
      "type": "boolean"
    },
    "members_can_delete_repositories": {
      "type": "boolean"
    },
    "members_can_change_repo_visibility": {
      "type": "boolean"
    },
    "members_can_invite_outside_collaborators": {
      "type": "boolean"
    },
    "members_can_delete_issues": {
      "type": "boolean"
    },
    "display_commenter_full_name_setting_enabled": {
      "type": "boolean"
    },
    "readers_can_create_discussions": {
      "type": "boolean"
    },
    "members_can_create_teams": {
      "type": "boolean"
    },
    "members_can_view_dependency_insights": {
      "type": "boolean"
    },
    "members_can_fork_private_repositories": {
      "type": [
        "boolean",
        "null"
      ]
    },
    "web_commit_signoff_required": {
      "type": "boolean"
    },
    "advanced_security_enabled_for_new_repositories": {
      "type": "boolean",
      "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest/rest/code-security/configurations) instead.\n\nWhether GitHub Advanced Security is enabled for new repositories and repositories transferred to this organization.\n\nThis field is only visible to organization owners or members of a team with the security manager role.",
      "deprecated": true
    },
    "dependabot_alerts_enabled_for_new_repositories": {
      "type": "boolean",
      "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest/rest/code-security/configurations) instead.\n\nWhether Dependabot alerts are automatically enabled for new repositories and repositories transferred to this organization.\n\nThis field is only visible to organization owners or members of a team with the security manager role.",
      "deprecated": true
    },
    "dependabot_security_updates_enabled_for_new_repositories": {
      "type": "boolean",
      "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest/rest/code-security/configurations) instead.\n\nWhether Dependabot security updates are automatically enabled for new repositories and repositories transferred to this organization.\n\nThis field is only visible to organization owners or members of a team with the security manager role.",
      "deprecated": true
    },
    "dependency_graph_enabled_for_new_repositories": {
      "type": "boolean",
      "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest/rest/code-security/configurations) instead.\n\nWhether dependency graph is automatically enabled for new repositories and repositories transferred to this organization.\n\nThis field is only visible to organization owners or members of a team with the security manager role.",
      "deprecated": true
    },
    "secret_scanning_enabled_for_new_repositories": {
      "type": "boolean",
      "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest/rest/code-security/configurations) instead.\n\nWhether secret scanning is automatically enabled for new repositories and repositories transferred to this organization.\n\nThis field is only visible to organization owners or members of a team with the security manager role.",
      "deprecated": true
    },
    "secret_scanning_push_protection_enabled_for_new_repositories": {
      "type": "boolean",
      "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest/rest/code-security/configurations) instead.\n\nWhether secret scanning push protection is automatically enabled for new repositories and repositories transferred to this organization.\n\nThis field is only visible to organization owners or members of a team with the security manager role.",
      "deprecated": true
    },
    "secret_scanning_push_protection_custom_link_enabled": {
      "type": "boolean",
      "description": "Whether a custom link is shown to contributors who are blocked from pushing a secret by push protection."
    },
    "secret_scanning_push_protection_custom_link": {
      "type": [
        "string",
        "null"
      ],
      "description": "An optional URL string to display to contributors who are blocked from pushing a secret."
    },
    "secret_scanning_validity_checks_enabled": {
      "type": "boolean",
      "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest/rest/code-security/configurations) instead.\n\nWhether secret scanning automatic validity checks on supported partner tokens is enabled for all repositories under this organization.",
      "deprecated": true
    },
    "created_at": {
      "type": "string",
      "format": "date-time"
    },
    "updated_at": {
      "type": "string",
      "format": "date-time"
    },
    "archived_at": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "deploy_keys_enabled_for_repositories": {
      "type": "boolean",
      "description": "Controls whether or not deploy keys may be added and used for repositories in the organization."
    }
  },
  "required": [
    "login",
    "url",
    "id",
    "node_id",
    "repos_url",
    "events_url",
    "hooks_url",
    "issues_url",
    "members_url",
    "public_members_url",
    "avatar_url",
    "description",
    "html_url",
    "has_organization_projects",
    "has_repository_projects",
    "public_repos",
    "public_gists",
    "followers",
    "following",
    "type",
    "created_at",
    "updated_at",
    "archived_at"
  ]
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/github-enterprise-organization-full"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.