Logo
Akamai APIs API Documentation

Get a zone's DNSSEC status

POST https://{{host}}/config-dns/v2/zones/dns-sec-status

Returns the current DNSSEC status for one or more zones.

 

Body PARAM

Key Datatype Required Description 
accountSwitchKey
string (Optional) For customers who manage more than one account, this [runs the operation from another account](https://techdocs.akamai.com/developer/docs/manage-many-accounts-with-one-api-client). The Identity and Access Management API provides a [list of available account switch keys](https://techdocs.akamai.com/iam-api/reference/get-client-account-switch-keys).



HEADERS

Key Datatype Required Description 
Content-Type
string
Accept
string




RESPONSES

status OK

{ "dnsSecStatuses": [ { "alerts": [], "currentRecords": { "dnskeyRecord": "river.com. 7200 IN DNSKEY 257 3 8 (xxxxxxxxxxxxxxxxxxxxxxxx)", "dsRecord": "river.com. 86400 IN DS 47539 8 2 (xxxxxxxxxxx)", "expectedTtl": 3600, "lastModifiedDate": "2021-06-02T17:42:35.456Z" }, "zone": "river.com" }, { "alerts": [ "OLD_DNSKEY" ], "currentRecords": { "dnskeyRecord": "stream.com. 7200 IN DNSKEY 257 3 8 (xxxxxxxxxxxxxxxxxxxxxxxx)", "dsRecord": "stream.com. 86400 IN DS 47539 8 2 (xxxxxxxxxxx)", "expectedTtl": 3600, "lastModifiedDate": "2021-01-15T09:31:36.195Z" }, "newRecords": { "dnskeyRecord": "stream.com. 7200 IN DNSKEY 257 3 8 (xxxxxxxxxxxxxxxxxxxxxxxx)", "dsRecord": "stream.com. 86400 IN DS 47539 8 2 (xxxxxxxxxxx)", "expectedTtl": 3600, "lastModifiedDate": "2021-04-15T08:00:00.418Z" }, "zone": "stream.com" } ] }



Curl
curl -X POST 'https://undefined/config-dns/v2/zones/dns-sec-status?accountSwitchKey=' -H 'Content-Type: application/json' -H 'Accept: application/json' -d '{"comment":"Removing rivers and streams.","zones":["river.com","stream.com"]}'

ENDPOINTS