Create User Domain
Create a new domain registration.
Validates the domain name and checks for conflicts before creating a
PENDING registration. The domain will be processed by a background worker
which will attempt to register it on the smart contract.
Optionally, an agent address can be provided to associate the domain
with an agent immediately. Maximum one domain per agent is allowed.
Request
This endpoint expects an object.
domain_name
agent_records
Response
Successful Response
name
status
assigned_agents
expiry