ves-io-schema-infraprotect-CustomEventDetailsAPI-DeleteEventDetail

Examples of performing infraprotect CustomEventDetailsAPI DeleteEventDetail

Usecase:

Delete a single event detail

Request:

Request using vesctl:

vesctl request rpc infraprotect.CustomEventDetailsAPI.DeleteEventDetail -i request.yaml --uri /public/namespaces/system/infraprotect/event/3a82b52a-b5ee-4b4a-8183-2d746a44f770/detail/07da6346-95e2-43c2-a2a5-eb453063b8d9 --http-method DELETE

where file request.yaml has following contents:

namespace: system

vesctl yaml response:

{}

Request using curl:

curl -X 'DELETE' -H 'Content-Type: application/json' -H 'X-Volterra-Useragent: v1/pgm=_tmp_go-build038462651_b001_apidocs.test/host=docker-desktop' 'https://acmecorp.console.ves.volterra.io/api/infraprotect/namespaces/system/infraprotect/event/3a82b52a-b5ee-4b4a-8183-2d746a44f770/detail/07da6346-95e2-43c2-a2a5-eb453063b8d9'

curl response:

HTTP/1.1 200 OK
Content-Length: 4
Content-Type: application/json
Date: Wed, 12 Jan 2022 14:48:49 GMT
Vary: Accept-Encoding

{

}