Get License Accounts API
The benchmarks API provides list of the list of Cloud Accounts for given License in Cloudneeti.
GET https://<CLOUDNEETI API DOMAIN>/onboarding/license/<LICENSE ID>/licenseAccounts
Environment |
Values for Cloudneeti API domain |
PROD |
api.cloudneeti.com |
TRIAL |
trialapi.cloudneeti.com |
URI Parameters
Authorization
Type |
Description |
Required/Optional |
Bearer Token |
License Token |
Required |
Response
Name |
Type |
Description |
result |
Object |
List of cloud accounts in given License |
statusCode |
Integer |
Cloudneeti API response status code |
message |
String |
Response describing operation result as success or failed. |
Sample response
{
"result": {
"licenseId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx",
"accounts": [
{
"accountId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx",
"accountName": "Azure",
"isInApiScope": true,
"connectorType": "Azure"
},
{
"accountId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx",
"accountName": "office",
"isInApiScope": true,
"connectorType": "Office365"
}
],
"apis": [
"Account.Audit",
"Account.Health",
"Account.Rescan",
"Account.GetJobstatus",
"Account.InsertKubernetesClusterData",
"License.AddAccount",
"License.UpdateAPIAccess",
"License.GetAPIAccess"
]
},
"statusCode": 200,
"message": "Request Successful"
}
Appendix
Cloudneeti license and account details
Login to Cloudneeti portal as a License Admin.
LICENSE ID
-
Navigate to Features and Quotas under Configurations
-
Copy License id and paste to notepad.