HPE GreenLake for Workspace Management APIs allow programmatic access to the records of workspaces and workspace-user relationships. The Workspace Management APIs allow you to perform tasks without the user interface. You can:
- Retrieve information about workspaces.
- Create, delete, update, and check tenant information using a token from their workspaces.
- API to retrieve workspace information
- Managed Service Provider (MSP) tenant management
You need the correct role and permissions to use the HPE GreenLake Workspaces API. A role is a group of permissions that you can specify and assign to users in your HPE GreenLake workspace. There are 3 basic role types distinguished by the privileges defined in the authorization service:
- Administrator—has view, edit, and delete privileges in the workspace.
- Operator—has view and edit privileges in the workspace.
- Observer—has only view privileges in the workspace.
The following table lists Workspaces API calls along with the resource and permission required to make the call:
| Workspaces API call | Resource | Permission required |
|---|---|---|
| GET /workspaces/v1/workspaces/{workspaceId} | Platform Customer Account | View |
| GET /workspaces/v1/msp-tenants | Platform Customer Account | View |
| POST /workspaces/v1/msp-tenants | Platform Customer Account | Edit |
| PUT /workspaces/v1/msp-tenants/{tenantId} | Platform Customer Account | Edit |
| DELETE /workspaces/v1/msp-tenants/{tenantId} | Platform Customer Account | Delete |
| Endpoint | HPE GreenLake cloud | HPE GreenLake Dedicated Platform |
|---|---|---|
GET /workspaces/v1/workspaces/{workspaceId} | Yes | Yes |
GET /workspaces/v1/msp-tenants | Yes | Yes |
POST /workspaces/v1/msp-tenants | Yes | Yes |
PUT /workspaces/v1/msp-tenants/{tenantId} | Yes | Yes |
DELETE /workspaces/v1/msp-tenants/{tenantId} | Yes | Yes |
June 2024
The HPE GreenLake for Workspace Management APIs were relocated to the main navigation menu to make the them easier to find.