This URL provides access to a cloud account for a VM group.
Resource URL
POST /vmgroup/<VM group Id>/accountAccess/<account Id>
Request Parameters
URL Request Parameters:
| Field Name | Description | Data Type | Mandatory |
|---|---|---|---|
| VM group Id | VM group ID.
You can use the GET /vmgroup method to get the VM group ID. |
number | Yes |
| account Id | Cloud account ID for which the access is required.
The ID is allocated by the Manager for the cloud account associated with the Controller. |
number | Yes |
Response Parameters
Following fields are returned in the response.
| Field Name | Description | Data Type |
|---|---|---|
| success | Indicates if the access to the cloud account is successfully granted to the VM group.
Value is set to true if the access to the cloud account is successful. Value is set to false if the access to the cloud account is not successful. |
string |
| msg | Not applicable | Not applicable |
| errMsg | Not applicable | Not applicable |
| domainName | Not applicable | Not applicable |
| data | Not applicable | Not applicable |
Example
Request
Response
{
"success": true,
"msg": null,
"errMsg": null,
"domainName": null,
"data": null
}