DELETE /v1/file_lists/{:file_list_guid}/files/{:sha256}
Description
Name | Type | Description |
---|---|---|
version | String | |
metadata.links.self | String |
Examples
Deletes file list item with a given SHA-256 and associated to file list with given file_list_guid
Request
Requires AuthorizationDELETE /v1/file_lists/e773a9eb-296c-40df-98d8-bed46322589d/files/ec5d10ddf07a422351875fb43060e39edc44877301136ab1824d805cf9170cfc
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.amp.cisco.com/v1/file_lists/e773a9eb-296c-40df-98d8-bed46322589d/files/ec5d10ddf07a422351875fb43060e39edc44877301136ab1824d805cf9170cfc'
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.amp.cisco.com/v1/file_lists/e773a9eb-296c-40df-98d8-bed46322589d/files/ec5d10ddf07a422351875fb43060e39edc44877301136ab1824d805cf9170cfc'
Shortened for readability
content-type: application/json transfer-encoding: chunked status: 200 OK x-ratelimit-limit: 3000 x-ratelimit-reset: 876 strict-transport-security: max-age=31536000; includeSubDomains, max-age=31536000 referrer-policy: strict-origin-when-cross-origin x-ratelimit-remaining: 2806 x-permitted-cross-domain-policies: none x-download-options: noopen etag: W/"1138b0198b10e9c5950f657e4a8576a0" x-frame-options: SAMEORIGIN x-ratelimit-resetdate: 2022-03-18T11:55:11Z
{
"version": "v1.2.0",
"metadata": {
"links": {
"self": "https://api.amp.cisco.com/v1/file_lists/e773a9eb-296c-40df-98d8-bed46322589d/files/ec5d10ddf07a422351875fb43060e39edc44877301136ab1824d805cf9170cfc"
}
},
"data": {
}
}