All URIs are relative to http://localhost
Method | HTTP request | Description |
---|---|---|
addGroup | POST /groups | Add a group |
addUser | POST /users | Add User |
addUserToGroup | POST /groups/{groupName}/users | Add User to a group |
deleteGroup | DELETE /groups/{groupName} | Delete Group |
deleteUsername | DELETE /users/{username} | Delete Username |
getGroup | GET /groups/{groupName} | Get a user group |
getGroups | GET /groups | Get list of user group(s) |
getListOfUserGroups | GET /users/{username}/groups | Returns a list of group user belongs to |
getUser | GET /users/{username} | Get a user |
getUsers | GET /users | Get list of user(s) |
getUsersInGroup | GET /groups/{groupName}/users | Get users in a group |
removeUsernameFromGroup | DELETE /groups/{groupName}/users/{username} | Remove Username From Group |
setUserOperation | PUT /users/{username}/{userOperation} | Set User Operation |
AddResponse addGroup(addGroupRequest)
Add a group
Add a new group
// Import classes:
import com.formkiq.client.invoker.ApiClient;
import com.formkiq.client.invoker.ApiException;
import com.formkiq.client.invoker.Configuration;
import com.formkiq.client.invoker.auth.*;
import com.formkiq.client.invoker.models.*;
import com.formkiq.client.api.UserManagementApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
// Configure AWS Signature V4 authorization
defaultClient.setAWS4Configuration("YOUR_ACCESS_KEY", "YOUR_SECRET_KEY", "REGION", "SERVICE")
UserManagementApi apiInstance = new UserManagementApi(defaultClient);
AddGroupRequest addGroupRequest = new AddGroupRequest(); // AddGroupRequest |
try {
AddResponse result = apiInstance.addGroup(addGroupRequest);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling UserManagementApi#addGroup");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
addGroupRequest | AddGroupRequest |
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 OK | * Access-Control-Allow-Origin - * Access-Control-Allow-Methods - * Access-Control-Allow-Headers - |
AddResponse addUser(addUserRequest)
Add User
Adds a user
// Import classes:
import com.formkiq.client.invoker.ApiClient;
import com.formkiq.client.invoker.ApiException;
import com.formkiq.client.invoker.Configuration;
import com.formkiq.client.invoker.auth.*;
import com.formkiq.client.invoker.models.*;
import com.formkiq.client.api.UserManagementApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
// Configure AWS Signature V4 authorization
defaultClient.setAWS4Configuration("YOUR_ACCESS_KEY", "YOUR_SECRET_KEY", "REGION", "SERVICE")
UserManagementApi apiInstance = new UserManagementApi(defaultClient);
AddUserRequest addUserRequest = new AddUserRequest(); // AddUserRequest |
try {
AddResponse result = apiInstance.addUser(addUserRequest);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling UserManagementApi#addUser");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
addUserRequest | AddUserRequest |
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 OK | * Access-Control-Allow-Origin - * Access-Control-Allow-Methods - * Access-Control-Allow-Headers - |
AddResponse addUserToGroup(groupName, addUserRequest)
Add User to a group
Adds a user to a group
// Import classes:
import com.formkiq.client.invoker.ApiClient;
import com.formkiq.client.invoker.ApiException;
import com.formkiq.client.invoker.Configuration;
import com.formkiq.client.invoker.auth.*;
import com.formkiq.client.invoker.models.*;
import com.formkiq.client.api.UserManagementApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
// Configure AWS Signature V4 authorization
defaultClient.setAWS4Configuration("YOUR_ACCESS_KEY", "YOUR_SECRET_KEY", "REGION", "SERVICE")
UserManagementApi apiInstance = new UserManagementApi(defaultClient);
String groupName = "groupName_example"; // String | Group Name
AddUserRequest addUserRequest = new AddUserRequest(); // AddUserRequest |
try {
AddResponse result = apiInstance.addUserToGroup(groupName, addUserRequest);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling UserManagementApi#addUserToGroup");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
groupName | String | Group Name | |
addUserRequest | AddUserRequest |
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 OK | * Access-Control-Allow-Origin - * Access-Control-Allow-Methods - * Access-Control-Allow-Headers - |
DeleteResponse deleteGroup(groupName)
Delete Group
Delete Group
// Import classes:
import com.formkiq.client.invoker.ApiClient;
import com.formkiq.client.invoker.ApiException;
import com.formkiq.client.invoker.Configuration;
import com.formkiq.client.invoker.auth.*;
import com.formkiq.client.invoker.models.*;
import com.formkiq.client.api.UserManagementApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
// Configure AWS Signature V4 authorization
defaultClient.setAWS4Configuration("YOUR_ACCESS_KEY", "YOUR_SECRET_KEY", "REGION", "SERVICE")
UserManagementApi apiInstance = new UserManagementApi(defaultClient);
String groupName = "groupName_example"; // String | Group Name
try {
DeleteResponse result = apiInstance.deleteGroup(groupName);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling UserManagementApi#deleteGroup");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
groupName | String | Group Name |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 OK | * Access-Control-Allow-Origin - * Access-Control-Allow-Methods - * Access-Control-Allow-Headers - |
DeleteResponse deleteUsername(username)
Delete Username
Delete Username
// Import classes:
import com.formkiq.client.invoker.ApiClient;
import com.formkiq.client.invoker.ApiException;
import com.formkiq.client.invoker.Configuration;
import com.formkiq.client.invoker.auth.*;
import com.formkiq.client.invoker.models.*;
import com.formkiq.client.api.UserManagementApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
// Configure AWS Signature V4 authorization
defaultClient.setAWS4Configuration("YOUR_ACCESS_KEY", "YOUR_SECRET_KEY", "REGION", "SERVICE")
UserManagementApi apiInstance = new UserManagementApi(defaultClient);
String username = "username_example"; // String | Username
try {
DeleteResponse result = apiInstance.deleteUsername(username);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling UserManagementApi#deleteUsername");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
username | String | Username |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 OK | * Access-Control-Allow-Origin - * Access-Control-Allow-Methods - * Access-Control-Allow-Headers - |
GetGroupResponse getGroup(groupName)
Get a user group
Returns a user group
// Import classes:
import com.formkiq.client.invoker.ApiClient;
import com.formkiq.client.invoker.ApiException;
import com.formkiq.client.invoker.Configuration;
import com.formkiq.client.invoker.auth.*;
import com.formkiq.client.invoker.models.*;
import com.formkiq.client.api.UserManagementApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
// Configure AWS Signature V4 authorization
defaultClient.setAWS4Configuration("YOUR_ACCESS_KEY", "YOUR_SECRET_KEY", "REGION", "SERVICE")
UserManagementApi apiInstance = new UserManagementApi(defaultClient);
String groupName = "groupName_example"; // String | Group Name
try {
GetGroupResponse result = apiInstance.getGroup(groupName);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling UserManagementApi#getGroup");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
groupName | String | Group Name |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 OK | * Access-Control-Allow-Origin - * Access-Control-Allow-Methods - * Access-Control-Allow-Headers - |
GetGroupsResponse getGroups(limit, next)
Get list of user group(s)
Returns the list of user groups
// Import classes:
import com.formkiq.client.invoker.ApiClient;
import com.formkiq.client.invoker.ApiException;
import com.formkiq.client.invoker.Configuration;
import com.formkiq.client.invoker.auth.*;
import com.formkiq.client.invoker.models.*;
import com.formkiq.client.api.UserManagementApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
// Configure AWS Signature V4 authorization
defaultClient.setAWS4Configuration("YOUR_ACCESS_KEY", "YOUR_SECRET_KEY", "REGION", "SERVICE")
UserManagementApi apiInstance = new UserManagementApi(defaultClient);
String limit = "10"; // String | Limit Results
String next = "next_example"; // String | Next page of results token
try {
GetGroupsResponse result = apiInstance.getGroups(limit, next);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling UserManagementApi#getGroups");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
limit | String | Limit Results | [optional] [default to 10] |
next | String | Next page of results token | [optional] |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 OK | * Access-Control-Allow-Origin - * Access-Control-Allow-Methods - * Access-Control-Allow-Headers - |
GetUserGroupsResponse getListOfUserGroups(username, limit, next)
Returns a list of group user belongs to
Returns a list of group user belongs to
// Import classes:
import com.formkiq.client.invoker.ApiClient;
import com.formkiq.client.invoker.ApiException;
import com.formkiq.client.invoker.Configuration;
import com.formkiq.client.invoker.auth.*;
import com.formkiq.client.invoker.models.*;
import com.formkiq.client.api.UserManagementApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
// Configure AWS Signature V4 authorization
defaultClient.setAWS4Configuration("YOUR_ACCESS_KEY", "YOUR_SECRET_KEY", "REGION", "SERVICE")
UserManagementApi apiInstance = new UserManagementApi(defaultClient);
String username = "username_example"; // String | Username
String limit = "10"; // String | Limit Results
String next = "next_example"; // String | Next page of results token
try {
GetUserGroupsResponse result = apiInstance.getListOfUserGroups(username, limit, next);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling UserManagementApi#getListOfUserGroups");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
username | String | Username | |
limit | String | Limit Results | [optional] [default to 10] |
next | String | Next page of results token | [optional] |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 OK | * Access-Control-Allow-Origin - * Access-Control-Allow-Methods - * Access-Control-Allow-Headers - |
GetUserResponse getUser(username)
Get a user
Returns a user
// Import classes:
import com.formkiq.client.invoker.ApiClient;
import com.formkiq.client.invoker.ApiException;
import com.formkiq.client.invoker.Configuration;
import com.formkiq.client.invoker.auth.*;
import com.formkiq.client.invoker.models.*;
import com.formkiq.client.api.UserManagementApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
// Configure AWS Signature V4 authorization
defaultClient.setAWS4Configuration("YOUR_ACCESS_KEY", "YOUR_SECRET_KEY", "REGION", "SERVICE")
UserManagementApi apiInstance = new UserManagementApi(defaultClient);
String username = "username_example"; // String | Username
try {
GetUserResponse result = apiInstance.getUser(username);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling UserManagementApi#getUser");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
username | String | Username |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 OK | * Access-Control-Allow-Origin - * Access-Control-Allow-Methods - * Access-Control-Allow-Headers - |
GetUsersResponse getUsers(limit, next)
Get list of user(s)
Returns the list of users
// Import classes:
import com.formkiq.client.invoker.ApiClient;
import com.formkiq.client.invoker.ApiException;
import com.formkiq.client.invoker.Configuration;
import com.formkiq.client.invoker.auth.*;
import com.formkiq.client.invoker.models.*;
import com.formkiq.client.api.UserManagementApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
// Configure AWS Signature V4 authorization
defaultClient.setAWS4Configuration("YOUR_ACCESS_KEY", "YOUR_SECRET_KEY", "REGION", "SERVICE")
UserManagementApi apiInstance = new UserManagementApi(defaultClient);
String limit = "10"; // String | Limit Results
String next = "next_example"; // String | Next page of results token
try {
GetUsersResponse result = apiInstance.getUsers(limit, next);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling UserManagementApi#getUsers");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
limit | String | Limit Results | [optional] [default to 10] |
next | String | Next page of results token | [optional] |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 OK | * Access-Control-Allow-Origin - * Access-Control-Allow-Methods - * Access-Control-Allow-Headers - |
GetUsersInGroupResponse getUsersInGroup(groupName, limit, next)
Get users in a group
Returns the list of users in a group
// Import classes:
import com.formkiq.client.invoker.ApiClient;
import com.formkiq.client.invoker.ApiException;
import com.formkiq.client.invoker.Configuration;
import com.formkiq.client.invoker.auth.*;
import com.formkiq.client.invoker.models.*;
import com.formkiq.client.api.UserManagementApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
// Configure AWS Signature V4 authorization
defaultClient.setAWS4Configuration("YOUR_ACCESS_KEY", "YOUR_SECRET_KEY", "REGION", "SERVICE")
UserManagementApi apiInstance = new UserManagementApi(defaultClient);
String groupName = "groupName_example"; // String | Group Name
String limit = "10"; // String | Limit Results
String next = "next_example"; // String | Next page of results token
try {
GetUsersInGroupResponse result = apiInstance.getUsersInGroup(groupName, limit, next);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling UserManagementApi#getUsersInGroup");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
groupName | String | Group Name | |
limit | String | Limit Results | [optional] [default to 10] |
next | String | Next page of results token | [optional] |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 OK | * Access-Control-Allow-Origin - * Access-Control-Allow-Methods - * Access-Control-Allow-Headers - |
DeleteResponse removeUsernameFromGroup(groupName, username)
Remove Username From Group
Remove Username From Group
// Import classes:
import com.formkiq.client.invoker.ApiClient;
import com.formkiq.client.invoker.ApiException;
import com.formkiq.client.invoker.Configuration;
import com.formkiq.client.invoker.auth.*;
import com.formkiq.client.invoker.models.*;
import com.formkiq.client.api.UserManagementApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
// Configure AWS Signature V4 authorization
defaultClient.setAWS4Configuration("YOUR_ACCESS_KEY", "YOUR_SECRET_KEY", "REGION", "SERVICE")
UserManagementApi apiInstance = new UserManagementApi(defaultClient);
String groupName = "groupName_example"; // String | Group Name
String username = "username_example"; // String | Username
try {
DeleteResponse result = apiInstance.removeUsernameFromGroup(groupName, username);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling UserManagementApi#removeUsernameFromGroup");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
groupName | String | Group Name | |
username | String | Username |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 OK | * Access-Control-Allow-Origin - * Access-Control-Allow-Methods - * Access-Control-Allow-Headers - |
SetResponse setUserOperation(username, userOperation)
Set User Operation
Set User Operation (disable, enable, reset-password)
// Import classes:
import com.formkiq.client.invoker.ApiClient;
import com.formkiq.client.invoker.ApiException;
import com.formkiq.client.invoker.Configuration;
import com.formkiq.client.invoker.auth.*;
import com.formkiq.client.invoker.models.*;
import com.formkiq.client.api.UserManagementApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
// Configure AWS Signature V4 authorization
defaultClient.setAWS4Configuration("YOUR_ACCESS_KEY", "YOUR_SECRET_KEY", "REGION", "SERVICE")
UserManagementApi apiInstance = new UserManagementApi(defaultClient);
String username = "username_example"; // String | Username
String userOperation = "DISABLE"; // String | Username Operation
try {
SetResponse result = apiInstance.setUserOperation(username, userOperation);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling UserManagementApi#setUserOperation");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
username | String | Username | |
userOperation | String | Username Operation | [enum: DISABLE, ENABLE, RESET_PASSWORD] |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 OK | * Access-Control-Allow-Origin - * Access-Control-Allow-Methods - * Access-Control-Allow-Headers - |