An API endpoint to attach a member connector to the specified Azure Tenant connector.
|
Parameter |
Mandatory/Optional |
Data Type |
Description |
|---|---|---|---|
|
organizationConnectorId |
Mandatory |
Integer |
The ID (s) of the tenant connector you want to detach member connector from. |
|
connectorId |
Mandatory |
Integer |
The connectors to attach. |
API request
curl --x "PUT" --location 'https://<QualysGatewayURL>connectors/v1.0/azure/attach --header 'Authorization: Bearer xxxxxxxxxxxxxxxxxxxxxxxxxxxx' \ --header 'Content-Type: application/json' \
Request Data
{
"connectorId" : xxxxxxx,
"organizationConnectorId": xxxxxxx
}
Response
{
"id": 1204278,
"uuid": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"customerId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"userUuid": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"username": "abcde_xxxx",
"name": "Azure Org",
"description": "",
"defaultTagIds": null,
"state": "FINISHED_SUCCESS",
"cloudType": "AZURE",
"isRemediationEnabled": true,
"isDisabled": true,
"isDeleted": false,
"scanUuid": null,
"activatedModules": [
"QWEB_VM",
"CLOUDVIEW"
],
"connectorAppInfos": [
{
"name": "AI",
"identifier": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"tagId": null,
"tagMetadata": null
},
{
"name": "CI",
"identifier": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"tagId": null,
"tagMetadata": null
},
{
"name": "CSA",
"identifier": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"tagId": null,
"tagMetadata": null
}
],
"lastSynced": "2023-05-15T11:53:05.580+00:00",
"isAttachedToOrgConnector": false,
"organizationId": null,
"organizationConnectorId": null,
"parentId": null
}