PUT v1/core/channels/{chnId}/apps/{appname}/{keyname}

Update or create a new key

Request Information

Parameters

NameDescriptionAdditional information
chnId

Define this parameter in the request URI.

appname

Define this parameter in the request URI.

keyname

Define this parameter in the request URI.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "Success": true,
  "Data": "sample string 2",
  "ErrorCode": 3,
  "ErrorDescription": "sample string 4",
  "Meta": "sample string 5"
}

text/javascript

Sample:
{"Success":true,"Data":"sample string 2","ErrorCode":3,"ErrorDescription":"sample string 4","Meta":"sample string 5"}

application/xml, text/xml

Sample:
<PBNBReturnOfstring xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/pbnb_models">
  <Data>sample string 2</Data>
  <ErrorCode>3</ErrorCode>
  <ErrorDescription>sample string 4</ErrorDescription>
  <Meta>sample string 5</Meta>
  <Success>true</Success>
</PBNBReturnOfstring>

application/bson

Sample:
xSuccessDatasample string 2ErrorCodeErrorDescriptionsample string 4Metasample string 5