API

DomainDnssec

DNSSEC for a domain on LiveDNS: get its status, turn it on or turn it off.

Operations

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

Method Route SDK operation Returns
POST /domain/domains/{domain}/livedns/dnssec create Accepted
GET /domain/domains/{domain}/livedns/dnssec load OK
DELETE /domain/domains/{domain}/livedns/dnssec remove Accepted

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:

domain_dnssec, err := client.DomainDnssec(nil).Load(map[string]any{"domain": "example"}, nil)
if err != nil {
    panic(err)
}
fmt.Println(domain_dnssec)
created, err := client.DomainDnssec(nil).Create(map[string]any{"domain": "example", "state": "example"}, nil)
if err != nil {
    panic(err)
}
fmt.Println(created)
removed, err := client.DomainDnssec(nil).Remove(map[string]any{"domain": "example"}, nil)
if err != nil {
    panic(err)
}
fmt.Println(removed)

Lua

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

local domain_dnssec, err = client:DomainDnssec():load({ domain = "example" })
local created, err = client:DomainDnssec():create({ domain = "example", state = "example" })
local removed, err = client:DomainDnssec():remove({ domain = "example" })

PHP

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

$domain_dnssec = $client->DomainDnssec()->load(["domain" => "example"]);
$created = $client->DomainDnssec()->create(["domain" => "example", "state" => "example"]);
$client->DomainDnssec()->remove(["domain" => "example"]);

Python

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

domain_dnssec = client.DomainDnssec().load({"domain": "example"})
created = client.DomainDnssec().create({ "domain": "example", "state": "example" })
client.DomainDnssec().remove({"domain": "example"})

Ruby

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

domain_dnssec = client.DomainDnssec.load({ "domain" => "example" })
created = client.DomainDnssec.create({ "domain" => "example", "state" => "example" })
client.DomainDnssec.remove({ "domain" => "example" })

TypeScript

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

const domain_dnssec = await client.DomainDnssec().load({ domain: "example" })
const created = await client.DomainDnssec().create({ domain: "example", state: "example" })
await client.DomainDnssec().remove({ domain: "example" })

Fields

Field Type Required Description
error string No Error
state string Yes State

create

POST /domain/domains/{domain}/livedns/dnssec

Operation ID: postDomainDomainsDomainLivednsDnssec.

Authentication: bearer token (bearerAuth).

Parameters

Parameter In Type Required Description
domain path string Yes
sharing_id query string No

Responses

202: Accepted

application/json

Property Type Required Description
state enum: activating Yes
400: Bad Request

application/json

Property Type Required Description
cause string No
error string No
state enum: active, deactivation_error, deactivating, inactive 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 /domain/domains/{domain}/livedns/dnssec

Operation ID: getDomainDomainsDomainLivednsDnssec.

Authentication: bearer token (bearerAuth).

Parameters

Parameter In Type Required Description
domain path string Yes

Responses

200: OK

application/json

Property Type Required Description
error string No
state enum: activation_error, activating, active, deactivation_error, deactivating, inactive 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 /domain/domains/{domain}/livedns/dnssec

Operation ID: deleteDomainDomainsDomainLivednsDnssec.

Authentication: bearer token (bearerAuth).

Parameters

Parameter In Type Required Description
domain path string Yes
sharing_id query string No

Responses

202: Accepted

application/json

Property Type Required Description
state enum: deactivating Yes
400: Bad Request

application/json

Property Type Required Description
error string Yes
state enum: activating, activation_error, deactivating, inactive 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