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 ```