Create or update custom subname data
PUT /v1/subname/data
Last updated
PUT /v1/subname/data
Last updated
This allows creating user defined data object to be created and stored for the provided subname.
In order to set a data record, send a request to /subname/data/{label}/{domain}/{key}
:
label
subname
domain
second-level domain name
key
data record key
The following data payload is required to set the data object:
{ "data": data_object_to_be_stored }
If the object under the specified key
already exists, the object will be updated. Otherwise, a new object for the key
gets created.
/v1/subname/data/{label}//{domain}//{key}
The subname label
ninja
The parent ENS domain name
thenamespace.eth
Data record key.
profile-image
API key needed to access the endpoint
Data to be stored under the provided key.
No body