Skip to main content

删除企业帐户

可以删除企业帐户以停止支付 GitHub Enterprise 的费用。

谁可以使用此功能?

Enterprise owners can delete an enterprise account if the company pays by credit card or PayPal.

Can I delete my enterprise account?

You can only delete your enterprise account if your enterprise uses personal accounts on GitHub.com, and your business pays by credit card or PayPal.

If your company uses Enterprise Managed Users or pays via invoice, and you want to stop paying for GitHub Enterprise altogether, contact GitHub's Sales team.

What happens when I delete the account?

Deleting your enterprise account cancels the enterprise license and removes the enterprise account from GitHub.

If there are any outstanding balances on your account, you will be charged a one-time payment when you initiate the deletion process. If you delete your enterprise account partway through a billing cycle, contact us through the GitHub Support portal to request a prorated refund for the remainder of the billing cycle.

When you delete your enterprise account, you lose the policies, billing settings, and user roles you've configured. You do not lose data like repositories or packages, unless you choose to delete the organizations that contain that data.

If you upgraded to an enterprise account from a single organization and then delete that enterprise account, the associated billing history will also be deleted. We recommend that you save any important billing information before deleting your enterprise account.

Prerequisites

You must remove, transfer, or delete all organizations in the enterprise before you can delete the enterprise account. For more information, see "Adding organizations to your enterprise" and "Removing organizations from your enterprise."

Deleting an enterprise account on GitHub

  1. In the top-right corner of GitHub, click your profile photo.
  2. Depending on your environment, click Your enterprise, or click Your enterprises then click the enterprise you want to view.
  3. On the left side of the page, in the enterprise account sidebar, click Settings.
  4. If you are not trialing GitHub Enterprise Cloud, delete your enterprise account:
    1. Under Settings, click Profile.
    2. In the "Danger Zone" section, click Delete this enterprise.
    3. In the text box, type the enterprise slug to confirm the deletion, then click Delete this enterprise.
  5. If you are trialing GitHub Enterprise Cloud, cancel your trial, or delete the expired trial:
    1. Under Settings, click Billing.
    2. At the top of the page, click Cancel trial if your trial is active, or click Delete trial if your trial is expired.
    3. Follow the prompts.

If you want to restore an enterprise account that you have deleted, you must contact us through the GitHub Support portal.