---
schema_version: "1"
id: 1d5de49c4d244d7154de3ed7c8b4aad900244b1b71884d987c84169820dfba95
title: Manage Scratch Orgs from the Dev Hub Org
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/platform-pkg-exchange/managed_packaging/guides/sfdx-dev/scratch-orgs/sfdx-dev-scratch-orgs-view-lex.md
canonical_url: https://developer.salesforce.com/docs/platform/pkg2-dev/guide/sfdx-dev-scratch-orgs-view-lex.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: beeefab94eb312f248bf69a4492b7c09aac7ca41d5e01f8527faa267aeb721ec
products:
  - Second-Generation Managed Packaging Developer Guide
  - merged-docs
---

# Manage Scratch Orgs from the Dev Hub Org

You can view and delete your scratch orgs and their associated requests from the Dev Hub org.

## Before You Begin

In the Dev Hub org, the ActiveScratchOrg standard object represents the scratch orgs that are currently in use. The ScratchOrgInfo standard object represents the requests that were used to create scratch orgs and provides historical context.

1.  Log in to the Dev Hub org as the System Administrator or as a user with the Salesforce DX permissions.

2.  From the App Launcher, select **Active Scratch Orgs** to see a list of all active scratch orgs.

    To view more details about a scratch org, click the link in the Number column.

3.  To delete an active scratch org from the Active Scratch Orgs list view, choose **Delete** from the dropdown.

    Deleting an active scratch org doesn’t delete the request (ScratchOrgInfo) that created it, but it does free up a scratch org so that it doesn’t count against your allocations.

4.  To view the requests that created the scratch orgs, select **Scratch Org Infos** from the App Launcher.

    To view more details about a request, click the link in the Number column. The details of a scratch org request include whether it's active, expired, or deleted.

5.  To delete the request that was used to create a scratch org, choose **Delete** from the dropdown.

    Deleting the request (ScratchOrgInfo) also deletes the active scratch org.
