Delete Action

Specify the ID of an existing action you want to delete and the action gets deleted. Ensure that action you want to delete is not associated with a rule in use.

POST  /rest/v1/actions/delete

Input ParametersInput Parameters

Parameter

Mandatory/Optional Data Type

Description

actionId

Optional Array[String]

Specify the ID of an action to be deleted and the action gets deleted. You can provide multiple Ids separated by comma.

Example:

{

  "ids": [

    "actionId1,

     actionId2"

  ]

}

Sample - Delete a specific actionSample - Delete a specific action

API request

    
      curl -k -X POST-u <username>:<password> 
'https://<QualysBaseURL>/cloudview-api/rest/v1/actions/delete'
      

Request POST Data

    
      {
    "ids": [
        "bd786210-9965-11e8-ab43-6187ace8f6e8",
        "efbf4080-52dd-11ea-a008-cbe911ab6a51"
    ]
}
      

Response

    
No Content
      
Response Code: 200