Create Domain

Type: POST

https://cloud.syminet.com/api/v1/domains/create

Add a new domain.

Required JSON Properties:

domain_name

FQDN (Fully Qualified Domain Name) for new domain.

Curl
 curl --request POST \
      --url https://cloud.syminet.com/api/v1/domains/create \
      --header "content-type: application/json" \
      --header "authorization:bearer $API_TOKEN" \
      --data '
      {
         "domain_name": "example.com"
      }
      '
Response
 {
   "created" : "2025-02-06 17:19:36.925397",
   "domain_name" : "example.com",
   "domain_uuid" : "f8f63bb1-779c-42b0-868a-33b70274a907",
   "id" : 244,
   "perms" : "rw",
   "user_id" : 1234
 }