Delete Blocked Commands

Delete Blocked Commands is a configuration-based API. It is a configuration-based API that helps you delete the blocked commands.

The API can be executed only by the Manager user role.

POST sm/v1/block-commands/delete

Input ParametersInput Parameters

Parameter Mandatory/Optional Data Type Description
languageIds Mandatory Set<Long> Provide the list of language IDs (languageId is the unique ID with the combination of platform and language).
user Optional Object Provide the user details like name and id of user
Authorization Mandatory String Authorization token to authenticate to the Qualys Enterprise TruRisk™ Platform. Prepend the token with 'Bearer', followed by a space. For example: Bearer .

SampleSample

API Request

 curl -X POST 'https://<qualys_base_url>/sm/v1/block-commands/delete' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {{authToken}}' \
--data '{
 "languageIds" :[4,5],
 "user": {
 "id": "<USER ID>",
 "name": "<USER NAME>"
 
 }
}'

Response

{
 "body": {
 "success": {
 "ids": [
 4
 ],
 "message": "Ids are processed"
 },
 "failure": {
 "ids": [
 5
 ],
 "message": "Ids are Invalid"
 }
 }
}