PUT api/Zone/{zone_handle}/NsPubKey/{id}?user={user}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
zone_handle | string |
Required |
|
id | integer |
Required |
|
user | string |
None. |
Body Parameters
UpdateNsPubKeyName | Description | Type | Additional information |
---|---|---|---|
PubKey | string |
Required |
Request Formats
application/json, text/json
Sample:
{ "PubKey": "sample string 1" }
application/xml, text/xml
Sample:
<UpdateNsPubKey xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Namebay.Rest.Api.Models.Zone"> <PubKey>sample string 1</PubKey> </UpdateNsPubKey>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
NsPubKeyName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
ZoneName | string |
None. |
|
KeyTag | string |
None. |
|
PubKey | string |
None. |
|
DateInsert | date |
None. |
|
NbNs | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{ "Id": 1, "ZoneName": "sample string 2", "KeyTag": "sample string 3", "PubKey": "sample string 4", "DateInsert": "2025-10-18T04:59:42.6819036+02:00", "NbNs": true }
application/xml, text/xml
Sample:
<NsPubKey xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Namebay.Rest.Api.Models.Zone"> <DateInsert>2025-10-18T04:59:42.6819036+02:00</DateInsert> <Id>1</Id> <KeyTag>sample string 3</KeyTag> <NbNs>true</NbNs> <PubKey>sample string 4</PubKey> <ZoneName>sample string 2</ZoneName> </NsPubKey>