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://developer.greenlake.hpe.com/_mock/docs/greenlake/services/identity/public/openapi/identity-v1/
https://global.api.greenlake.hpe.com/
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
- 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 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.
- Mock server
https://developer.greenlake.hpe.com/_mock/docs/greenlake/services/identity/public/openapi/identity-v1/identity/v1/users
https://global.api.greenlake.hpe.com/identity/v1/users
- curl
- JavaScript
- Node.js
- Python
- Java
- Go
- C#
- PHP
curl -i -X GET \
https://developer.greenlake.hpe.com/_mock/docs/greenlake/services/identity/public/openapi/identity-v1/identity/v1/users \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'
{ "offset": 0, "count": 0, "total": 0, "items": [ { … } ] }
- Mock server
https://developer.greenlake.hpe.com/_mock/docs/greenlake/services/identity/public/openapi/identity-v1/identity/v1/users
https://global.api.greenlake.hpe.com/identity/v1/users
- curl
- JavaScript
- Node.js
- Python
- Java
- Go
- C#
- PHP
curl -i -X POST \
https://developer.greenlake.hpe.com/_mock/docs/greenlake/services/identity/public/openapi/identity-v1/identity/v1/users \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{}'
{ "message": "string" }
- Mock server
https://developer.greenlake.hpe.com/_mock/docs/greenlake/services/identity/public/openapi/identity-v1/identity/v1/users/{id}
https://global.api.greenlake.hpe.com/identity/v1/users/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- Go
- C#
- PHP
curl -i -X GET \
https://developer.greenlake.hpe.com/_mock/docs/greenlake/services/identity/public/openapi/identity-v1/identity/v1/users/7600415a-8876-5722-9f3c-b0fd11112283 \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'
{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "type": "string", "generation": 0, "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "username": "user@example.com", "userStatus": "UNVERIFIED", "lastLogin": "2019-08-24T14:15:22Z", "resourceUri": "string" }
- Mock server
https://developer.greenlake.hpe.com/_mock/docs/greenlake/services/identity/public/openapi/identity-v1/identity/v1/users/{id}
https://global.api.greenlake.hpe.com/identity/v1/users/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- Go
- C#
- PHP
curl -i -X PUT \
https://developer.greenlake.hpe.com/_mock/docs/greenlake/services/identity/public/openapi/identity-v1/identity/v1/users/7600415a-8876-5722-9f3c-b0fd11112283 \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{}'
{ "message": "string" }
- Mock server
https://developer.greenlake.hpe.com/_mock/docs/greenlake/services/identity/public/openapi/identity-v1/identity/v1/users/{id}
https://global.api.greenlake.hpe.com/identity/v1/users/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- Go
- C#
- PHP
curl -i -X DELETE \
https://developer.greenlake.hpe.com/_mock/docs/greenlake/services/identity/public/openapi/identity-v1/identity/v1/users/7600415a-8876-5722-9f3c-b0fd11112283 \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'