# GitHub Enterprise Orgs API

**Canonical:** https://apis.io/apis/github-enterprise/github-enterprise-orgs-api/  
**Provider:** GitHub Enterprise — https://apis.io/providers/github-enterprise/  
**Base URL:** https://api.github.com  
**Documentation:** https://docs.github.com/en/enterprise-cloud@latest/rest

GitHub Enterprise Orgs API is one of 58 APIs that [GitHub Enterprise](https://apis.io/providers/github-enterprise/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. This API exposes 8 JSON Schema definitions. Tagged areas include Organization. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, rate-limit docs, authentication docs, and 8 JSON Schemas.

Interact with organizations.

## Operations (60 of 145)

| Method | Path | Summary |
|---|---|---|
| GET | `/organizations` | List organizations |
| GET | `/organizations/{organization_id}/custom_roles` | Closing down - List custom repository roles in an organization |
| GET | `/organizations/{org}/org-properties/values` | Get all custom property values for an organization |
| PATCH | `/organizations/{org}/org-properties/values` | Create or update custom property values for an organization |
| GET | `/orgs/{org}` | Get an organization |
| PATCH | `/orgs/{org}` | Update an organization |
| DELETE | `/orgs/{org}` | Delete an organization |
| GET | `/orgs/{org}/announcement` | Get announcement banner for organization |
| PATCH | `/orgs/{org}/announcement` | Set announcement banner for organization |
| DELETE | `/orgs/{org}/announcement` | Remove announcement banner from organization |
| POST | `/orgs/{org}/artifacts/metadata/deployment-record` | Create an artifact deployment record |
| POST | `/orgs/{org}/artifacts/metadata/deployment-record/cluster/{cluster}` | Set cluster deployment records |
| POST | `/orgs/{org}/artifacts/metadata/deployment-record/cluster/{cluster}/jobs` | Create a cluster deployment records job |
| GET | `/orgs/{org}/artifacts/metadata/deployment-record/cluster/{cluster}/jobs/{job_id}` | Get cluster deployment records job status |
| POST | `/orgs/{org}/artifacts/metadata/storage-record` | Create artifact metadata storage record |
| GET | `/orgs/{org}/artifacts/{subject_digest}/metadata/deployment-records` | List artifact deployment records |
| GET | `/orgs/{org}/artifacts/{subject_digest}/metadata/storage-records` | List artifact storage records |
| POST | `/orgs/{org}/attestations/bulk-list` | List attestations by bulk subject digests |
| POST | `/orgs/{org}/attestations/delete-request` | Delete attestations in bulk |
| DELETE | `/orgs/{org}/attestations/digest/{subject_digest}` | Delete attestations by subject digest |
| GET | `/orgs/{org}/attestations/repositories` | List attestation repositories |
| DELETE | `/orgs/{org}/attestations/{attestation_id}` | Delete attestations by ID |
| GET | `/orgs/{org}/attestations/{subject_digest}` | List attestations |
| GET | `/orgs/{org}/audit-log` | Get the audit log for an organization |
| GET | `/orgs/{org}/blocks` | List users blocked by an organization |
| GET | `/orgs/{org}/blocks/{username}` | Check if a user is blocked by an organization |
| PUT | `/orgs/{org}/blocks/{username}` | Block a user from an organization |
| DELETE | `/orgs/{org}/blocks/{username}` | Unblock a user from an organization |
| GET | `/orgs/{org}/bypass-requests/push-rules` | List push rule bypass requests within an organization |
| GET | `/orgs/{org}/credential-authorizations` | List SAML SSO authorizations for an organization |
| POST | `/orgs/{org}/credential-authorizations/revoke-all` | Revoke all credential authorizations for an organization |
| POST | `/orgs/{org}/credential-authorizations/revoke-credential-type` | Revoke a single credential type for an organization |
| DELETE | `/orgs/{org}/credential-authorizations/{credential_id}` | Remove a SAML SSO authorization for an organization |
| POST | `/orgs/{org}/credential-authorizations/{username}/revoke` | Revoke credential authorizations for a user in an organization |
| POST | `/orgs/{org}/credential-authorizations/{username}/revoke-credential-type` | Revoke a single credential type for a user in an organization |
| GET | `/orgs/{org}/custom-repository-roles` | List custom repository roles in an organization |
| POST | `/orgs/{org}/custom-repository-roles` | Create a custom repository role |
| GET | `/orgs/{org}/custom-repository-roles/{role_id}` | Get a custom repository role |
| PATCH | `/orgs/{org}/custom-repository-roles/{role_id}` | Update a custom repository role |
| DELETE | `/orgs/{org}/custom-repository-roles/{role_id}` | Delete a custom repository role |
| POST | `/orgs/{org}/custom_roles` | Closing down - Create a custom role |
| GET | `/orgs/{org}/custom_roles/{role_id}` | Closing down - Get a custom role |
| PATCH | `/orgs/{org}/custom_roles/{role_id}` | Closing down - Update a custom role |
| DELETE | `/orgs/{org}/custom_roles/{role_id}` | Closing down - Delete a custom role |
| GET | `/orgs/{org}/failed_invitations` | List failed organization invitations |
| GET | `/orgs/{org}/fine_grained_permissions` | Closing down - List fine-grained permissions for an organization |
| GET | `/orgs/{org}/hooks` | List organization webhooks |
| POST | `/orgs/{org}/hooks` | Create an organization webhook |
| GET | `/orgs/{org}/hooks/{hook_id}` | Get an organization webhook |
| PATCH | `/orgs/{org}/hooks/{hook_id}` | Update an organization webhook |
| DELETE | `/orgs/{org}/hooks/{hook_id}` | Delete an organization webhook |
| GET | `/orgs/{org}/hooks/{hook_id}/config` | Get a webhook configuration for an organization |
| PATCH | `/orgs/{org}/hooks/{hook_id}/config` | Update a webhook configuration for an organization |
| GET | `/orgs/{org}/hooks/{hook_id}/deliveries` | List deliveries for an organization webhook |
| GET | `/orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}` | Get a webhook delivery for an organization webhook |
| POST | `/orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}/attempts` | Redeliver a delivery for an organization webhook |
| POST | `/orgs/{org}/hooks/{hook_id}/pings` | Ping an organization webhook |
| GET | `/orgs/{org}/insights/api/route-stats/{actor_type}/{actor_id}` | Get route stats by actor |
| GET | `/orgs/{org}/insights/api/subject-stats` | Get subject stats |
| GET | `/orgs/{org}/insights/api/summary-stats` | Get summary stats |

…and 85 more operations. They are listed in full on the page.

## Machine-readable artifacts (16)

- **OpenAPI** — https://artifacts.apis.io/github-enterprise/openapi/github-enterprise-orgs-api-openapi.yml
- **Documentation** — https://docs.github.com/en/enterprise-cloud@latest/rest
- **RateLimits** — https://docs.github.com/en/enterprise-cloud@latest/rest/using-the-rest-api/rate-limits-for-the-rest-api
- **JSONSchema** — https://artifacts.apis.io/github-enterprise/json-schema/github-enterprise-repository-schema.json
- **JSONSchema** — https://artifacts.apis.io/github-enterprise/json-schema/github-enterprise-full-repository-schema.json
- **JSONSchema** — https://artifacts.apis.io/github-enterprise/json-schema/github-enterprise-app-permissions-schema.json
- **JSONSchema** — https://artifacts.apis.io/github-enterprise/json-schema/github-enterprise-team-repository-schema.json
- **JSONSchema** — https://artifacts.apis.io/github-enterprise/json-schema/github-enterprise-organization-full-schema.json
- **JSONSchema** — https://artifacts.apis.io/github-enterprise/json-schema/github-enterprise-minimal-repository-schema.json
- **Authentication** — https://docs.github.com/en/enterprise-cloud@latest/rest/overview/authenticating-to-the-rest-api
- **Documentation** — https://docs.github.com/en/enterprise-cloud@latest/graphql
- **GraphQL** — https://artifacts.apis.io/github-enterprise/graphql/github-enterprise-graphql.md
- **Documentation** — https://docs.github.com/en/enterprise-server@latest/rest
- **Documentation** — https://docs.github.com/en/enterprise-server@latest/graphql
- **JSONSchema** — https://artifacts.apis.io/github-enterprise/json-schema/github-enterprise-organization-schema.json
- **JSONSchema** — https://artifacts.apis.io/github-enterprise/json-schema/github-enterprise-pull-request-schema.json

## Other GitHub Enterprise APIs (12)

- [GitHub Enterprise Cloud GraphQL API](https://apis.io/apis/github-enterprise/github-enterprise-graphql-api/)
- [GitHub MCP Server](https://apis.io/apis/github-enterprise/github-mcp-server/)
- [GitHub Enterprise Actions API](https://apis.io/apis/github-enterprise/github-enterprise-actions-api/)
- [GitHub Enterprise Code Scanning API](https://apis.io/apis/github-enterprise/github-enterprise-code-scanning-api/)
- [GitHub Enterprise Admin API](https://apis.io/apis/github-enterprise/github-enterprise-enterprise-admin-api/)
- [GitHub Enterprise Issues API](https://apis.io/apis/github-enterprise/github-enterprise-issues-api/)
- [GitHub Enterprise SCIM API](https://apis.io/apis/github-enterprise/github-enterprise-scim-api/)
- [GitHub Enterprise Users API](https://apis.io/apis/github-enterprise/github-enterprise-users-api/)
- [GitHub Enterprise Activity API](https://apis.io/apis/github-enterprise/github-enterprise-activity-api/)
- [GitHub Enterprise Agent Automations API](https://apis.io/apis/github-enterprise/github-enterprise-agent-automations-api/)
- [GitHub Enterprise Agent Merge API](https://apis.io/apis/github-enterprise/github-enterprise-agent-merge-api/)
- [GitHub Enterprise Agent Tasks API](https://apis.io/apis/github-enterprise/github-enterprise-agent-tasks-api/)

## Tags

Organization

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/github-enterprise/github-enterprise-orgs-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/github-enterprise/.
