public class AccountsApi extends Object
Constructor and Description |
---|
AccountsApi() |
AccountsApi(ApiClient apiClient) |
Modifier and Type | Method and Description |
---|---|
Account |
createAccount(AccountRequest body)
Create a new account
Create a new account with the specified properties.
|
void |
deleteAccount(String accountId)
Delete account
Remove an account from SDKMS.
|
Account |
getAccount(String accountId)
Get a specific account
Look up an account by account ID.
|
List<Account> |
getAccounts()
Get all accounts
Get detailed information on all accounts the current user has access to.
|
ApiClient |
getApiClient() |
void |
setApiClient(ApiClient apiClient) |
Account |
updateAccount(String accountId,
AccountRequest body)
Update account
Update the properties of an account.
|
public AccountsApi()
public AccountsApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public Account createAccount(AccountRequest body) throws ApiException
body
- Properties to assign to Account. (required)ApiException
- if fails to make API callpublic void deleteAccount(String accountId) throws ApiException
accountId
- Account Identifier (required)ApiException
- if fails to make API callpublic Account getAccount(String accountId) throws ApiException
accountId
- Account Identifier (required)ApiException
- if fails to make API callpublic List<Account> getAccounts() throws ApiException
ApiException
- if fails to make API callpublic Account updateAccount(String accountId, AccountRequest body) throws ApiException
accountId
- Account Identifier (required)body
- Properties to assign to Account. (required)ApiException
- if fails to make API callCopyright © 2017-2023 Fortanix Inc. All Rights Reserved