Delete Blocked Tags API

Use this API to delete blocked tags.

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

POST /sm/v1/block-tags/delete

Input ParametersInput Parameters

Parameters Mandatory/Optional Data Type Description
id(s) Mandatory List<Long> Provide the list of tag IDs that need to be unblocked for script execution if it is associated with any asset. You can provide multiple ids in the same query by using the array of comma separated tag IDs.
id Optional String Provide the ID of the user.
name Optional String Provide the name of the user.

SampleSample

API Request

curl -X POST 
'<qualys_base_url>/sm/v1/block-tags/delete'
--header 'accept: application/json'
--header 'Content-Type: application/json'
--data 
    '{
    "ids": [4561,4562],
    "user": {
         "id": "bfd96a2f-854b-f8fd-8005-69374a3cd2b3",
         "name": "Username"
       }
     } 

Response

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

For more information on response codes, refer to Appendix.