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
- List organizations
- Get an organization
- Update an organization
- Delete an organization
- List attestations by bulk subject digests
- List attestations
- 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
- REST API endpoints for API Insights
- REST API endpoints for artifact attestations
- REST API endpoints for blocking users
- 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 issue types
- REST API endpoints for 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
- REST API endpoints for network configurations
- List hosted compute network configurations for an organization
- Create a hosted compute network configuration for an organization
- Get a hosted compute network configuration for an organization
- Update a hosted compute network configuration for an organization
- Delete a hosted compute network configuration from an organization
- Get a hosted compute network settings resource for an organization
- REST API endpoints for organization roles
- Get all organization roles for an organization
- 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
- 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