PUT api/Zone/{zone_handle}/DnsSec

Update the dsn sec status of a zone. Creates the dsn sec status if it does not exist

Request Information

URI Parameters

NameDescriptionTypeAdditional information
zone_handle

Handle of a zone

string

Required

Body Parameters

dsn sec status

DnsSec
NameDescriptionTypeAdditional information
Zone

Name of the zone

string

None.

IsSec

Active or not

boolean

None.

IsSign

Signed or not

boolean

None.

SignDate

Signature date

date

None.

Request Formats

application/json, text/json

Sample:
{
  "Zone": "sample string 1",
  "IsSec": true,
  "IsSign": true,
  "SignDate": "2024-07-10T01:24:53.9510572+02:00"
}

application/xml, text/xml

Sample:
<DnsSec xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Namebay.Rest.Api.Models.Zone">
  <IsSec>true</IsSec>
  <IsSign>true</IsSign>
  <SignDate>2024-07-10T01:24:53.9510572+02:00</SignDate>
  <Zone>sample string 1</Zone>
</DnsSec>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

dnssec object on success
Collection of errors on failure
Return codes
200 - ok
401 - unauthorized
404 - not found
500 - internal server error

DnsSec
NameDescriptionTypeAdditional information
Zone

Name of the zone

string

None.

IsSec

Active or not

boolean

None.

IsSign

Signed or not

boolean

None.

SignDate

Signature date

date

None.

Response Formats

application/json, text/json

Sample:
{
  "Zone": "sample string 1",
  "IsSec": true,
  "IsSign": true,
  "SignDate": "2024-07-10T01:24:54.0759921+02:00"
}

application/xml, text/xml

Sample:
<DnsSec xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Namebay.Rest.Api.Models.Zone">
  <IsSec>true</IsSec>
  <IsSign>true</IsSign>
  <SignDate>2024-07-10T01:24:54.0759921+02:00</SignDate>
  <Zone>sample string 1</Zone>
</DnsSec>