enterprise_team_organization_bulk_additions
Creates, updates, deletes, gets or lists an enterprise_team_organization_bulk_additions resource.
Overview
| Name | enterprise_team_organization_bulk_additions |
| Type | Resource |
| Id | github.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:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
bulk_add | insert | enterprise, enterprise-team, organization_slugs | Assign 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.
| Name | Datatype | Description |
|---|---|---|
enterprise | string | The slug version of the enterprise name. |
enterprise-team | string | The slug version of the enterprise team name. You can also substitute this value with the enterprise team id. |
INSERT examples
- bulk_add
- Manifest
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
;
# Description fields are for documentation purposes
- name: enterprise_team_organization_bulk_additions
props:
- name: enterprise
value: "{{ enterprise }}"
description: Required parameter for the enterprise_team_organization_bulk_additions resource.
- name: enterprise-team
value: "{{ enterprise-team }}"
description: Required parameter for the enterprise_team_organization_bulk_additions resource.
- name: organization_slugs
value:
- "{{ organization_slugs }}"
description: |
Organization slug to assign the team to.