From cb4088cc2b8a7229a427ef29c014831e70a32352 Mon Sep 17 00:00:00 2001 From: Joe Harrington <21954788+harringj@users.noreply.github.com> Date: Tue, 19 Oct 2021 12:00:30 -0400 Subject: [PATCH] updates step 4 to use token auth --- .../exporting-migration-data-from-githubcom.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/admin/user-management/migrating-data-to-and-from-your-enterprise/exporting-migration-data-from-githubcom.md b/content/admin/user-management/migrating-data-to-and-from-your-enterprise/exporting-migration-data-from-githubcom.md index e767e4707a..7154212cf8 100644 --- a/content/admin/user-management/migrating-data-to-and-from-your-enterprise/exporting-migration-data-from-githubcom.md +++ b/content/admin/user-management/migrating-data-to-and-from-your-enterprise/exporting-migration-data-from-githubcom.md @@ -74,8 +74,8 @@ The Migrations API is currently in a preview period, which means that the endpoi * Your access token for authentication. * The unique `id` of the migration: ```shell - curl -H "Accept: application/vnd.github.wyandotte-preview+json" \ - -u GITHUB_USERNAME:GITHUB_ACCESS_TOKEN \ + curl -H "Authorization: token GITHUB_ACCESS_TOKEN" \ + -H "Accept: application/vnd.github.wyandotte-preview+json" \ -L -o migration_archive.tar.gz \ https://api.github.com/orgs/orgname/migrations/id/archive ```