Delete a Key-Value Pair
POSTdevice.<region>.anedya.io/v1/valuestore/delete
Deletes a Key-Value pair
note
Devices can delete a key value pair from self
namespace only.
MQTT Topic
$anedya/device/{deviceid}/valuestore/delete/json
Request
- application/json
Body
reqIdstring
keystring
Responses
- 2XX
Success
- application/json
- Schema
- Example (auto)
Schema
reqIdstring
successboolean
errorstring
errorcodeinteger
{
"reqId": "string",
"success": true,
"error": "string",
"errorcode": 0
}
- curl
- nodejs
- python
- go
- rust
- csharp
- ruby
- php
- java
- powershell
- CURL
curl -L 'device.<region>.anedya.io/v1/valuestore/delete' \
-H 'Content-Type: application/json' \
-d '{
"reqId": "string",
"key": "string"
}'
ResponseClear