Skip to main content
GitHub 文档
Version:
Free, Pro, & Team
搜索 GitHub Docs
REST API
/
组织
All products
REST API
API Version:
2022-11-28 (latest)
快速入门
概述
Guides
REST API 参考
操作
活动
应用
计费
分支
检查
Codes of conduct
代码扫描
Codespaces
协作者
提交
Copilot
Dependabot
依赖项关系图
部署密钥
部署
表情符号
Gists
Git 数据库
Gitignore
交互
问题
许可证
Markdown
元数据
指标
迁移
组织
阻止用户
成员
组织
外部协作者
个人访问令牌
规则
安全经理
Webhook
包
页
Projects (classic)
拉取
速率限制
反应
发行版本
存储库
搜索
机密扫描
安全通知
Teams
用户
仓库 web 挂钩
REST API 现已经过版本控制。
有关详细信息,请参阅“
关于 API 版本控制
”。
REST API
/
组织
组织
使用 REST API 控制并管理所有 GitHub 组织。
Orgs
List organizations
Get an organization
Update an organization
Delete an organization
List app installations for an organization
Enable or disable a security feature for an organization
List organizations for the authenticated user
List organizations for a user
Blocking
List users blocked by an organization
Check if a user is blocked by an organization
Block a user from an organization
Unblock a user from an organization
Members
List failed organization invitations
List pending organization invitations
Create an organization invitation
Cancel an organization invitation
List organization invitation teams
List organization members
Check organization membership for a user
Remove an organization member
Get organization membership for a user
Set organization membership for a user
Remove organization membership for a user
List public organization members
Check public organization membership for a user
Set public organization membership for the authenticated user
Remove public organization membership for the authenticated user
List organization memberships for the authenticated user
Get an organization membership for the authenticated user
Update an organization membership for the authenticated user
Outside collaborators
List outside collaborators for an organization
Convert an organization member to outside collaborator
Remove outside collaborator from an organization
Personal access tokens
List requests to access organization resources with fine-grained personal access tokens
Review requests to access organization resources with fine-grained personal access tokens
Review a request to access organization resources with a fine-grained personal access token
List repositories requested to be accessed by a fine-grained personal access token
List fine-grained personal access tokens with access to organization resources
Update the access to organization resources via fine-grained personal access tokens
Update the access a fine-grained personal access token has to organization resources
List repositories a fine-grained personal access token has access to
Rules
Get all organization repository rulesets
Create an organization repository ruleset
Get an organization repository ruleset
Update an organization repository ruleset
Delete an organization repository ruleset
Security managers
List security manager teams
Add a security manager team
Remove a security manager team
Webhooks
List organization webhooks
Create an organization webhook
Get an organization webhook
Update an organization webhook
Delete an organization webhook
Get a webhook configuration for an organization
Update a webhook configuration for an organization
List deliveries for an organization webhook
Get a webhook delivery for an organization webhook
Redeliver a delivery for an organization webhook
Ping an organization webhook