Remove Tags Assigned to Assets

Remove one or more tags from an asset.

POST/csapi/v1.3/tag/remove

Input ParametersInput Parameters

Parameter Mandatory/Optional Data Type Description
entityUUID Mandatory string Specify the UUID of the asset.
tagsToRemove Mandatory ----- Specify details of tags to be removed from an
entity.
subscriptionId Optional string Specify the Subscription ID of the user.
entityType Mandatory string Specify the type of entity to which you want to assign a tag.
Valid values: 'IMAGE' or 'CONTAINER'
moduleCode   Optional string Specify Qualys module code.
Valid value: "CS"

Sample: Assign multiple tags to multiple containersSample: Assign multiple tags to multiple containers

API Request

curl -X 'POST'
'<qualys_base_url>/csapi/v1.3/tag/remove'
-H 'accept: application/json'
-H Authorization: Bearer <Token>
-H 'Content-Type: application/json'
-d ’{
"entityUUID": "3473dbda-8c77-38ee-aa0d-639cfba4374f",
"tagsToRemove": [
"2f6ee932-26eb-4da6-b053-554016bc8feb",
"53f5dd37-2ee6-4be1-8800-8392ab3260ff"
],
"subscriptionId": "44***09",
"entityType": "IMAGE",
"moduleCode": "CS"
}

Response

{
"entityUUID": "3473dbda-8c77-38ee-aa0d-639cfba4374f"
}