Update

Update Subname

post
/ens/v1/subname/update

Update the specified subname's data

Header parameters
x-signaturestringRequired

The signature.

x-messagestringRequired

The Message.

x-addressstringRequired

The Address.

Body
usernamestringRequired

The username

Example: dev
ensDomainstringRequired

The second-level domain

Example: jan.eth
chainIdnumberRequired

Chain id, we only support Ethereum Mainnet and Sepolia Testnet (1 for mainnet, 11155111 for sepolia)

Example: 11155111
contentHashstringOptional

The new contentHash of the subdomain

Example: ipfs://QmRAQB6YaCyidP37UdDnjFY5vQuiBrcqdyoW1CuDgwxkD4
Responses
post
/ens/v1/subname/update
default

The Subname was updated successfully.

Was this helpful?