Merge "Add request sample of API 'delete anomaly record'"
This commit is contained in:
commit
e57c1add19
@ -271,6 +271,19 @@ Delete anomaly record
|
|||||||
|
|
||||||
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
|
Response codes
|
||||||
--------------
|
--------------
|
||||||
|
|
||||||
@ -282,13 +295,6 @@ Response codes
|
|||||||
|
|
||||||
- -1
|
- -1
|
||||||
|
|
||||||
Request
|
|
||||||
-------
|
|
||||||
|
|
||||||
.. rest_parameters:: parameters.yaml
|
|
||||||
|
|
||||||
- id: record_id
|
|
||||||
|
|
||||||
Response
|
Response
|
||||||
--------
|
--------
|
||||||
|
|
||||||
|
@ -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'
|
Loading…
Reference in New Issue
Block a user