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.
- application/json
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
- default
The Subname was revoked successfully.
- application/json
- Schema
- Example (from schema)
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.
{
"statusCode": 200,
"result": {
"data": {
"response": "string"
},
"error": "string"
}
}
Loading...