With the HPE GreenLake for Identity Management APIs you can view, update preferences, and remove users from your workspace.
HPE GreenLake for User Management API (1.0.0)
https://global.api.greenlake.hpe.com/
https://developer.greenlake.hpe.com/_mock/docs/greenlake/services/identity/public/openapi/identity-v1/
Filter data using a subset of OData 4.0 and return only the subset of resources that match the filter.
Supported classes and examples include:
- Types: timestamp, string
- Comparison: eq, ne, gt, ge, lt
- Logical Expressions: and, or, not
The Get users API can be filtered by:
- id
- username
- firstName
- lastName
- userStatus
- createdAt
- updatedAt
- lastLogin
userStatus can be one of the following:
- UNVERIFIED
- VERIFIED
- BLOCKED
- DELETE_IN_PROGRESS
- DELETED
- SUSPENDED
Note: The userStatus filter is case-sensitive.
Returns the user with a specific ID.
Returns the user with a specific username.
Returns the user with a specific first name.
Returns the user with a specific last name.
Returns users that are not unverified.
Returns users created after 2020-09-21T14:19:09.769747
Returns users updated after 2020-09-21T14:19:09.769747
Returns users that logged in before 2020-09-21T14:19:09.769747
Returns the user with a specific email.
Specify pagination offset. An offset argument defines how many pages to skip before returning results.
https://global.api.greenlake.hpe.com/identity/v1/users
- Mock server
https://developer.greenlake.hpe.com/_mock/docs/greenlake/services/identity/public/openapi/identity-v1/identity/v1/users
- curl
- JavaScript
- Node.js
- Python
- Java
- Go
- C#
- PHP
curl -i -X GET \
https://global.api.greenlake.hpe.com/identity/v1/users \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'{ "offset": 0, "count": 1, "total": 1, "items": [ { … } ] }
https://global.api.greenlake.hpe.com/identity/v1/users
- Mock server
https://developer.greenlake.hpe.com/_mock/docs/greenlake/services/identity/public/openapi/identity-v1/identity/v1/users
- curl
- JavaScript
- Node.js
- Python
- Java
- Go
- C#
- PHP
curl -i -X POST \
https://global.api.greenlake.hpe.com/identity/v1/users \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{}'{ "message": "string" }
https://global.api.greenlake.hpe.com/identity/v1/users/{id}
- Mock server
https://developer.greenlake.hpe.com/_mock/docs/greenlake/services/identity/public/openapi/identity-v1/identity/v1/users/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- Go
- C#
- PHP
curl -i -X GET \
https://global.api.greenlake.hpe.com/identity/v1/users/3fa85f64-5717-4562-b3fc-2c963f66afa6 \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'{ "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "type": "user", "generation": 1, "createdAt": "2025-09-10T18:22:24.530Z", "updatedAt": "2025-09-11T10:20:19.530Z", "username": "user@example.com", "firstName": "First", "lastName": "Last", "userStatus": "UNVERIFIED", "lastLogin": "2025-09-10T18:22:24.530Z", "resourceUri": "/identity/v1/users/3fa85f64-5717-4562-b3fc-2c963f66afa6" }
https://global.api.greenlake.hpe.com/identity/v1/users/{id}
- Mock server
https://developer.greenlake.hpe.com/_mock/docs/greenlake/services/identity/public/openapi/identity-v1/identity/v1/users/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- Go
- C#
- PHP
curl -i -X PUT \
https://global.api.greenlake.hpe.com/identity/v1/users/7600415a-8876-5722-9f3c-b0fd11112283 \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{}'{ "message": "string" }
https://global.api.greenlake.hpe.com/identity/v1/users/{id}
- Mock server
https://developer.greenlake.hpe.com/_mock/docs/greenlake/services/identity/public/openapi/identity-v1/identity/v1/users/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- Go
- C#
- PHP
curl -i -X DELETE \
https://global.api.greenlake.hpe.com/identity/v1/users/7600415a-8876-5722-9f3c-b0fd11112283 \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'