API

LivednsAxfrTsig

The TSIG keys a zone uses for transfers: list them, associate one or remove one.

Operations

Every route this entity exposes. Each route links to its own reference on this page.

Method Route SDK operation Returns
GET /livedns/domains/{fqdn}/axfr/tsig list OK
DELETE /livedns/domains/{fqdn}/axfr/tsig/{id} remove Accepted
PUT /livedns/domains/{fqdn}/axfr/tsig/{id} 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_axfr_tsigs, err := client.LivednsAxfrTsig(nil).List(map[string]any{"fqdn": "example"}, nil)
if err != nil {
    panic(err)
}
fmt.Println(livedns_axfr_tsigs)
updated, err := client.LivednsAxfrTsig(nil).Update(map[string]any{"id": "example_id", "fqdn": "example", "sharing_id": "example"}, nil)
if err != nil {
    panic(err)
}
fmt.Println(updated)
removed, err := client.LivednsAxfrTsig(nil).Remove(map[string]any{"fqdn": "example", "id": "example_id"}, nil)
if err != nil {
    panic(err)
}
fmt.Println(removed)

Lua

Construct client as shown in the Lua setup, then call the operations:

local livedns_axfr_tsigs, err = client:LivednsAxfrTsig():list({ fqdn = "example" })
local updated, err = client:LivednsAxfrTsig():update({ id = "example_id", fqdn = "example", sharing_id = "example" })
local removed, err = client:LivednsAxfrTsig():remove({ fqdn = "example", id = "example_id" })

PHP

Construct client as shown in the PHP setup, then call the operations:

$livedns_axfr_tsigs = $client->LivednsAxfrTsig()->list(["fqdn" => "example"]);
$updated = $client->LivednsAxfrTsig()->update(["id" => "example_id", "fqdn" => "example", "sharing_id" => "example"]);
$client->LivednsAxfrTsig()->remove(["fqdn" => "example", "id" => "example_id"]);

Python

Construct client as shown in the Python setup, then call the operations:

livedns_axfr_tsigs = client.LivednsAxfrTsig().list({"fqdn": "example"})
updated = client.LivednsAxfrTsig().update({"id": "example_id", "fqdn": "example", "sharing_id": "example"})
client.LivednsAxfrTsig().remove({"fqdn": "example", "id": "example_id"})

Ruby

Construct client as shown in the Ruby setup, then call the operations:

livedns_axfr_tsigs = client.LivednsAxfrTsig.list({ "fqdn" => "example" })
updated = client.LivednsAxfrTsig.update({ "id" => "example_id", "fqdn" => "example", "sharing_id" => "example" })
client.LivednsAxfrTsig.remove({ "fqdn" => "example", "id" => "example_id" })

TypeScript

Construct client as shown in the TypeScript setup, then call the operations:

const livedns_axfr_tsigs = await client.LivednsAxfrTsig().list({ fqdn: "example" })
const updated = await client.LivednsAxfrTsig().update({ id: "example_id", fqdn: "example", sharing_id: "example" })
await client.LivednsAxfrTsig().remove({ fqdn: "example", id: "example_id" })

Fields

Field Type Required Description
href string Yes Href
id string Yes Id
key_name string Yes Key Name
message string Yes Message

list

GET /livedns/domains/{fqdn}/axfr/tsig

Operation ID: getLivednsDomainsFqdnAxfrTsig.

Authentication: bearer token (bearerAuth).

Parameters

Parameter In Type Required Description
fqdn path string Yes

Responses

200: OK

application/json

Property Type Required Description
[].href string Yes
[].id string Yes
[].key_name 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

remove

DELETE /livedns/domains/{fqdn}/axfr/tsig/{id}

Operation ID: deleteLivednsDomainsFqdnAxfrTsigId.

Authentication: bearer token (bearerAuth).

Parameters

Parameter In Type Required Description
fqdn path string Yes
id path string Yes
sharing_id query string No

Responses

202: Accepted
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}/axfr/tsig/{id}

Operation ID: putLivednsDomainsFqdnAxfrTsigId.

Authentication: bearer token (bearerAuth).

Parameters

Parameter In Type Required Description
fqdn path string Yes
id path string Yes
sharing_id query string No

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