GET api/Contact/{handle}/DnsSecOption?user={user}

Get the dnssec option of a contact

Request Information

URI Parameters

NameDescriptionTypeAdditional information
handle

Handle of a contact

string

Required

user

Optional user handle - if empty logged in user will be used

string

None.

Body Parameters

None.

Response Information

Resource Description

dnssec option (true or false) on success
Collection of errors on failure
Return codes
200 - ok
400 - bad request
401 - unauthorized
404 - not found
500 - internal server error

DnsSecOption
NameDescriptionTypeAdditional information
isSec

If true all zones where this contact is the reseller, owner or admin will have dnssec

boolean

Required

Response Formats

application/json, text/json

Sample:
{
  "isSec": true
}

application/xml, text/xml

Sample:
<DnsSecOption xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Namebay.Rest.Api.Models.Contact">
  <isSec>true</isSec>
</DnsSecOption>