πŸ₯·
Namespace
AppDev Portal
  • [ Introduction ]
    • ENS
    • Namespace
  • Official Links
  • Apps
    • Overview
    • Onchain Subnames (App)
      • Search & Register
      • Wizard
        • Listing an ENS Name
        • Features List
      • ENS Widget
      • Farcaster Frames
        • Default Frame
        • Custom Frame
    • Offchain Subnames (DevApp)
      • Subnames
      • Resolver set
      • API keys
  • How-to Guides and Demos
  • Dev Docs
    • SDK
      • Offchain Manager
        • Installation
        • Generate API key
        • Create or Update Subname
        • DeleteSubname
        • IsSubnameAvailable
        • GetFilteredSubnames
        • AddressRecords
          • ChainName
        • TextRecords
        • DataRecords
      • Indexer Manager
        • Installation
        • Fetch L2 Subnames
        • Fetch L2 Registries
      • Mint Manager
        • Installation
        • GetMintDetails
        • GetMintTransactionParameters
        • IsSubnameAvailable
        • How To Mint L1 & L2 subname via mint-manager
      • Namespace Client (deprecated)
        • Installation
        • GetListedName
        • GetMintDetails
        • GetMintTransactionParameters
        • IsSubnameAvailable
        • GenerateAuthToken
    • APIs
      • Offchain Manager
      • Mint Manager
    • Infrastructure
      • Namespace L2 Subnames
    • Subpages
  • Ecosystem
    • Use Cases
  • Jobs
    • πŸ“ŒWe’re Hiring πŸ‘‡
    • πŸ§‘β€πŸ’» Full-Stack Dev
    • πŸ₯· DevRel Lead
    • πŸ’Ό BD Lead
    • 🐣 Intern (dev role)
Powered by GitBook
On this page
  1. Dev Docs
  2. SDK
  3. Offchain Manager

DeleteSubname

The deleteSubname method allows you to delete an existing subname from ENS.

Usage Exampe

client.deleteSubname("ns.myensname.eth");

This will remove the specified subname and clear any associated records such as text records, address records, and content hash.

Note: Deleting a subname is a permanent operation. Ensure that you intend to remove the subname and its records before calling this method.

PreviousCreate or Update SubnameNextIsSubnameAvailable

Last updated 29 days ago