CRUD operations for Workspace Groups Management
Workspace Groups Management API (1.0.0-beta)
https://global.api.greenlake.hpe.com/
https://developer.greenlake.hpe.com/_mock/docs/greenlake/services/authorization/public/openapi/groups-v1beta1/external-groups-v1beta1/
https://global.api.greenlake.hpe.com/workspaces/v1beta1/groups
- Mock server
https://developer.greenlake.hpe.com/_mock/docs/greenlake/services/authorization/public/openapi/groups-v1beta1/external-groups-v1beta1/workspaces/v1beta1/groups
- curl
- JavaScript
- Node.js
- Python
- Java
- Go
- C#
- PHP
curl -i -X POST \
https://global.api.greenlake.hpe.com/workspaces/v1beta1/groups \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"name": "Demo Group",
"groupType": "TenantGroup"
}'Group successfully created
HPE GreenLake group ID resource identifier randomly generated by the system
{ "id": "93313ca9-6a6a-48d3-8f91-da639c0b5173", "type": "/workspaces/group", "name": "Demo Group", "grn": "grn:glp/workspaces/05f0523cfd0347fc981b9c4333a37b60/regions/default/providers/msp/tenant-groups/93313ca9-6a6a-48d3-8f91-da639c0b5173", "groupType": "TenantGroup", "description": "Sales admin Group", "generation": 0, "createdAt": "2024-01-08 22:59:17.424801 +0000 UTC", "updatedAt": "2024-01-08 23:00:22.320646 +0000 UTC" }
https://global.api.greenlake.hpe.com/workspaces/v1beta1/groups
- Mock server
https://developer.greenlake.hpe.com/_mock/docs/greenlake/services/authorization/public/openapi/groups-v1beta1/external-groups-v1beta1/workspaces/v1beta1/groups
- curl
- JavaScript
- Node.js
- Python
- Java
- Go
- C#
- PHP
curl -i -X GET \
https://global.api.greenlake.hpe.com/workspaces/v1beta1/groups \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'Return list of workspace groups
list of group objects
HPE GreenLake group ID resource identifier randomly generated by the system
Number of times the resource updated
{ "items": [ { … } ], "offset": 0, "count": 200, "total": 0 }
Add workspace to a group
HPE GreenLake unique workspace ID
https://global.api.greenlake.hpe.com/workspaces/v1beta1/groups/{groupId}/group-workspaces
- Mock server
https://developer.greenlake.hpe.com/_mock/docs/greenlake/services/authorization/public/openapi/groups-v1beta1/external-groups-v1beta1/workspaces/v1beta1/groups/{groupId}/group-workspaces
- curl
- JavaScript
- Node.js
- Python
- Java
- Go
- C#
- PHP
curl -i -X POST \
https://global.api.greenlake.hpe.com/workspaces/v1beta1/groups/93313ca9-6a6a-48d3-8f91-da639c0b5173/group-workspaces \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"workspaceId": "5a4af781011e423ba6bd554dc73ae5a5"
}'Workspace added to the group successfully
HPE GreenLake unique resource ID for this workspace belonging to the group
workspace resource metadata
HPE GreenLake global ID unique resource identifier for workspace
{ "id": "119363f3-4408-44c4-840a-99e1c9db64c1", "type": "/workspaces/group/group-workspace", "workspace": { "id": "5a4af781011e423ba6bd554dc73ae5a5", "type": "/workspaces/workspace", "description": "US-E Workspace", "name": "US-E workspace" }, "grn": "grn:glp/workspaces/05f0523cfd0347fc981b9c4333a37b60/regions/default/providers/msp/tenant-groups/93313ca9-6a6a-48d3-8f91-da639c0b5173", "generation": 0, "createdAt": "2024-01-08 22:59:17.424801 +0000 UTC", "updatedAt": "2024-01-08 23:00:22.320646 +0000 UTC" }
https://global.api.greenlake.hpe.com/workspaces/v1beta1/groups/{groupId}/group-workspaces
- Mock server
https://developer.greenlake.hpe.com/_mock/docs/greenlake/services/authorization/public/openapi/groups-v1beta1/external-groups-v1beta1/workspaces/v1beta1/groups/{groupId}/group-workspaces
- curl
- JavaScript
- Node.js
- Python
- Java
- Go
- C#
- PHP
curl -i -X GET \
https://global.api.greenlake.hpe.com/workspaces/v1beta1/groups/93313ca9-6a6a-48d3-8f91-da639c0b5173/group-workspaces \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'Return list of workspaces associated with this group
list of member objects
HPE GreenLake unique resource ID for this workspace belonging to the group
workspace resource metadata
HPE GreenLake global ID unique resource identifier for workspace
Number of times the resource updated
{ "items": [ { … } ], "offset": 0, "count": 200, "total": 0 }
https://global.api.greenlake.hpe.com/workspaces/v1beta1/groups/{groupId}/group-workspaces/{groupWorkspaceId}
- Mock server
https://developer.greenlake.hpe.com/_mock/docs/greenlake/services/authorization/public/openapi/groups-v1beta1/external-groups-v1beta1/workspaces/v1beta1/groups/{groupId}/group-workspaces/{groupWorkspaceId}
- curl
- JavaScript
- Node.js
- Python
- Java
- Go
- C#
- PHP
curl -i -X GET \
https://global.api.greenlake.hpe.com/workspaces/v1beta1/groups/93313ca9-6a6a-48d3-8f91-da639c0b5173/group-workspaces/119363f3-4408-44c4-840a-99e1c9db64c1 \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'Return Group
HPE GreenLake unique resource ID for this workspace belonging to the group
workspace resource metadata
HPE GreenLake global ID unique resource identifier for workspace
{ "id": "119363f3-4408-44c4-840a-99e1c9db64c1", "type": "/workspaces/group/group-workspace", "workspace": { "id": "5a4af781011e423ba6bd554dc73ae5a5", "type": "/workspaces/workspace", "description": "US-E Workspace", "name": "US-E workspace" }, "grn": "grn:glp/workspaces/05f0523cfd0347fc981b9c4333a37b60/regions/default/providers/msp/tenant-groups/93313ca9-6a6a-48d3-8f91-da639c0b5173", "generation": 0, "createdAt": "2024-01-08 22:59:17.424801 +0000 UTC", "updatedAt": "2024-01-08 23:00:22.320646 +0000 UTC" }
https://global.api.greenlake.hpe.com/workspaces/v1beta1/groups/{groupId}/group-workspaces/{groupWorkspaceId}
- Mock server
https://developer.greenlake.hpe.com/_mock/docs/greenlake/services/authorization/public/openapi/groups-v1beta1/external-groups-v1beta1/workspaces/v1beta1/groups/{groupId}/group-workspaces/{groupWorkspaceId}
- curl
- JavaScript
- Node.js
- Python
- Java
- Go
- C#
- PHP
curl -i -X DELETE \
https://global.api.greenlake.hpe.com/workspaces/v1beta1/groups/93313ca9-6a6a-48d3-8f91-da639c0b5173/group-workspaces/119363f3-4408-44c4-840a-99e1c9db64c1 \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'https://global.api.greenlake.hpe.com/workspaces/v1beta1/groups/{groupId}
- Mock server
https://developer.greenlake.hpe.com/_mock/docs/greenlake/services/authorization/public/openapi/groups-v1beta1/external-groups-v1beta1/workspaces/v1beta1/groups/{groupId}
- curl
- JavaScript
- Node.js
- Python
- Java
- Go
- C#
- PHP
curl -i -X GET \
https://global.api.greenlake.hpe.com/workspaces/v1beta1/groups/93313ca9-6a6a-48d3-8f91-da639c0b5173 \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'{ "id": "93313ca9-6a6a-48d3-8f91-da639c0b5173", "type": "/workspaces/group", "name": "Demo Group", "grn": "grn:glp/workspaces/05f0523cfd0347fc981b9c4333a37b60/regions/default/providers/msp/tenant-groups/93313ca9-6a6a-48d3-8f91-da639c0b5173", "groupType": "TenantGroup", "description": "Sales admin Group", "generation": 0, "createdAt": "2024-01-08 22:59:17.424801 +0000 UTC", "updatedAt": "2024-01-08 23:00:22.320646 +0000 UTC" }
https://global.api.greenlake.hpe.com/workspaces/v1beta1/groups/{groupId}
- Mock server
https://developer.greenlake.hpe.com/_mock/docs/greenlake/services/authorization/public/openapi/groups-v1beta1/external-groups-v1beta1/workspaces/v1beta1/groups/{groupId}
- curl
- JavaScript
- Node.js
- Python
- Java
- Go
- C#
- PHP
curl -i -X PUT \
https://global.api.greenlake.hpe.com/workspaces/v1beta1/groups/93313ca9-6a6a-48d3-8f91-da639c0b5173 \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"name": "Demo Group"
}'Group sucessfully updated
HPE GreenLake group ID resource identifier randomly generated by the system
{ "id": "93313ca9-6a6a-48d3-8f91-da639c0b5173", "type": "/workspaces/group", "name": "Demo Group", "grn": "grn:glp/workspaces/05f0523cfd0347fc981b9c4333a37b60/regions/default/providers/msp/tenant-groups/93313ca9-6a6a-48d3-8f91-da639c0b5173", "groupType": "TenantGroup", "description": "Sales admin Group", "generation": 0, "createdAt": "2024-01-08 22:59:17.424801 +0000 UTC", "updatedAt": "2024-01-08 23:00:22.320646 +0000 UTC" }
https://global.api.greenlake.hpe.com/workspaces/v1beta1/groups/{groupId}
- Mock server
https://developer.greenlake.hpe.com/_mock/docs/greenlake/services/authorization/public/openapi/groups-v1beta1/external-groups-v1beta1/workspaces/v1beta1/groups/{groupId}
- curl
- JavaScript
- Node.js
- Python
- Java
- Go
- C#
- PHP
curl -i -X DELETE \
https://global.api.greenlake.hpe.com/workspaces/v1beta1/groups/93313ca9-6a6a-48d3-8f91-da639c0b5173 \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'