EnterpriseAdminInvitations
Lists users who have been invited to join as GitHub Enterprise account administrators.
Table-Specific Information
Select
The add-in uses the GitHub API to process WHERE clause conditions that are built with the following columns and operators:
- EnterpriseSlug supports the '=,IN' comparison operators.
- Role supports the '=' comparison operator.
For example, the following queries are processed server-side:
SELECT * FROM [EnterpriseAdminInvitations]
SELECT * FROM [EnterpriseAdminInvitations] WHERE [EnterpriseSlug] = 'Val1'
SELECT * FROM [EnterpriseAdminInvitations] WHERE [Role] = 'OWNER'
The add-in processes other filters client-side within the add-in.
The add-in uses the GitHub API to process ORDER BY clause conditions that are built with the following column: CreatedAt
SELECT * FROM [EnterpriseAdminInvitations] ORDER BY [CreatedAt]
The add-in uses client-side processing when ordering by any other columns. This impacts performance.
Insert
You can use the following columns to create (insert) a new record:
- EnterpriseId
- Role
- InviteeLogin
INSERT INTO [EnterpriseAdminInvitations] ([EnterpriseId], [Role], [InviteeLogin]) VALUES ('E_kgDOAAO82g', 'OWNER', 'test')
Delete
You can specify the following column to delete a record: Id
DELETE FROM [EnterpriseAdminInvitations] WHERE [Id] = 'EAI_kwDOAAO82s4AA6xw'
Columns
Name | Type | ReadOnly | References | Description |
Id [KEY] | String | True |
The unique node ID representing the enterprise invitation object. | |
EnterpriseId | String | True |
Enterprises.Id |
The unique node ID of the enterprise associated with the invitation. |
EnterpriseSlug | String | True |
Enterprises.Slug |
The URL-friendly identifier (slug) used to reference the enterprise in URLs and APIs. |
String | True |
The email address of the person invited to join the enterprise. | ||
Role | String | True |
The role that the invited user has in the enterprise once they accept the invitation (for example, admin, member). The allowed values are OWNER, BILLING_MANAGER. | |
InviteeId | String | True |
The unique node ID of the user invited to the enterprise. Null if the invitee is not yet a registered GitHub user. | |
InviteeLogin | String | True |
The username (login) of the invited user. Null if the invitee is not yet a registered GitHub user. | |
InviterId | String | True |
The unique node ID of the user who sent the invitation. | |
InviterLogin | String | True |
The username (login) of the user who sent the invitation. | |
CreatedAt | Datetime | True |
The date and time when the invitation was created, in ISO 8601 format. |