Delete Key/Value
DELETE https://api.echovalue.dev/kv/<bucket>/<key>
Deletes a key and its associated value.
Request
Section titled “Request”Headers:
| Header | Description |
|---|---|
x-token | Your API token |
curl 'https://api.echovalue.dev/kv/default/mykey' \ -H 'x-token: mytoken' \ -X DELETEResponse
Section titled “Response”200 OK
OKResponse headers:
| Header | Description |
|---|---|
x-balance | Wallet balance after this call |
x-cost | Credits consumed |
See Response Headers for details.
Status Codes
Section titled “Status Codes”| Status | Meaning |
|---|---|
200 | Key deleted successfully |
400 | Invalid parameters |
401 | Invalid token |
402 | Insufficient credits |
404 | Key not found |