Account management APIs
APIs to manage accounts.
Base path: https://<Cluster Master Host>:<Cluster Master API Port>/idmgmt/identity/api/v1/account
The <Cluster Master Host> and <Cluster Master API Port> parameters are defined in Master endpoints.
Get information about all accounts
- API version
- 1.0.0
- API URI components
-
- Scheme
HTTPS
- Host IP
Cluster Master Host
- Port number
Cluster Master API Port
- Path
idmgmt/identity/api/v1/account
- Command
GET
- Command output format
application/json
The sample curl command resembles the following code:
curl -k -X GET --header "Authorization: Bearer $ACCESS_TOKEN" 'https://<Cluster Master Host>:<Cluster Master API Port>/idmgmt/identity/api/v1/account'
The response resembles the following code:
[{"id":"id-mycluster-account","name":"mycluster Account","description":"Description for mycluster Account"}]
Get information about an account
- API version
- 1.0.0
- API URI components
-
- Scheme
HTTPS
- Host IP
Cluster Master Host
- Port number
Cluster Master API Port
- Path
idmgmt/identity/api/v1/account/{id}- Command
GET
- Command output format
application/json
The sample curl command resembles the following code:
curl -k -X GET --header "Authorization: Bearer $ACCESS_TOKEN" 'https://<Cluster Master Host>:<Cluster Master API Port>/idmgmt/identity/api/v1/account/id-mycluster-account'
The response resembles the following code:
{"id":"id-mycluster-account","name":"mycluster Account","description":"Description for mycluster Account","url":"/identity/api/v1/account/id-mycluster-account"}