Retrieve account details by ID.
HPE Compute Ops Management API (latest)
HPE Compute Operations Management provides a Restful API to customers who want to manage their devices programmatically or through a command line. The API enables customers to invoke operations or tasks such as list devices, see device details, device health, and manage their device's firmware.
UPDATED API ENDPOINTS
Compute Ops Management now supports the HPE GreenLake API endpoints (<region>.api.greenlake.hpe.com
). The Guide contains more information about this change.
https://stage-developer-portal-hpe.redocly.app/_mock/docs/greenlake/services/compute-ops-mgmt/public/openapi/compute-ops-mgmt-latest/
https://us-west.api.greenlake.hpe.com/
https://eu-central.api.greenlake.hpe.com/
https://ap-northeast.api.greenlake.hpe.com/
Tenant-Acid header can be used by an MSP workspace to make API calls on behalf of their tenant by specifying the tenant's application customer ID.
In order to make such an API call, the Bearer token must belong to an MSP workspace and this header value must be the application customer ID of a tenant within the MSP workspace. Use the /compute-ops-mgmt/v1beta1/accounts
API to determine the application customer IDs for your tenant accounts.
- Mock server
https://stage-developer-portal-hpe.redocly.app/_mock/docs/greenlake/services/compute-ops-mgmt/public/openapi/compute-ops-mgmt-latest/compute-ops-mgmt/v1beta1/accounts/{id}
- API endpoint for US West
https://us-west.api.greenlake.hpe.com/compute-ops-mgmt/v1beta1/accounts/{id}
- API endpoint for EU Central
https://eu-central.api.greenlake.hpe.com/compute-ops-mgmt/v1beta1/accounts/{id}
- API endpoint for AP Northeast
https://ap-northeast.api.greenlake.hpe.com/compute-ops-mgmt/v1beta1/accounts/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- Go
- C#
- PHP
curl -i -X GET \
'https://stage-developer-portal-hpe.redocly.app/_mock/docs/greenlake/services/compute-ops-mgmt/public/openapi/compute-ops-mgmt-latest/compute-ops-mgmt/v1beta1/accounts/{id}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'
OK
Primary identifier of a particular account
The account type of a particular application customer ID.
Application customer Id (same as id)
Workspace identifier
Application customer Id of a MSP user (if accountType is TENANT)
Workspace identifier of a MSP user (if accountType is TENANT)
Time of account creation.
Time of the last update to the account
{ "id": "0c3bed66f22211ee8c4e128da47d07ed", "accountType": "UNKNOWN", "applicationCustomerId": "0c3bed66f22211ee8c4e128da47d07ed", "platformCustomerId": "567d21e6c08c11eeb7980ea2e11446eb", "mspApplicationCustomerId": "482788de186111ef8efeca97be113755", "mspPlatformCustomerId": "482788de186111ef8efeca97be113755", "name": "msp-test-com", "description": "string", "createdAt": "2022-02-11T01:04:20.799937+00:00", "updatedAt": "2022-02-11T01:04:20.799937+00:00", "generation": 1, "operationalMode": "DEFAULT", "accountInfo": { "country": "string", "createdAt": "string", "updatedAt": "string", "countryCode": "string" } }
Tenant-Acid header can be used by an MSP workspace to make API calls on behalf of their tenant by specifying the tenant's application customer ID.
In order to make such an API call, the Bearer token must belong to an MSP workspace and this header value must be the application customer ID of a tenant within the MSP workspace. Use the /compute-ops-mgmt/v1beta1/accounts
API to determine the application customer IDs for your tenant accounts.
- Mock server
https://stage-developer-portal-hpe.redocly.app/_mock/docs/greenlake/services/compute-ops-mgmt/public/openapi/compute-ops-mgmt-latest/compute-ops-mgmt/v1beta1/accounts/{id}/tenants
- API endpoint for US West
https://us-west.api.greenlake.hpe.com/compute-ops-mgmt/v1beta1/accounts/{id}/tenants
- API endpoint for EU Central
https://eu-central.api.greenlake.hpe.com/compute-ops-mgmt/v1beta1/accounts/{id}/tenants
- API endpoint for AP Northeast
https://ap-northeast.api.greenlake.hpe.com/compute-ops-mgmt/v1beta1/accounts/{id}/tenants
- curl
- JavaScript
- Node.js
- Python
- Java
- Go
- C#
- PHP
curl -i -X GET \
'https://stage-developer-portal-hpe.redocly.app/_mock/docs/greenlake/services/compute-ops-mgmt/public/openapi/compute-ops-mgmt-latest/compute-ops-mgmt/v1beta1/accounts/{id}/tenants' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'
Successful Response
Total number of items in the collection that match the filter query, if one was provided in the request
Array of tenant account details in the page of the collection.
Primary identifier of a particular account
The account type of a particular application customer ID.
Application customer Id (same as id)
Workspace identifier
Application customer Id of a MSP user (if accountType is TENANT)
Workspace identifier of a MSP user (if accountType is TENANT)
Time of account creation.
Time of the last update to the account
{ "offset": 0, "count": 1, "total": 12, "items": [ { … } ] }