PUT api/Contact/{handle}/DnsSecOption?user={user}
Update the dnssec option for the contact
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
handle |
Contact handle |
string |
Required |
user |
Optional user handle - if empty logged in user will be used |
string |
None. |
Body Parameters
Dns sec option - true or false
DnsSecOptionName | Description | Type | Additional information |
---|---|---|---|
isSec |
If true all zones where this contact is the reseller, owner or admin will have dnssec |
boolean |
Required |
Request 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>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Dnssec option on success
Collection of errors on failure
Return codes
200 - ok
400 - bad request
401 - unauthorized
404 - not found
500 - internal server error
Name | Description | Type | Additional 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>