PUT api/Zone/{zone_handle}/DnsSec?user={user}
Update the dsn sec status of a zone. Creates the dsn sec status if it does not exist
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| zone_handle |
Handle of a zone |
string |
Required |
| user |
User handle |
string |
Required |
Body Parameters
dns sec status
DnsSec| Name | Description | Type | Additional 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
{
"Zone": "sample string 1",
"IsSec": true,
"IsSign": true,
"SignDate": "2025-12-12T19:16:52.4203359+01:00"
}
application/xml, text/xml
<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>2025-12-12T19:16:52.4203359+01:00</SignDate> <Zone>sample string 1</Zone> </DnsSec>
application/x-www-form-urlencoded
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
| Name | Description | Type | Additional 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
{
"Zone": "sample string 1",
"IsSec": true,
"IsSign": true,
"SignDate": "2025-12-12T19:16:52.4203359+01:00"
}
application/xml, text/xml
<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>2025-12-12T19:16:52.4203359+01:00</SignDate> <Zone>sample string 1</Zone> </DnsSec>