Remove Tags form Lab Asset Tags API

Use this API to delete tags from the lab asset tags list.

POST/sm/v1/lab-tags/delete

Input ParametersInput Parameters

Parameter Mandatory/
Optional
Data Type Description
ids Mandatory List Provide the list of tag IDs.
user Optional String Provide the details of a user such as ID or name.
id Optional String Provide the ID of the user.
name Optional String Provide the name of the user.

Sample: Remove Tags from Lab Asset TagsSample: Remove Tags from Lab Asset Tags

API Request

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

API Response

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