Domain
DNS zone management.
create-dns-domain
Create DNS domain
POST /dns-domainRequest body
Content-Type: application/json
| Property | Type | Required | Description |
|---|---|---|---|
unicode-name | string | no | Domain name |
Example
{
"unicode-name": "string"
}Responses
Status: 200 - 200
Content-Type: application/json
| Property | Type | Description |
|---|---|---|
id | string | Operation ID |
message | string | Operation message |
reason | string | Operation failure reason Allowed values: incorrect, unknown, unavailable, forbidden, busy, fault, partial, not-found, interrupted, unsupported, conflict. |
reference | object | Related resource reference schema details |
state | string | Operation status Allowed values: failure, pending, success, timeout. |
Example output
{
"id": "string",
"message": "string",
"reason": "incorrect",
"reference": {
"command": "string",
"id": "string",
"link": "string"
},
"state": "failure"
}SDK reference for create-dns-domain: golang | Python | Java
CLI: exo api create-dns-domain
get-dns-domain
Retrieve DNS domain details
GET /dns-domain/{id}Path parameters
| Name | In | Description |
|---|---|---|
id | path |
Responses
Status: 200 - 200
Content-Type: application/json
| Property | Type | Description |
|---|---|---|
created-at | string | DNS domain creation date |
id | string | DNS domain ID |
unicode-name | string | DNS domain unicode name |
Example output
{
"created-at": "2024-01-01T12:00:00Z",
"id": "string",
"unicode-name": "string"
}SDK reference for get-dns-domain: golang | Python | Java
CLI: exo api get-dns-domain
delete-dns-domain
Delete DNS Domain
DELETE /dns-domain/{id}Path parameters
| Name | In | Description |
|---|---|---|
id | path |
Responses
Status: 200 - 200
Content-Type: application/json
| Property | Type | Description |
|---|---|---|
id | string | Operation ID |
message | string | Operation message |
reason | string | Operation failure reason Allowed values: incorrect, unknown, unavailable, forbidden, busy, fault, partial, not-found, interrupted, unsupported, conflict. |
reference | object | Related resource reference schema details |
state | string | Operation status Allowed values: failure, pending, success, timeout. |
Example output
{
"id": "string",
"message": "string",
"reason": "incorrect",
"reference": {
"command": "string",
"id": "string",
"link": "string"
},
"state": "failure"
}SDK reference for delete-dns-domain: golang | Python | Java
CLI: exo api delete-dns-domain
Other Operations
get-dns-domain-zone-file
Retrieve DNS domain zone file
GET /dns-domain/{id}/zonePath parameters
| Name | In | Description |
|---|---|---|
id | path |
Responses
Status: 200 - 200
Content-Type: application/json
| Property | Type | Description |
|---|---|---|
zone-file | string |
Example output
{
"zone-file": "string"
}SDK reference for get-dns-domain-zone-file: golang | Python | Java
CLI: exo api get-dns-domain-zone-file
list-dns-domains
List DNS domains
GET /dns-domainResponses
Status: 200 - 200
Content-Type: application/json
| Property | Type | Description |
|---|---|---|
dns-domains | array[object] | schema details |
Example output
{
"dns-domains": [
{
"created-at": "2024-01-01T12:00:00Z",
"id": "string",
"unicode-name": "string"
}
]
}SDK reference for list-dns-domains: golang | Python | Java
CLI: exo api list-dns-domains