Skip to main content

enterprise_team_organization_bulk_additions

Creates, updates, deletes, gets or lists an enterprise_team_organization_bulk_additions resource.

Overview​

Nameenterprise_team_organization_bulk_additions
TypeResource
Idgithub.enterprise_team_organizations.enterprise_team_organization_bulk_additions

Fields​

The following fields are returned by SELECT queries:

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
bulk_addinsertenterprise, enterprise-team, organization_slugsAssign an enterprise team to multiple organizations.

Parameters​

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
enterprisestringThe slug version of the enterprise name.
enterprise-teamstringThe slug version of the enterprise team name. You can also substitute this value with the enterprise team id.

INSERT examples​

Assign an enterprise team to multiple organizations.

INSERT INTO github.enterprise_team_organizations.enterprise_team_organization_bulk_additions (
organization_slugs,
enterprise,
enterprise-team
)
SELECT
'{{ organization_slugs }}' /* required */,
'{{ enterprise }}',
'{{ enterprise-team }}'
RETURNING
id,
node_id,
avatar_url,
description,
events_url,
hooks_url,
issues_url,
login,
members_url,
public_members_url,
repos_url,
url
;