Assign Tags

PUT/connectors/v1.0/{cloudType}/assignTags

This API can be used to assign or override tags on cloud connectors across AWS, Azure, and GCP environments. It enables consistent tagging and classification of connectors for reporting, filtering, and automation purposes.

Input ParameterInput Parameter

Parameter Name Mandatory/Optional Data Type Description
cloudtype Mandatory String Specify the cloud provider name.
Accepted values: "AWS", "AZURE","GCP".
tagNames Mandatory String List of tag names to assign to connectors.
connectorIds Mandatory String List of connector IDs to which tags apply.

Sample Sample 

API Request

curl --location '<Qualys_Base_URL>connectors/v1.0/AZURE/assignTags'
--header 'Authorization: Bearer <Bearer Token>' \
--header 'Accept: application/json'

Request Body

{
  "tagNames": [
    "Cloud Agent"
  ],
  "connectorIds": [
  64007
  ]
}

API Response

    {
  "success": [
    {
      "tagId": 7542921,
      "tagName": "Cloud Agent",
      "connectorIds": [
        64007
      ]
    }
  ],
  "status": "success"
}