diff options
| -rw-r--r-- | REST-cheatsheet.md | 6 |
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 |

