DELETE /v1/event_streams/{:id}
Description
Deletes an active event stream resource
Name | Type | Description |
---|---|---|
version | String | |
metadata.links.self | String |
Examples
Destroys event stream with given id
Request
Requires AuthorizationDELETE /v1/event_streams/30098
Headers
accept: application/json
content-type: application/json
accept-encoding: identity
authorization: Basic FILTERED
cURL Edit, then copy and paste on your terminal
curl -X DELETE \
-H 'accept: application/json' \
-H 'content-type: application/json' \
-H 'accept-encoding: identity' \
--compressed -H 'Accept-Encoding: gzip, deflate' \
-u YOUR_API_CLIENT_ID \
'https://api.consumer.amp.cisco.com/v1/event_streams/30098'
Response
cURL Edit, then copy and paste on your terminal
curl -X DELETE \ -H 'accept: application/json' \ -H 'content-type: application/json' \ -H 'accept-encoding: identity' \ --compressed -H 'Accept-Encoding: gzip, deflate' \ -u YOUR_API_CLIENT_ID \ 'https://api.consumer.amp.cisco.com/v1/event_streams/30098'
Shortened for readability
content-type: application/json transfer-encoding: chunked status: 200 OK x-ratelimit-limit: 3000 x-ratelimit-reset: 886 strict-transport-security: max-age=31536000; includeSubDomains, max-age=31536000 referrer-policy: strict-origin-when-cross-origin x-ratelimit-remaining: 2828 x-permitted-cross-domain-policies: none x-download-options: noopen etag: W/"e9cb09f2d5216721d0ff0599bfd4d260" x-frame-options: SAMEORIGIN x-ratelimit-resetdate: 2022-03-18T11:55:11Z
{
"version": "v1.2.0",
"metadata": {
"links": {
"self": "https://api.consumer.amp.cisco.com/v1/event_streams/30098"
}
},
"data": {
}
}