This version of GitHub Enterprise Server will be discontinued on 2026-03-17. No patch releases will be made, even for critical security issues. For better performance, improved security, and new features, upgrade to the latest version of GitHub Enterprise Server. For help with the upgrade, contact GitHub Enterprise support.
The REST API is now versioned. For more information, see "About API versioning."
REST API endpoints for organizations
Use the REST API to control and manage all your GitHub organizations.
- REST API endpoints for organizations
- REST API endpoints for custom properties
- Get all custom properties for an organization
- Create or update custom properties for an organization
- Get a custom property for an organization
- Create or update a custom property for an organization
- Remove a custom property for an organization
- List custom property values for organization repositories
- Create or update custom property values for organization repositories
- REST API endpoints for custom repository roles
- REST API endpoints for organization members
- 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
- REST API endpoints for organization roles
- List organization fine-grained permissions for an organization
- Get all organization roles for an organization
- Create a custom organization role
- Remove all organization roles for a team
- Assign an organization role to a team
- Remove an organization role from a team
- Remove all organization roles for a user
- Assign an organization role to a user
- Remove an organization role from a user
- Get an organization role
- Update a custom organization role
- Delete a custom organization role.
- List teams that are assigned to an organization role
- List users that are assigned to an organization role
- REST API endpoints for outside collaborators
- REST API endpoints for 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
- REST API endpoints for rule suites
- REST API endpoints for rules
- REST API endpoints for security managers
- REST API endpoints for organization 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