Skip to content

Manage DNS A Records with KopiCloud AD API»

KopiCloud_AD_API

Manage Microsoft DNS A Records using the KopiCloud AD API.


Get DNS A Record that match with DNS Hostname and IP Address»

GET /api/DnsARecord

Parameters

Name Type Description Mandatory
DNS_HostName string DNS Host Name Yes
IP_Address string IP Address Yes
ZoneName string DNS Zone Name Yes
Auth-Token string Bearer or Basic Authentication Token Yes

Return Schema

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
{
  "output": "string",
  "result": [
    {
      "name": "string",
      "type": "string",
      "data": "string",
      "zone": "string",
      "timestamp": "string"
    }
  ]
}

List All DNS A Records in a DNS Zone»

GET /api/DnsARecord/{ZoneName}

Parameters

Name Type Description Mandatory
ZoneName string DNS Zone Name Yes
Auth-Token string Bearer or Basic Authentication Token Yes

Return Schema

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
{
  "output": "string",
  "result": [
    {
      "name": "string",
      "type": "string",
      "data": "string",
      "zone": "string",
      "timestamp": "string"
    }
  ]
}


List All DNS A Records in All Zones»

GET /api/DnsARecord/All

Parameters

Name Type Description Mandatory
Auth-Token string Bearer or Basic Authentication Token Yes

Return Schema

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
{
  "output": "string",
  "result": [
    {
      "name": "string",
      "type": "string",
      "data": "string",
      "zone": "string",
      "timestamp": "string"
    }
  ]
}


List All DNS A Records that match with DNS Hostname»

GET /api/DnsARecord/HostName/{DNS_HostName}

Parameters

Name Type Description Mandatory
DNS_HostName string DNS Host Name Yes
Auth-Token string Bearer or Basic Authentication Token Yes

Return Schema

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
{
  "output": "string",
  "result": [
    {
      "name": "string",
      "type": "string",
      "data": "string",
      "zone": "string",
      "timestamp": "string"
    }
  ]
}

List All DNS A Records that match with IP Address»

GET /api/DnsARecord/IPAddress/{IP_Address}

Parameters

Name Type Description Mandatory
IP_Address string IP Address Yes
Auth-Token string Bearer or Basic Authentication Token Yes

Return Schema

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
{
  "output": "string",
  "result": [
    {
      "name": "string",
      "type": "string",
      "data": "string",
      "zone": "string",
      "timestamp": "string"
    }
  ]
}

Create a DNS A Records»

POST /api/DnsARecord

Parameters

Name Type Description Mandatory
DNS_HostName string DNS Host Name Yes
IP_Address string IP Address Yes
ZoneName string DNS Zone Name Yes
Auth-Token string Bearer or Basic Authentication Token Yes

Return Schema

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
{
  "output": "string",
  "result": [
    {
      "name": "string",
      "type": "string",
      "data": "string",
      "zone": "string",
      "timestamp": "string"
    }
  ]
}

Delete a DNS A Record»

DELETE /api/DnsARecord

Parameters

Name Type Description Mandatory
DNS_HostName string DNS Host Name Yes
IP_Address string IP Address Yes
ZoneName string DNS Zone Name Yes
Auth-Token string Bearer or Basic Authentication Token Yes

Return Schema

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
{
  "output": "string",
  "result": [
    {
      "name": "string",
      "type": "string",
      "data": "string",
      "zone": "string",
      "timestamp": "string"
    }
  ]
}