Versions Compared
compared with
Key
- This line was added.
- This line was removed.
- Formatting was changed.
rest/{version}/scanner/blacklistWhitelist/{listId}/delete
Descriptor | Value |
---|---|
HTTP Method | DELETE |
Description | Allows user to delete a blacklist or whitelist item from a channel |
Required Permission | Manage Vulnerability Types |
Version Introduced | 2.7.9 |
Request Header Parameters
Parameter | Value | Required | Description |
---|---|---|---|
Accept | String | Yes | A value of ‘application/json’ must be provided. |
Sample Call:
Code Block | ||
---|---|---|
| ||
curl --insecure -H 'accept: application/json' -H "Authorization: APIKEY {api_key}" -X DELETE http://localhost:8080/threadfix/rest/latest/scanner/blacklistWhitelist/1/delete |
Sample Output:
Code Block | ||
---|---|---|
| ||
{ "message": "", "success": true, "responseCode": -1, "object": "successfully removed list entry" } |
Page Tree | ||
---|---|---|
|