summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorge Keishing <gkeishin@in.ibm.com>2018-01-24 01:02:26 -0600
committerGunnar Mills <gmills@us.ibm.com>2018-01-27 19:07:18 +0000
commitd8260bfbfc95e33e4efceabcc4e7382eb340fba6 (patch)
tree44435de85116cad83d2d916b11ee27f08d7c79cf
parent76d8f7f7fbc3bde7423e8f8ad4ba12213c739996 (diff)
downloadopenbmc-docs-d8260bfbfc95e33e4efceabcc4e7382eb340fba6.tar.gz
openbmc-docs-d8260bfbfc95e33e4efceabcc4e7382eb340fba6.zip
Update REST-cheatsheet.md documentation
Added: - Deleting dump entries. Change-Id: I316f63967fa9a6d833a93e9e3a562960a60412f8 Signed-off-by: George Keishing <gkeishin@in.ibm.com>
-rw-r--r--REST-cheatsheet.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/REST-cheatsheet.md b/REST-cheatsheet.md
index 97e43d9..61aa7b3 100644
--- a/REST-cheatsheet.md
+++ b/REST-cheatsheet.md
@@ -52,6 +52,12 @@ This document is intended to provide a set of REST client commands for OpenBMC u
$ curl -b cjar -k -H 'Content-Type: application/json' -X POST -d '{"data":[]}' https://${bmc}/xyz/openbmc_project/logging/action/DeleteAll
```
+* Delete dump entries:
+ ```
+ $ curl -c cjar -b cjar -k -H "Content-Type: application/json" -X DELETE https://${bmc}/xyz/openbmc_project/dump/entry/<entry_id>
+ $ curl -b cjar -k -H 'Content-Type: application/json' -X POST -d '{"data":[]}' https://${bmc}/xyz/openbmc_project/dump/action/DeleteAll
+ ```
+
* Clear gard records:
```
$ curl -c cjar -b cjar -k -H "Content-Type: application/json" -X POST -d '{"data":[]}' https://${bmc}/org/open_power/control/gard/action/Reset
OpenPOWER on IntegriCloud