Skip to main content

Revoke Subname

POST 

/ens/v1/subdomain/revoke

Revoke the specified subname

Request

Header Parameters

    x-api-key stringrequired

    The Api Key.

    x-signature stringrequired

    The signature.

    x-message stringrequired

    The Message.

    x-address stringrequired

    The Address.

Body

required
    ensDomain stringrequired

    The name of the ens domain

    username stringrequired

    The name of the subdomain

    chainId numberrequired

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

Responses

The Subname was revoked successfully.

Schema
    statusCode numberrequired

    The status code of the response.

    result objectrequired
    data objectrequired
    response stringrequired
    error stringrequired

    Null if no error occurred, otherwise the error message.

Loading...