DNS
Manage DNS zones and DNS records programmatically using the DNS API.
For more information about the DNS service, see the DNS documentation.
Creates a new DNS zone for the specified organization in the Medianova Control Panel.
Unique identifier for the organization.
The full domain name of the DNS zone to create.
Successful response
Indicates whether the DNS zone creation was successful.
Validation error
POST /api/v1/automation/{org_uuid}/dns/zones HTTP/1.1
Host: cloud.medianova.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 15
{
"name": "text"
}{
"status": true,
"data": {
"id": "text",
"name": "text",
"organization_uuid": "text",
"active": true,
"create_date": "2026-01-01T00:00:00.000Z"
}
}Permanently removes the specified DNS zone and all associated records from the Medianova Control Panel.
Unique identifier for the organization.
Unique identifier for the DNS zone to be deleted.
Successful response
Indicates whether the deletion was successful.
Confirmation message regarding the deletion process.
Unique identifier for the operation log.
Validation error
DELETE /api/v1/automation/{org_uuid}/dns/zones/{zone_uuid} HTTP/1.1
Host: cloud.medianova.com
Accept: */*
{
"status": true,
"message": "text",
"operation_id": "text"
}Retrieves a list of all DNS records configured for a specific zone.
Unique identifier for the organization.
Unique identifier for the DNS zone.
Successful response
Indicates whether the request was successful.
Validation error
GET /api/v1/automation/{org_uuid}/dns/zones/{zone_uuid}/records HTTP/1.1
Host: cloud.medianova.com
Accept: */*
{
"status": true,
"data": [
{
"id": "text",
"domain": "text",
"type": "text",
"ttl": 1,
"proxy": true
}
]
}Adds one or more DNS records to a specific zone in the Medianova Control Panel.
Unique identifier for the organization.
Unique identifier for the DNS zone.
The DNS record type (e.g., A, CNAME, TXT).
The domain or subdomain for the DNS record.
Time to Live in seconds.
Indicates whether the record is proxied through the Medianova network.
falseSuccessful response
Indicates whether the record creation was successful.
Status message describing the operation result.
Validation error
POST /api/v1/automation/{org_uuid}/dns/zones/{zone_uuid}/records HTTP/1.1
Host: cloud.medianova.com
Content-Type: application/json
Accept: */*
Content-Length: 87
[
{
"type": "text",
"domain": "text",
"answers": [
{
"answer": [
"text"
]
}
],
"ttl": 1,
"proxy": false
}
]{
"status": true,
"message": "text"
}Updates an existing DNS record within a specific zone in the Medianova Control Panel.
Unique identifier for the organization.
Unique identifier for the DNS zone.
Unique identifier for the DNS record to update.
DNS record type (e.g., A, CNAME, TXT).
The domain or subdomain for the record.
Time to Live in seconds.
Indicates whether the record is proxied through the Medianova network.
Successful response
Indicates whether the update was successful.
Status message regarding the update operation.
Validation error
PUT /api/v1/automation/{org_uuid}/dns/zones/{zone_uuid}/records/{record_uuid} HTTP/1.1
Host: cloud.medianova.com
Content-Type: application/json
Accept: */*
Content-Length: 84
{
"type": "text",
"domain": "text",
"answers": [
{
"answer": [
"text"
]
}
],
"ttl": 1,
"proxy": true
}{
"status": true,
"message": "text"
}Deletes a specific answer value from an existing DNS record in the Medianova Control Panel.
Unique identifier for the organization.
Unique identifier for the DNS zone.
Unique identifier for the DNS record.
The specific answer value to be removed from the record.
Successful response
Indicates whether the deletion was successful.
Status message regarding the deletion result.
Unique identifier for the operation log.
Validation error
DELETE /api/v1/automation/{org_uuid}/dns/zones/{zone_uuid}/records/{record_uuid} HTTP/1.1
Host: cloud.medianova.com
Content-Type: application/json
Accept: */*
Content-Length: 16
{
"value": "text"
}{
"status": true,
"message": "text",
"operation_id": "text"
}Last updated
Was this helpful?