Delete GCP Connector 3.0
We will now deprecate the API endpoint to delete one or more GCP connectors from the CloudView application and introduce an alternative API in the Asset Management application.
Permissions required - Managers with full scope.
Sample: Delete a GCP connectorSample: Delete a GCP connector
API request
curl -n -u "<username>:<password>"
"<qualys_base_url>/qps/rest/3.0/delete/am/gcpassetdataconnector/289201"
curl -n -u "<username>:<password>"
"<qualys_base_url>/qps/rest/3.0/delete/am/gcpassetdataconnector/289201"
Response (XML)
<?xml version="1.0" encoding="UTF-8" ?>
<ServiceResponse>
<responseCode>SUCCESS</responseCode>
<count>1</count>
<data>
<GcpAssetDataConnector>
<id>289201</id>
</GcpAssetDataConnector>
</data>
</ServiceResponse>
API request(JSON)
"curl -n -u""<username>:<password>""<qualys_base_url>/qps/rest/3.0/delete/am/gcpassetdatacon
nector/289201""--header""Accept: application/json""--header""Content-Type: application/json"
Response(JSON)
{
"ServiceResponse":{
"responseCode":"SUCCESS",
"count":1,
"data":[
{
"GcpAssetDataConnector":{
"id":289201
}
}
]
}
}