Last updated
Last updated
Sets the administrator for a second-level domain. Owners and administrators control the domains and subdomains. A second-level domain owner can specify an administrator to manage domains. Invoking this API emits the setAdmin event.
This API requires both the owner and administrator's signatures. If the admin is not specified, the admin record will be cleaned. If the domain has expired, it's not allowed to set admin.
Example #1 Set the admin record
Request body #1
Response body #1
Example #2 Clear the admin record
Request body #2
Response body #2
Example #3 Set admin for expired domain
Request body #3
Response body #3
name
String
The second-level domain, e.g. "test.neo"
Required
admin
Address
The administrator that the owner specifies
Required