Merge "Add request sample of API 'delete anomaly record'"

This commit is contained in:
Zuul 2023-09-14 06:56:31 +00:00 committed by Gerrit Code Review
commit e57c1add19
2 changed files with 16 additions and 7 deletions

View File

@ -271,6 +271,19 @@ Delete anomaly record
Delete anomaly record.
Request
-------
.. rest_parameters:: parameters.yaml
- id: record_id
**Example Get Anomaly record request:**
.. literalinclude:: ./samples/anomaly-detect/delete-anomaly-record-request-curl.json
:language: javascript
Response codes
--------------
@ -282,13 +295,6 @@ Response codes
- -1
Request
-------
.. rest_parameters:: parameters.yaml
- id: record_id
Response
--------

View File

@ -0,0 +1,3 @@
curl -X DELETE "http://10.49.38.57:10010/v1/anomaly/record/1" \
-H 'X-Auth-Token: 124'
-H 'Content-type: application/json'