Skip to main content

orgs

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

Overview

Nameorgs
TypeResource
Idgithub.migrations.orgs

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
delete_archive_for_orgdeleteorg, migration_idDeletes a previous migration archive. Migration archives are automatically deleted after seven days.

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
migration_idintegerThe unique identifier of the migration.
orgstringThe organization name. The name is not case sensitive.

DELETE examples

Deletes a previous migration archive. Migration archives are automatically deleted after seven days.

DELETE FROM github.migrations.orgs
WHERE org = '{{ org }}' --required
AND migration_id = '{{ migration_id }}' --required
;