Remove all values from Dictionary and set new
PUT {{url}}/{{tenantName}}/{{instanceName}}/dictionaries/:dictionaryName
Remove all values from dictionary and set new. Records will be deleted completely.
HTTP Request
PUT /{tenantName}/{instanceName}/dictionaries/{dictionaryName}
in our example it would be:
PUT https://api.live.welkincloud.io/gh/sb-demo/dictionaries/cpt
Responses
Code | Description |
---|---|
201 | Created |
401 | Unauthorized |
403 | Forbidden |
404 | Not Found |
Request Body
{"records"=>[{"values"=>{"first"=>"first1", "second"=>"second1"}}, {"values"=>{"first"=>"first2", "second"=>"second2"}}]}