enterprise_team_organization_bulk_removals
Creates, updates, deletes, gets or lists an enterprise_team_organization_bulk_removals resource.
Overview
| Name | enterprise_team_organization_bulk_removals |
| Type | Resource |
| Id | github.enterprise_team_organizations.enterprise_team_organization_bulk_removals |
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_remove | insert | enterprise, enterprise-team, organization_slugs | Unassign an enterprise team from 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_remove
- Manifest
Unassign an enterprise team from multiple organizations.
INSERT INTO github.enterprise_team_organizations.enterprise_team_organization_bulk_removals (
organization_slugs,
enterprise,
enterprise-team
)
SELECT
'{{ organization_slugs }}' /* required */,
'{{ enterprise }}',
'{{ enterprise-team }}'
;
# Description fields are for documentation purposes
- name: enterprise_team_organization_bulk_removals
props:
- name: enterprise
value: "{{ enterprise }}"
description: Required parameter for the enterprise_team_organization_bulk_removals resource.
- name: enterprise-team
value: "{{ enterprise-team }}"
description: Required parameter for the enterprise_team_organization_bulk_removals resource.
- name: organization_slugs
value:
- "{{ organization_slugs }}"
description: |
Organization slug to unassign the team from.