Validate Asset Tags

Validates an asset tag.

POST/csapi/v1.3/tag/exist

Input ParametersInput Parameters

Parameter Mandatory/Optional Data Type Description
tagsToValidate Mandatory string Specify the name of the tags to be validated.
Two tags should be separated using a comma.

For example: "testing, azure_snapshot"

Sample: Validate Asset TagsSample: Validate Asset Tags

API Request

curl -X 'POST'
'<qualys_base_url>/csapi/v1.3/tag/exist'
-H 'accept: application/json'
-H ’Authorization: Bearer <Token>’
-d ’{
"tagsToValidate": [
"testing", "emea_container"
]
}'

Response

{
"tagDetails": {
"existingTags": {
"testing": "53f5dd37-2ee6-4be1-8800-8392ab3260ff",
"emea_container": "12q3lp44-8gg3-1uq2-7352-3480ma7840gg"
},
"missingTags": []
}
}