LivednsRecord
A DNS record set, by fqdn, rrset_name and rrset_type: list, create, get, replace, update or delete one; every record of one name (name); or a verification record (verification).
Operations
Every route this entity exposes. Each route links to its own reference on this page.
| Method | Route | SDK operation | Returns |
|---|---|---|---|
POST |
/livedns/domains/{fqdn}/records/{rrset_name}/{rrset_type} |
create |
OK |
POST |
/livedns/domains/{fqdn}/verification/{rrset_name}/{rrset_type} |
create |
OK |
POST |
/livedns/domains/{fqdn}/records/{rrset_name} |
create |
OK |
POST |
/livedns/domains/{fqdn}/records |
create |
OK |
GET |
/livedns/domains/{fqdn}/records/{rrset_name} |
list |
OK |
GET |
/livedns/domains/{fqdn}/records |
list |
OK |
GET |
/livedns/domains/{fqdn}/records/{rrset_name}/{rrset_type} |
load |
OK |
PATCH |
/livedns/domains/{fqdn}/records/{rrset_name}/{rrset_type} |
patch |
OK |
DELETE |
/livedns/domains/{fqdn}/records/{rrset_name}/{rrset_type} |
remove |
No Content |
DELETE |
/livedns/domains/{fqdn}/records/{rrset_name} |
remove |
No Content |
PUT |
/livedns/domains/{fqdn}/records/{rrset_name}/{rrset_type} |
update |
Created |
PUT |
/livedns/domains/{fqdn}/records/{rrset_name} |
update |
Created |
Examples
One example per SDK, generated from the API model. The argument names are the parameters and fields of this entity, and the values are placeholders. The examples are not compiled or executed.
Golang
Construct client as shown in the Golang setup, then call the operations:
livedns_records, err := client.LivednsRecord(nil).List(map[string]any{"fqdn": "example"}, nil)
if err != nil {
panic(err)
}
fmt.Println(livedns_records)
livedns_record, err := client.LivednsRecord(nil).Load(map[string]any{"fqdn": "example", "rrset_name": "example", "rrset_type": "example"}, nil)
if err != nil {
panic(err)
}
fmt.Println(livedns_record)
created, err := client.LivednsRecord(nil).Create(map[string]any{"fqdn": "example", "rrset_values": []any{}}, nil)
if err != nil {
panic(err)
}
fmt.Println(created)
updated, err := client.LivednsRecord(nil).Update(map[string]any{"fqdn": "example", "rrset_name": "example", "rrset_type": "example"}, nil)
if err != nil {
panic(err)
}
fmt.Println(updated)
patched, err := client.LivednsRecord(nil).Patch(map[string]any{"fqdn": "example", "rrset_name": "example", "rrset_type": "example"}, nil)
if err != nil {
panic(err)
}
fmt.Println(patched)
removed, err := client.LivednsRecord(nil).Remove(map[string]any{"fqdn": "example", "rrset_name": "example", "rrset_type": "example"}, nil)
if err != nil {
panic(err)
}
fmt.Println(removed)
Lua
Construct client as shown in the Lua setup, then call the operations:
local livedns_records, err = client:LivednsRecord():list({ fqdn = "example" })
local livedns_record, err = client:LivednsRecord():load({ fqdn = "example", rrset_name = "example", rrset_type = "example" })
local created, err = client:LivednsRecord():create({ fqdn = "example", rrset_values = {} })
local updated, err = client:LivednsRecord():update({ fqdn = "example", rrset_name = "example", rrset_type = "example" })
local patched, err = client:LivednsRecord():patch({ fqdn = "example", rrset_name = "example", rrset_type = "example" })
local removed, err = client:LivednsRecord():remove({ fqdn = "example", rrset_name = "example", rrset_type = "example" })
PHP
Construct client as shown in the PHP setup, then call the operations:
$livedns_records = $client->LivednsRecord()->list(["fqdn" => "example"]);
$livedns_record = $client->LivednsRecord()->load(["fqdn" => "example", "rrset_name" => "example", "rrset_type" => "example"]);
$created = $client->LivednsRecord()->create(["fqdn" => "example", "rrset_values" => []]);
$updated = $client->LivednsRecord()->update(["fqdn" => "example", "rrset_name" => "example", "rrset_type" => "example"]);
$patched = $client->LivednsRecord()->patch(["fqdn" => "example", "rrset_name" => "example", "rrset_type" => "example"]);
$client->LivednsRecord()->remove(["fqdn" => "example", "rrset_name" => "example", "rrset_type" => "example"]);
Python
Construct client as shown in the Python setup, then call the operations:
livedns_records = client.LivednsRecord().list({"fqdn": "example"})
livedns_record = client.LivednsRecord().load({"fqdn": "example", "rrset_name": "example", "rrset_type": "example"})
created = client.LivednsRecord().create({ "fqdn": "example", "rrset_values": [] })
updated = client.LivednsRecord().update({"fqdn": "example", "rrset_name": "example", "rrset_type": "example"})
patched = client.LivednsRecord().patch({"fqdn": "example", "rrset_name": "example", "rrset_type": "example"})
client.LivednsRecord().remove({"fqdn": "example", "rrset_name": "example", "rrset_type": "example"})
Ruby
Construct client as shown in the Ruby setup, then call the operations:
livedns_records = client.LivednsRecord.list({ "fqdn" => "example" })
livedns_record = client.LivednsRecord.load({ "fqdn" => "example", "rrset_name" => "example", "rrset_type" => "example" })
created = client.LivednsRecord.create({ "fqdn" => "example", "rrset_values" => [] })
updated = client.LivednsRecord.update({ "fqdn" => "example", "rrset_name" => "example", "rrset_type" => "example" })
patched = client.LivednsRecord.patch({ "fqdn" => "example", "rrset_name" => "example", "rrset_type" => "example" })
client.LivednsRecord.remove({ "fqdn" => "example", "rrset_name" => "example", "rrset_type" => "example" })
TypeScript
Construct client as shown in the TypeScript setup, then call the operations:
const livedns_records = await client.LivednsRecord().list({ fqdn: "example" })
const livedns_record = await client.LivednsRecord().load({ fqdn: "example", rrset_name: "example", rrset_type: "example" })
const created = await client.LivednsRecord().create({ fqdn: "example", rrset_values: [] })
const updated = await client.LivednsRecord().update({ fqdn: "example", rrset_name: "example", rrset_type: "example" })
const patched = await client.LivednsRecord().patch({ fqdn: "example", rrset_name: "example", rrset_type: "example" })
await client.LivednsRecord().remove({ fqdn: "example", rrset_name: "example", rrset_type: "example" })
Fields
| Field | Type | Required | Description |
|---|---|---|---|
add_rrset_values |
array |
No | Add Rrset Values |
id |
string |
No | Id |
message |
string |
Yes | Message |
remove_rrset_values |
array |
No | Remove Rrset Values |
rrset_href |
string |
Yes | Rrset Href |
rrset_name |
string |
Yes | Rrset Name |
rrset_ttl |
integer |
No | Rrset Ttl |
rrset_type |
string |
Yes | Rrset Type |
rrset_values |
array |
Yes | Rrset Values |
create
POST /livedns/domains/{fqdn}/records/{rrset_name}/{rrset_type}
Operation ID: postLivednsDomainsFqdnRecordsRrsetNameRrsetType.
Authentication: bearer token (bearerAuth).
Parameters
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
fqdn |
path |
string |
Yes | |
rrset_name |
path |
string |
Yes | |
rrset_type |
path |
enum: A, AAAA, ALIAS, CAA, CDS, CNAME, ... |
Yes |
Request body
application/json
| Property | Type | Required | Description |
|---|---|---|---|
rrset_ttl |
integer |
No | |
rrset_values |
array of string |
Yes |
Responses
200: OK
application/json
| Property | Type | Required | Description |
|---|---|---|---|
message |
string |
Yes |
201: Created
application/json
| Property | Type | Required | Description |
|---|---|---|---|
message |
string |
Yes |
401: Unauthorized
application/json
| Property | Type | Required | Description |
|---|---|---|---|
cause |
string |
Yes | |
code |
integer |
Yes | |
message |
string |
Yes | |
object |
string |
Yes |
403: Forbidden
application/json
| Property | Type | Required | Description |
|---|---|---|---|
cause |
string |
Yes | |
code |
integer |
Yes | |
message |
string |
Yes | |
object |
string |
Yes |
409: Conflict
application/json
| Property | Type | Required | Description |
|---|---|---|---|
cause |
string |
Yes | |
code |
integer |
Yes | |
message |
string |
Yes | |
object |
string |
Yes |
POST /livedns/domains/{fqdn}/verification/{rrset_name}/{rrset_type}
Operation ID: postLivednsDomainsFqdnVerificationRrsetNameRrsetType.
Authentication: bearer token (bearerAuth).
Parameters
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
fqdn |
path |
string |
Yes | |
rrset_name |
path |
string |
Yes | |
rrset_type |
path |
enum: TXT, CNAME |
Yes |
Request body
application/json
| Property | Type | Required | Description |
|---|---|---|---|
rrset_values |
array of string |
Yes |
Responses
200: OK
application/json
| Property | Type | Required | Description |
|---|---|---|---|
rrset_name |
string |
Yes | |
rrset_ttl |
integer |
Yes | |
rrset_type |
string |
Yes | |
rrset_values |
array of string |
Yes |
401: Unauthorized
application/json
| Property | Type | Required | Description |
|---|---|---|---|
cause |
string |
Yes | |
code |
integer |
Yes | |
message |
string |
Yes | |
object |
string |
Yes |
403: Forbidden
application/json
| Property | Type | Required | Description |
|---|---|---|---|
cause |
string |
Yes | |
code |
integer |
Yes | |
message |
string |
Yes | |
object |
string |
Yes |
POST /livedns/domains/{fqdn}/records/{rrset_name}
Operation ID: postLivednsDomainsFqdnRecordsRrsetName.
Authentication: bearer token (bearerAuth).
Parameters
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
fqdn |
path |
string |
Yes | |
rrset_name |
path |
string |
Yes |
Request body
application/json
| Property | Type | Required | Description |
|---|---|---|---|
rrset_ttl |
integer |
No | |
rrset_type |
enum: A, AAAA, ALIAS, CAA, CDS, CNAME, ... |
Yes | |
rrset_values |
array of string |
Yes |
Responses
200: OK
application/json
| Property | Type | Required | Description |
|---|---|---|---|
message |
string |
Yes |
201: Created
application/json
| Property | Type | Required | Description |
|---|---|---|---|
message |
string |
Yes |
401: Unauthorized
application/json
| Property | Type | Required | Description |
|---|---|---|---|
cause |
string |
Yes | |
code |
integer |
Yes | |
message |
string |
Yes | |
object |
string |
Yes |
403: Forbidden
application/json
| Property | Type | Required | Description |
|---|---|---|---|
cause |
string |
Yes | |
code |
integer |
Yes | |
message |
string |
Yes | |
object |
string |
Yes |
409: Conflict
application/json
| Property | Type | Required | Description |
|---|---|---|---|
cause |
string |
Yes | |
code |
integer |
Yes | |
message |
string |
Yes | |
object |
string |
Yes |
POST /livedns/domains/{fqdn}/records
Operation ID: postLivednsDomainsFqdnRecords.
Authentication: bearer token (bearerAuth).
Parameters
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
fqdn |
path |
string |
Yes |
Request body
application/json
| Property | Type | Required | Description |
|---|---|---|---|
rrset_name |
string |
Yes | |
rrset_ttl |
integer |
No | |
rrset_type |
enum: A, AAAA, ALIAS, CAA, CDS, CNAME, ... |
Yes | |
rrset_values |
array of string |
Yes |
Responses
200: OK
application/json
| Property | Type | Required | Description |
|---|---|---|---|
message |
string |
Yes |
201: Created
application/json
| Property | Type | Required | Description |
|---|---|---|---|
message |
string |
Yes |
401: Unauthorized
application/json
| Property | Type | Required | Description |
|---|---|---|---|
cause |
string |
Yes | |
code |
integer |
Yes | |
message |
string |
Yes | |
object |
string |
Yes |
403: Forbidden
application/json
| Property | Type | Required | Description |
|---|---|---|---|
cause |
string |
Yes | |
code |
integer |
Yes | |
message |
string |
Yes | |
object |
string |
Yes |
409: Conflict
application/json
| Property | Type | Required | Description |
|---|---|---|---|
cause |
string |
Yes | |
code |
integer |
Yes | |
message |
string |
Yes | |
object |
string |
Yes |
list
GET /livedns/domains/{fqdn}/records/{rrset_name}
Operation ID: getLivednsDomainsFqdnRecordsRrsetName.
Authentication: bearer token (bearerAuth).
Parameters
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
fqdn |
path |
string |
Yes | |
rrset_name |
path |
string |
Yes |
Responses
200: OK
application/json
| Property | Type | Required | Description |
|---|---|---|---|
[].rrset_href |
string |
Yes | |
[].rrset_name |
string |
Yes | |
[].rrset_ttl |
integer |
No | |
[].rrset_type |
enum: A, AAAA, ALIAS, CAA, CDS, CNAME, ... |
Yes | |
[].rrset_values |
array of string |
Yes |
401: Unauthorized
application/json
| Property | Type | Required | Description |
|---|---|---|---|
cause |
string |
Yes | |
code |
integer |
Yes | |
message |
string |
Yes | |
object |
string |
Yes |
403: Forbidden
application/json
| Property | Type | Required | Description |
|---|---|---|---|
cause |
string |
Yes | |
code |
integer |
Yes | |
message |
string |
Yes | |
object |
string |
Yes |
GET /livedns/domains/{fqdn}/records
Operation ID: getLivednsDomainsFqdnRecords.
Authentication: bearer token (bearerAuth).
Parameters
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
fqdn |
path |
string |
Yes | |
page |
query |
integer |
No | |
per_page |
query |
integer |
No | |
rrset_type |
query |
enum: A, AAAA, ALIAS, CAA, CDS, CNAME, ... |
No | |
sort_by |
query |
string |
No |
Responses
200: OK
application/json
| Property | Type | Required | Description |
|---|---|---|---|
[].rrset_href |
string |
Yes | |
[].rrset_name |
string |
Yes | |
[].rrset_ttl |
integer |
No | |
[].rrset_type |
enum: A, AAAA, ALIAS, CAA, CDS, CNAME, ... |
Yes | |
[].rrset_values |
array of string |
Yes |
401: Unauthorized
application/json
| Property | Type | Required | Description |
|---|---|---|---|
cause |
string |
Yes | |
code |
integer |
Yes | |
message |
string |
Yes | |
object |
string |
Yes |
403: Forbidden
application/json
| Property | Type | Required | Description |
|---|---|---|---|
cause |
string |
Yes | |
code |
integer |
Yes | |
message |
string |
Yes | |
object |
string |
Yes |
load
GET /livedns/domains/{fqdn}/records/{rrset_name}/{rrset_type}
Operation ID: getLivednsDomainsFqdnRecordsRrsetNameRrsetType.
Authentication: bearer token (bearerAuth).
Parameters
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
fqdn |
path |
string |
Yes | |
rrset_name |
path |
string |
Yes | |
rrset_type |
path |
enum: A, AAAA, ALIAS, CAA, CDS, CNAME, ... |
Yes |
Responses
200: OK
application/json
| Property | Type | Required | Description |
|---|---|---|---|
rrset_href |
string |
Yes | |
rrset_name |
string |
Yes | |
rrset_ttl |
integer |
No | |
rrset_type |
enum: A, AAAA, ALIAS, CAA, CDS, CNAME, ... |
Yes | |
rrset_values |
array of string |
Yes |
401: Unauthorized
application/json
| Property | Type | Required | Description |
|---|---|---|---|
cause |
string |
Yes | |
code |
integer |
Yes | |
message |
string |
Yes | |
object |
string |
Yes |
403: Forbidden
application/json
| Property | Type | Required | Description |
|---|---|---|---|
cause |
string |
Yes | |
code |
integer |
Yes | |
message |
string |
Yes | |
object |
string |
Yes |
patch
PATCH /livedns/domains/{fqdn}/records/{rrset_name}/{rrset_type}
Operation ID: patchLivednsDomainsFqdnRecordsRrsetNameRrsetType.
Authentication: bearer token (bearerAuth).
Parameters
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
fqdn |
path |
string |
Yes | |
rrset_name |
path |
string |
Yes | |
rrset_type |
path |
enum: A, AAAA, ALIAS, CAA, CDS, CNAME, ... |
Yes |
Request body
application/json
| Property | Type | Required | Description |
|---|---|---|---|
add_rrset_values |
array of string |
No | |
remove_rrset_values |
array of string |
No | |
rrset_ttl |
integer |
No |
Responses
200: OK
application/json
| Property | Type | Required | Description |
|---|---|---|---|
rrset_href |
string |
Yes | |
rrset_name |
string |
Yes | |
rrset_ttl |
integer |
No | |
rrset_type |
enum: A, AAAA, ALIAS, CAA, CDS, CNAME, ... |
Yes | |
rrset_values |
array of string |
Yes |
204: No Content
401: Unauthorized
application/json
| Property | Type | Required | Description |
|---|---|---|---|
cause |
string |
Yes | |
code |
integer |
Yes | |
message |
string |
Yes | |
object |
string |
Yes |
403: Forbidden
application/json
| Property | Type | Required | Description |
|---|---|---|---|
cause |
string |
Yes | |
code |
integer |
Yes | |
message |
string |
Yes | |
object |
string |
Yes |
remove
DELETE /livedns/domains/{fqdn}/records/{rrset_name}/{rrset_type}
Operation ID: deleteLivednsDomainsFqdnRecordsRrsetNameRrsetType.
Authentication: bearer token (bearerAuth).
Parameters
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
fqdn |
path |
string |
Yes | |
rrset_name |
path |
string |
Yes | |
rrset_type |
path |
enum: A, AAAA, ALIAS, CAA, CDS, CNAME, ... |
Yes |
Responses
204: No Content
401: Unauthorized
application/json
| Property | Type | Required | Description |
|---|---|---|---|
cause |
string |
Yes | |
code |
integer |
Yes | |
message |
string |
Yes | |
object |
string |
Yes |
403: Forbidden
application/json
| Property | Type | Required | Description |
|---|---|---|---|
cause |
string |
Yes | |
code |
integer |
Yes | |
message |
string |
Yes | |
object |
string |
Yes |
DELETE /livedns/domains/{fqdn}/records/{rrset_name}
Operation ID: deleteLivednsDomainsFqdnRecordsRrsetName.
Authentication: bearer token (bearerAuth).
Parameters
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
fqdn |
path |
string |
Yes | |
rrset_name |
path |
string |
Yes |
Responses
204: No Content
401: Unauthorized
application/json
| Property | Type | Required | Description |
|---|---|---|---|
cause |
string |
Yes | |
code |
integer |
Yes | |
message |
string |
Yes | |
object |
string |
Yes |
403: Forbidden
application/json
| Property | Type | Required | Description |
|---|---|---|---|
cause |
string |
Yes | |
code |
integer |
Yes | |
message |
string |
Yes | |
object |
string |
Yes |
update
PUT /livedns/domains/{fqdn}/records/{rrset_name}/{rrset_type}
Operation ID: putLivednsDomainsFqdnRecordsRrsetNameRrsetType.
Authentication: bearer token (bearerAuth).
Parameters
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
fqdn |
path |
string |
Yes | |
rrset_name |
path |
string |
Yes | |
rrset_type |
path |
enum: A, AAAA, ALIAS, CAA, CDS, CNAME, ... |
Yes |
Request body
application/json
| Property | Type | Required | Description |
|---|---|---|---|
rrset_ttl |
integer |
No | |
rrset_values |
array of string |
Yes |
Responses
201: Created
application/json
| Property | Type | Required | Description |
|---|---|---|---|
message |
string |
Yes |
401: Unauthorized
application/json
| Property | Type | Required | Description |
|---|---|---|---|
cause |
string |
Yes | |
code |
integer |
Yes | |
message |
string |
Yes | |
object |
string |
Yes |
403: Forbidden
application/json
| Property | Type | Required | Description |
|---|---|---|---|
cause |
string |
Yes | |
code |
integer |
Yes | |
message |
string |
Yes | |
object |
string |
Yes |
PUT /livedns/domains/{fqdn}/records/{rrset_name}
Operation ID: putLivednsDomainsFqdnRecordsRrsetName.
Authentication: bearer token (bearerAuth).
Parameters
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
fqdn |
path |
string |
Yes | |
rrset_name |
path |
string |
Yes |
Request body
application/json
| Property | Type | Required | Description |
|---|---|---|---|
items |
array of object |
Yes | |
items[].rrset_ttl |
integer |
No | |
items[].rrset_type |
enum: A, AAAA, ALIAS, CAA, CDS, CNAME, ... |
Yes | |
items[].rrset_values |
array of string |
Yes |
Responses
201: Created
application/json
| Property | Type | Required | Description |
|---|---|---|---|
message |
string |
Yes |
401: Unauthorized
application/json
| Property | Type | Required | Description |
|---|---|---|---|
cause |
string |
Yes | |
code |
integer |
Yes | |
message |
string |
Yes | |
object |
string |
Yes |
403: Forbidden
application/json
| Property | Type | Required | Description |
|---|---|---|---|
cause |
string |
Yes | |
code |
integer |
Yes | |
message |
string |
Yes | |
object |
string |
Yes |