provider migrations DELETE /user/migrations/{migration_id}/archive
@utdk/github /user/migrations/{migration_id}/archive
Delete a user migration archive
Deletes a previous migration archive. Downloadable migration archives are automatically deleted after seven days. Migration metadata, which is returned in the [List user migrations](https://docs.github.com/rest/migrations/users#list-user-migrations) and [Get a user migration status](https://docs.github.com/rest/migrations/users#get-a-user-migration-status) endpoints, will continue to be available even after an archive is deleted.
migration_id path required
The unique identifier of the migration.
integer

Try it

Authentication
Configure credentials for GitHub v3 REST API
migrations.deleteArchiveForAuthenticatedUser
DELETE/user/migrations/{migration_id}/archive
Deletes a previous migration archive. Downloadable migration archives are automatically deleted after seven days. Migration metadata, which is returned in the [List user migrations](https://docs.github.com/rest/migrations/users#list-user-migrations) and [Get a user migration status](https://docs.github.com/rest/migrations/users#get-a-user-migration-status) endpoints, will continue to be available even after an archive is deleted.

Parameters

required

The unique identifier of the migration.

Configure credentials above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import github from '@utdk/github';

await github.migrations.deleteArchiveForAuthenticatedUser()