All URIs are relative to http://localhost
Method | HTTP request | Description |
---|---|---|
userAddUserMemberships | POST /fotoweb/api/users/{id}/member-of | Add the user to one or more groups |
userAddUserMembershipsWithHttpInfo | POST /fotoweb/api/users/{id}/member-of | Add the user to one or more groups |
userCountAllUsers | GET /fotoweb/api/users/count | Count all users on the site |
userCountAllUsersWithHttpInfo | GET /fotoweb/api/users/count | Count all users on the site |
userCountRecursiveUserMemberships | GET /fotoweb/api/users/{id}/member-of-recursive/count | Count all distinct groups that the user is a direct or indirect member of |
userCountRecursiveUserMembershipsWithHttpInfo | GET /fotoweb/api/users/{id}/member-of-recursive/count | Count all distinct groups that the user is a direct or indirect member of |
userCountUserDirectMemberships | GET /fotoweb/api/users/{id}/member-of/count | Count all groups that the user is a direct member of |
userCountUserDirectMembershipsWithHttpInfo | GET /fotoweb/api/users/{id}/member-of/count | Count all groups that the user is a direct member of |
userCreateNewUser | POST /fotoweb/api/users | Create a new user |
userCreateNewUserWithHttpInfo | POST /fotoweb/api/users | Create a new user |
userDeleteAllUserMemberships | DELETE /fotoweb/api/users/{id}/member-of | Remove the user from all groups |
userDeleteAllUserMembershipsWithHttpInfo | DELETE /fotoweb/api/users/{id}/member-of | Remove the user from all groups |
userDeleteAllUserProperties | DELETE /fotoweb/api/users/{id}/properties | Delete all custom properties of a user |
userDeleteAllUserPropertiesWithHttpInfo | DELETE /fotoweb/api/users/{id}/properties | Delete all custom properties of a user |
userDeleteUser | DELETE /fotoweb/api/users/{id} | Delete a user |
userDeleteUserWithHttpInfo | DELETE /fotoweb/api/users/{id} | Delete a user |
userDeleteUserExternalIds | DELETE /fotoweb/api/users/{id}/external-ids | Delete all external IDs of a user |
userDeleteUserExternalIdsWithHttpInfo | DELETE /fotoweb/api/users/{id}/external-ids | Delete all external IDs of a user |
userDeleteUserExternalIdsFromProvider | DELETE /fotoweb/api/users/{id}/external-ids/{provider} | Delete the external ID of a user from a provider |
userDeleteUserExternalIdsFromProviderWithHttpInfo | DELETE /fotoweb/api/users/{id}/external-ids/{provider} | Delete the external ID of a user from a provider |
userDeleteUserMembership | DELETE /fotoweb/api/users/{id}/member-of/{group} | Remove the user from a single group |
userDeleteUserMembershipWithHttpInfo | DELETE /fotoweb/api/users/{id}/member-of/{group} | Remove the user from a single group |
userDeleteUserPassword | DELETE /fotoweb/api/users/{id}/password | Delete the password of a user |
userDeleteUserPasswordWithHttpInfo | DELETE /fotoweb/api/users/{id}/password | Delete the password of a user |
userDeleteUserProperties | DELETE /fotoweb/api/users/{id}/properties/{key} | Delete a custom property of a user |
userDeleteUserPropertiesWithHttpInfo | DELETE /fotoweb/api/users/{id}/properties/{key} | Delete a custom property of a user |
userGetAllUsers | GET /fotoweb/api/users | Get all users on the site |
userGetAllUsersWithHttpInfo | GET /fotoweb/api/users | Get all users on the site |
userGetRecursiveUserMemberships | GET /fotoweb/api/users/{id}/member-of-recursive | Get all distinct groups that the user is a direct or indirect member of |
userGetRecursiveUserMembershipsWithHttpInfo | GET /fotoweb/api/users/{id}/member-of-recursive | Get all distinct groups that the user is a direct or indirect member of |
userGetUserById | GET /fotoweb/api/users/{id} | Get user by ID |
userGetUserByIdWithHttpInfo | GET /fotoweb/api/users/{id} | Get user by ID |
userGetUserDirectMemberships | GET /fotoweb/api/users/{id}/member-of | Get all groups that the user is a direct member of |
userGetUserDirectMembershipsWithHttpInfo | GET /fotoweb/api/users/{id}/member-of | Get all groups that the user is a direct member of |
userGetUserExternalIds | GET /fotoweb/api/users/{id}/external-ids | Get all external IDs of a user |
userGetUserExternalIdsWithHttpInfo | GET /fotoweb/api/users/{id}/external-ids | Get all external IDs of a user |
userGetUserPropertyBag | GET /fotoweb/api/users/{id}/properties | Get all custom properties of a user |
userGetUserPropertyBagWithHttpInfo | GET /fotoweb/api/users/{id}/properties | Get all custom properties of a user |
userSetUserEnabled | PUT /fotoweb/api/users/{id}/enabled | Enable or disable user |
userSetUserEnabledWithHttpInfo | PUT /fotoweb/api/users/{id}/enabled | Enable or disable user |
userSetUserMemberships | PUT /fotoweb/api/users/{id}/member-of | Set the groups that the user is a direct member of |
userSetUserMembershipsWithHttpInfo | PUT /fotoweb/api/users/{id}/member-of | Set the groups that the user is a direct member of |
userUpdateUser | PUT /fotoweb/api/users/{id} | Update a user |
userUpdateUserWithHttpInfo | PUT /fotoweb/api/users/{id} | Update a user |
void userAddUserMemberships(id, groups)
Add the user to one or more groups
// Import classes:
import com.cominvent.fotoware.client.ApiClient;
import com.cominvent.fotoware.client.ApiException;
import com.cominvent.fotoware.client.Configuration;
import com.cominvent.fotoware.client.auth.*;
import com.cominvent.fotoware.client.models.*;
import com.cominvent.fotoware.api.UserManagementBetaApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
// Configure HTTP bearer authorization: FotoWareAccessToken
HttpBearerAuth FotoWareAccessToken = (HttpBearerAuth) defaultClient.getAuthentication("FotoWareAccessToken");
FotoWareAccessToken.setBearerToken("BEARER TOKEN");
UserManagementBetaApi apiInstance = new UserManagementBetaApi(defaultClient);
Integer id = 56; // Integer | ID of user
MembershipIdListModel groups = new MembershipIdListModel(); // MembershipIdListModel | IDs of groups
try {
apiInstance.userAddUserMemberships(id, groups);
} catch (ApiException e) {
System.err.println("Exception when calling UserManagementBetaApi#userAddUserMemberships");
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 |
---|---|---|---|
id | Integer | ID of user | |
groups | MembershipIdListModel | IDs of groups |
null (empty response body)
- Content-Type: application/json
- Accept: Not defined
Status code | Description | Response headers |
---|---|---|
204 | No Content | - |
ApiResponse userAddUserMemberships userAddUserMembershipsWithHttpInfo(id, groups)
Add the user to one or more groups
// Import classes:
import com.cominvent.fotoware.client.ApiClient;
import com.cominvent.fotoware.client.ApiException;
import com.cominvent.fotoware.client.ApiResponse;
import com.cominvent.fotoware.client.Configuration;
import com.cominvent.fotoware.client.auth.*;
import com.cominvent.fotoware.client.models.*;
import com.cominvent.fotoware.api.UserManagementBetaApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
// Configure HTTP bearer authorization: FotoWareAccessToken
HttpBearerAuth FotoWareAccessToken = (HttpBearerAuth) defaultClient.getAuthentication("FotoWareAccessToken");
FotoWareAccessToken.setBearerToken("BEARER TOKEN");
UserManagementBetaApi apiInstance = new UserManagementBetaApi(defaultClient);
Integer id = 56; // Integer | ID of user
MembershipIdListModel groups = new MembershipIdListModel(); // MembershipIdListModel | IDs of groups
try {
ApiResponse<Void> response = apiInstance.userAddUserMembershipsWithHttpInfo(id, groups);
System.out.println("Status code: " + response.getStatusCode());
System.out.println("Response headers: " + response.getHeaders());
} catch (ApiException e) {
System.err.println("Exception when calling UserManagementBetaApi#userAddUserMemberships");
System.err.println("Status code: " + e.getCode());
System.err.println("Response headers: " + e.getResponseHeaders());
System.err.println("Reason: " + e.getResponseBody());
e.printStackTrace();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | Integer | ID of user | |
groups | MembershipIdListModel | IDs of groups |
ApiResponse
- Content-Type: application/json
- Accept: Not defined
Status code | Description | Response headers |
---|---|---|
204 | No Content | - |
ValueModelInteger userCountAllUsers(licenseLevel, licenseMode, isSso, ssoProvider)
Count all users on the site
// Import classes:
import com.cominvent.fotoware.client.ApiClient;
import com.cominvent.fotoware.client.ApiException;
import com.cominvent.fotoware.client.Configuration;
import com.cominvent.fotoware.client.auth.*;
import com.cominvent.fotoware.client.models.*;
import com.cominvent.fotoware.api.UserManagementBetaApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
// Configure HTTP bearer authorization: FotoWareAccessToken
HttpBearerAuth FotoWareAccessToken = (HttpBearerAuth) defaultClient.getAuthentication("FotoWareAccessToken");
FotoWareAccessToken.setBearerToken("BEARER TOKEN");
UserManagementBetaApi apiInstance = new UserManagementBetaApi(defaultClient);
String licenseLevel = "None"; // String | Count only users with the given license level
String licenseMode = "Named"; // String | Count only users with the given license concurrency mode
Boolean isSso = true; // Boolean | Count only SSO users
String ssoProvider = "ssoProvider_example"; // String | Count only users from the given SSO provider
try {
ValueModelInteger result = apiInstance.userCountAllUsers(licenseLevel, licenseMode, isSso, ssoProvider);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling UserManagementBetaApi#userCountAllUsers");
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 |
---|---|---|---|
licenseLevel | String | Count only users with the given license level | [optional] [enum: None, Portal, Consumer, Contributor, Standard, Plus, Main, Editor, Pro] |
licenseMode | String | Count only users with the given license concurrency mode | [optional] [enum: Named, Concurrent] |
isSso | Boolean | Count only SSO users | [optional] |
ssoProvider | String | Count only users from the given SSO provider | [optional] |
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | OK | - |
ApiResponse userCountAllUsers userCountAllUsersWithHttpInfo(licenseLevel, licenseMode, isSso, ssoProvider)
Count all users on the site
// Import classes:
import com.cominvent.fotoware.client.ApiClient;
import com.cominvent.fotoware.client.ApiException;
import com.cominvent.fotoware.client.ApiResponse;
import com.cominvent.fotoware.client.Configuration;
import com.cominvent.fotoware.client.auth.*;
import com.cominvent.fotoware.client.models.*;
import com.cominvent.fotoware.api.UserManagementBetaApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
// Configure HTTP bearer authorization: FotoWareAccessToken
HttpBearerAuth FotoWareAccessToken = (HttpBearerAuth) defaultClient.getAuthentication("FotoWareAccessToken");
FotoWareAccessToken.setBearerToken("BEARER TOKEN");
UserManagementBetaApi apiInstance = new UserManagementBetaApi(defaultClient);
String licenseLevel = "None"; // String | Count only users with the given license level
String licenseMode = "Named"; // String | Count only users with the given license concurrency mode
Boolean isSso = true; // Boolean | Count only SSO users
String ssoProvider = "ssoProvider_example"; // String | Count only users from the given SSO provider
try {
ApiResponse<ValueModelInteger> response = apiInstance.userCountAllUsersWithHttpInfo(licenseLevel, licenseMode, isSso, ssoProvider);
System.out.println("Status code: " + response.getStatusCode());
System.out.println("Response headers: " + response.getHeaders());
System.out.println("Response body: " + response.getData());
} catch (ApiException e) {
System.err.println("Exception when calling UserManagementBetaApi#userCountAllUsers");
System.err.println("Status code: " + e.getCode());
System.err.println("Response headers: " + e.getResponseHeaders());
System.err.println("Reason: " + e.getResponseBody());
e.printStackTrace();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
licenseLevel | String | Count only users with the given license level | [optional] [enum: None, Portal, Consumer, Contributor, Standard, Plus, Main, Editor, Pro] |
licenseMode | String | Count only users with the given license concurrency mode | [optional] [enum: Named, Concurrent] |
isSso | Boolean | Count only SSO users | [optional] |
ssoProvider | String | Count only users from the given SSO provider | [optional] |
ApiResponse<ValueModelInteger>
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | OK | - |
ValueModelInteger userCountRecursiveUserMemberships(id)
Count all distinct groups that the user is a direct or indirect member of
// Import classes:
import com.cominvent.fotoware.client.ApiClient;
import com.cominvent.fotoware.client.ApiException;
import com.cominvent.fotoware.client.Configuration;
import com.cominvent.fotoware.client.auth.*;
import com.cominvent.fotoware.client.models.*;
import com.cominvent.fotoware.api.UserManagementBetaApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
// Configure HTTP bearer authorization: FotoWareAccessToken
HttpBearerAuth FotoWareAccessToken = (HttpBearerAuth) defaultClient.getAuthentication("FotoWareAccessToken");
FotoWareAccessToken.setBearerToken("BEARER TOKEN");
UserManagementBetaApi apiInstance = new UserManagementBetaApi(defaultClient);
Integer id = 56; // Integer | ID of the user
try {
ValueModelInteger result = apiInstance.userCountRecursiveUserMemberships(id);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling UserManagementBetaApi#userCountRecursiveUserMemberships");
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 |
---|---|---|---|
id | Integer | ID of the user |
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | OK | - |
ApiResponse userCountRecursiveUserMemberships userCountRecursiveUserMembershipsWithHttpInfo(id)
Count all distinct groups that the user is a direct or indirect member of
// Import classes:
import com.cominvent.fotoware.client.ApiClient;
import com.cominvent.fotoware.client.ApiException;
import com.cominvent.fotoware.client.ApiResponse;
import com.cominvent.fotoware.client.Configuration;
import com.cominvent.fotoware.client.auth.*;
import com.cominvent.fotoware.client.models.*;
import com.cominvent.fotoware.api.UserManagementBetaApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
// Configure HTTP bearer authorization: FotoWareAccessToken
HttpBearerAuth FotoWareAccessToken = (HttpBearerAuth) defaultClient.getAuthentication("FotoWareAccessToken");
FotoWareAccessToken.setBearerToken("BEARER TOKEN");
UserManagementBetaApi apiInstance = new UserManagementBetaApi(defaultClient);
Integer id = 56; // Integer | ID of the user
try {
ApiResponse<ValueModelInteger> response = apiInstance.userCountRecursiveUserMembershipsWithHttpInfo(id);
System.out.println("Status code: " + response.getStatusCode());
System.out.println("Response headers: " + response.getHeaders());
System.out.println("Response body: " + response.getData());
} catch (ApiException e) {
System.err.println("Exception when calling UserManagementBetaApi#userCountRecursiveUserMemberships");
System.err.println("Status code: " + e.getCode());
System.err.println("Response headers: " + e.getResponseHeaders());
System.err.println("Reason: " + e.getResponseBody());
e.printStackTrace();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | Integer | ID of the user |
ApiResponse<ValueModelInteger>
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | OK | - |
ValueModelInteger userCountUserDirectMemberships(id)
Count all groups that the user is a direct member of
// Import classes:
import com.cominvent.fotoware.client.ApiClient;
import com.cominvent.fotoware.client.ApiException;
import com.cominvent.fotoware.client.Configuration;
import com.cominvent.fotoware.client.auth.*;
import com.cominvent.fotoware.client.models.*;
import com.cominvent.fotoware.api.UserManagementBetaApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
// Configure HTTP bearer authorization: FotoWareAccessToken
HttpBearerAuth FotoWareAccessToken = (HttpBearerAuth) defaultClient.getAuthentication("FotoWareAccessToken");
FotoWareAccessToken.setBearerToken("BEARER TOKEN");
UserManagementBetaApi apiInstance = new UserManagementBetaApi(defaultClient);
Integer id = 56; // Integer | ID of the user
try {
ValueModelInteger result = apiInstance.userCountUserDirectMemberships(id);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling UserManagementBetaApi#userCountUserDirectMemberships");
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 |
---|---|---|---|
id | Integer | ID of the user |
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | OK | - |
ApiResponse userCountUserDirectMemberships userCountUserDirectMembershipsWithHttpInfo(id)
Count all groups that the user is a direct member of
// Import classes:
import com.cominvent.fotoware.client.ApiClient;
import com.cominvent.fotoware.client.ApiException;
import com.cominvent.fotoware.client.ApiResponse;
import com.cominvent.fotoware.client.Configuration;
import com.cominvent.fotoware.client.auth.*;
import com.cominvent.fotoware.client.models.*;
import com.cominvent.fotoware.api.UserManagementBetaApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
// Configure HTTP bearer authorization: FotoWareAccessToken
HttpBearerAuth FotoWareAccessToken = (HttpBearerAuth) defaultClient.getAuthentication("FotoWareAccessToken");
FotoWareAccessToken.setBearerToken("BEARER TOKEN");
UserManagementBetaApi apiInstance = new UserManagementBetaApi(defaultClient);
Integer id = 56; // Integer | ID of the user
try {
ApiResponse<ValueModelInteger> response = apiInstance.userCountUserDirectMembershipsWithHttpInfo(id);
System.out.println("Status code: " + response.getStatusCode());
System.out.println("Response headers: " + response.getHeaders());
System.out.println("Response body: " + response.getData());
} catch (ApiException e) {
System.err.println("Exception when calling UserManagementBetaApi#userCountUserDirectMemberships");
System.err.println("Status code: " + e.getCode());
System.err.println("Response headers: " + e.getResponseHeaders());
System.err.println("Reason: " + e.getResponseBody());
e.printStackTrace();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | Integer | ID of the user |
ApiResponse<ValueModelInteger>
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | OK | - |
User userCreateNewUser(user)
Create a new user
// Import classes:
import com.cominvent.fotoware.client.ApiClient;
import com.cominvent.fotoware.client.ApiException;
import com.cominvent.fotoware.client.Configuration;
import com.cominvent.fotoware.client.auth.*;
import com.cominvent.fotoware.client.models.*;
import com.cominvent.fotoware.api.UserManagementBetaApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
// Configure HTTP bearer authorization: FotoWareAccessToken
HttpBearerAuth FotoWareAccessToken = (HttpBearerAuth) defaultClient.getAuthentication("FotoWareAccessToken");
FotoWareAccessToken.setBearerToken("BEARER TOKEN");
UserManagementBetaApi apiInstance = new UserManagementBetaApi(defaultClient);
User user = new User(); // User | User properties
try {
User result = apiInstance.userCreateNewUser(user);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling UserManagementBetaApi#userCreateNewUser");
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 |
---|---|---|---|
user | User | User properties |
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | OK | - |
ApiResponse userCreateNewUser userCreateNewUserWithHttpInfo(user)
Create a new user
// Import classes:
import com.cominvent.fotoware.client.ApiClient;
import com.cominvent.fotoware.client.ApiException;
import com.cominvent.fotoware.client.ApiResponse;
import com.cominvent.fotoware.client.Configuration;
import com.cominvent.fotoware.client.auth.*;
import com.cominvent.fotoware.client.models.*;
import com.cominvent.fotoware.api.UserManagementBetaApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
// Configure HTTP bearer authorization: FotoWareAccessToken
HttpBearerAuth FotoWareAccessToken = (HttpBearerAuth) defaultClient.getAuthentication("FotoWareAccessToken");
FotoWareAccessToken.setBearerToken("BEARER TOKEN");
UserManagementBetaApi apiInstance = new UserManagementBetaApi(defaultClient);
User user = new User(); // User | User properties
try {
ApiResponse<User> response = apiInstance.userCreateNewUserWithHttpInfo(user);
System.out.println("Status code: " + response.getStatusCode());
System.out.println("Response headers: " + response.getHeaders());
System.out.println("Response body: " + response.getData());
} catch (ApiException e) {
System.err.println("Exception when calling UserManagementBetaApi#userCreateNewUser");
System.err.println("Status code: " + e.getCode());
System.err.println("Response headers: " + e.getResponseHeaders());
System.err.println("Reason: " + e.getResponseBody());
e.printStackTrace();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
user | User | User properties |
ApiResponse<User>
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | OK | - |
void userDeleteAllUserMemberships(id)
Remove the user from all groups
// Import classes:
import com.cominvent.fotoware.client.ApiClient;
import com.cominvent.fotoware.client.ApiException;
import com.cominvent.fotoware.client.Configuration;
import com.cominvent.fotoware.client.auth.*;
import com.cominvent.fotoware.client.models.*;
import com.cominvent.fotoware.api.UserManagementBetaApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
// Configure HTTP bearer authorization: FotoWareAccessToken
HttpBearerAuth FotoWareAccessToken = (HttpBearerAuth) defaultClient.getAuthentication("FotoWareAccessToken");
FotoWareAccessToken.setBearerToken("BEARER TOKEN");
UserManagementBetaApi apiInstance = new UserManagementBetaApi(defaultClient);
Integer id = 56; // Integer | ID of user
try {
apiInstance.userDeleteAllUserMemberships(id);
} catch (ApiException e) {
System.err.println("Exception when calling UserManagementBetaApi#userDeleteAllUserMemberships");
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 |
---|---|---|---|
id | Integer | ID of user |
null (empty response body)
- Content-Type: Not defined
- Accept: Not defined
Status code | Description | Response headers |
---|---|---|
204 | No Content | - |
ApiResponse userDeleteAllUserMemberships userDeleteAllUserMembershipsWithHttpInfo(id)
Remove the user from all groups
// Import classes:
import com.cominvent.fotoware.client.ApiClient;
import com.cominvent.fotoware.client.ApiException;
import com.cominvent.fotoware.client.ApiResponse;
import com.cominvent.fotoware.client.Configuration;
import com.cominvent.fotoware.client.auth.*;
import com.cominvent.fotoware.client.models.*;
import com.cominvent.fotoware.api.UserManagementBetaApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
// Configure HTTP bearer authorization: FotoWareAccessToken
HttpBearerAuth FotoWareAccessToken = (HttpBearerAuth) defaultClient.getAuthentication("FotoWareAccessToken");
FotoWareAccessToken.setBearerToken("BEARER TOKEN");
UserManagementBetaApi apiInstance = new UserManagementBetaApi(defaultClient);
Integer id = 56; // Integer | ID of user
try {
ApiResponse<Void> response = apiInstance.userDeleteAllUserMembershipsWithHttpInfo(id);
System.out.println("Status code: " + response.getStatusCode());
System.out.println("Response headers: " + response.getHeaders());
} catch (ApiException e) {
System.err.println("Exception when calling UserManagementBetaApi#userDeleteAllUserMemberships");
System.err.println("Status code: " + e.getCode());
System.err.println("Response headers: " + e.getResponseHeaders());
System.err.println("Reason: " + e.getResponseBody());
e.printStackTrace();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | Integer | ID of user |
ApiResponse
- Content-Type: Not defined
- Accept: Not defined
Status code | Description | Response headers |
---|---|---|
204 | No Content | - |
void userDeleteAllUserProperties(id)
Delete all custom properties of a user
// Import classes:
import com.cominvent.fotoware.client.ApiClient;
import com.cominvent.fotoware.client.ApiException;
import com.cominvent.fotoware.client.Configuration;
import com.cominvent.fotoware.client.auth.*;
import com.cominvent.fotoware.client.models.*;
import com.cominvent.fotoware.api.UserManagementBetaApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
// Configure HTTP bearer authorization: FotoWareAccessToken
HttpBearerAuth FotoWareAccessToken = (HttpBearerAuth) defaultClient.getAuthentication("FotoWareAccessToken");
FotoWareAccessToken.setBearerToken("BEARER TOKEN");
UserManagementBetaApi apiInstance = new UserManagementBetaApi(defaultClient);
Integer id = 56; // Integer | ID of the user
try {
apiInstance.userDeleteAllUserProperties(id);
} catch (ApiException e) {
System.err.println("Exception when calling UserManagementBetaApi#userDeleteAllUserProperties");
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 |
---|---|---|---|
id | Integer | ID of the user |
null (empty response body)
- Content-Type: Not defined
- Accept: Not defined
Status code | Description | Response headers |
---|---|---|
204 | No Content | - |
ApiResponse userDeleteAllUserProperties userDeleteAllUserPropertiesWithHttpInfo(id)
Delete all custom properties of a user
// Import classes:
import com.cominvent.fotoware.client.ApiClient;
import com.cominvent.fotoware.client.ApiException;
import com.cominvent.fotoware.client.ApiResponse;
import com.cominvent.fotoware.client.Configuration;
import com.cominvent.fotoware.client.auth.*;
import com.cominvent.fotoware.client.models.*;
import com.cominvent.fotoware.api.UserManagementBetaApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
// Configure HTTP bearer authorization: FotoWareAccessToken
HttpBearerAuth FotoWareAccessToken = (HttpBearerAuth) defaultClient.getAuthentication("FotoWareAccessToken");
FotoWareAccessToken.setBearerToken("BEARER TOKEN");
UserManagementBetaApi apiInstance = new UserManagementBetaApi(defaultClient);
Integer id = 56; // Integer | ID of the user
try {
ApiResponse<Void> response = apiInstance.userDeleteAllUserPropertiesWithHttpInfo(id);
System.out.println("Status code: " + response.getStatusCode());
System.out.println("Response headers: " + response.getHeaders());
} catch (ApiException e) {
System.err.println("Exception when calling UserManagementBetaApi#userDeleteAllUserProperties");
System.err.println("Status code: " + e.getCode());
System.err.println("Response headers: " + e.getResponseHeaders());
System.err.println("Reason: " + e.getResponseBody());
e.printStackTrace();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | Integer | ID of the user |
ApiResponse
- Content-Type: Not defined
- Accept: Not defined
Status code | Description | Response headers |
---|---|---|
204 | No Content | - |
void userDeleteUser(id)
Delete a user
// Import classes:
import com.cominvent.fotoware.client.ApiClient;
import com.cominvent.fotoware.client.ApiException;
import com.cominvent.fotoware.client.Configuration;
import com.cominvent.fotoware.client.auth.*;
import com.cominvent.fotoware.client.models.*;
import com.cominvent.fotoware.api.UserManagementBetaApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
// Configure HTTP bearer authorization: FotoWareAccessToken
HttpBearerAuth FotoWareAccessToken = (HttpBearerAuth) defaultClient.getAuthentication("FotoWareAccessToken");
FotoWareAccessToken.setBearerToken("BEARER TOKEN");
UserManagementBetaApi apiInstance = new UserManagementBetaApi(defaultClient);
Integer id = 56; // Integer | ID of the user
try {
apiInstance.userDeleteUser(id);
} catch (ApiException e) {
System.err.println("Exception when calling UserManagementBetaApi#userDeleteUser");
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 |
---|---|---|---|
id | Integer | ID of the user |
null (empty response body)
- Content-Type: Not defined
- Accept: Not defined
Status code | Description | Response headers |
---|---|---|
204 | No Content | - |
ApiResponse userDeleteUser userDeleteUserWithHttpInfo(id)
Delete a user
// Import classes:
import com.cominvent.fotoware.client.ApiClient;
import com.cominvent.fotoware.client.ApiException;
import com.cominvent.fotoware.client.ApiResponse;
import com.cominvent.fotoware.client.Configuration;
import com.cominvent.fotoware.client.auth.*;
import com.cominvent.fotoware.client.models.*;
import com.cominvent.fotoware.api.UserManagementBetaApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
// Configure HTTP bearer authorization: FotoWareAccessToken
HttpBearerAuth FotoWareAccessToken = (HttpBearerAuth) defaultClient.getAuthentication("FotoWareAccessToken");
FotoWareAccessToken.setBearerToken("BEARER TOKEN");
UserManagementBetaApi apiInstance = new UserManagementBetaApi(defaultClient);
Integer id = 56; // Integer | ID of the user
try {
ApiResponse<Void> response = apiInstance.userDeleteUserWithHttpInfo(id);
System.out.println("Status code: " + response.getStatusCode());
System.out.println("Response headers: " + response.getHeaders());
} catch (ApiException e) {
System.err.println("Exception when calling UserManagementBetaApi#userDeleteUser");
System.err.println("Status code: " + e.getCode());
System.err.println("Response headers: " + e.getResponseHeaders());
System.err.println("Reason: " + e.getResponseBody());
e.printStackTrace();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | Integer | ID of the user |
ApiResponse
- Content-Type: Not defined
- Accept: Not defined
Status code | Description | Response headers |
---|---|---|
204 | No Content | - |
void userDeleteUserExternalIds(id)
Delete all external IDs of a user
// Import classes:
import com.cominvent.fotoware.client.ApiClient;
import com.cominvent.fotoware.client.ApiException;
import com.cominvent.fotoware.client.Configuration;
import com.cominvent.fotoware.client.auth.*;
import com.cominvent.fotoware.client.models.*;
import com.cominvent.fotoware.api.UserManagementBetaApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
// Configure HTTP bearer authorization: FotoWareAccessToken
HttpBearerAuth FotoWareAccessToken = (HttpBearerAuth) defaultClient.getAuthentication("FotoWareAccessToken");
FotoWareAccessToken.setBearerToken("BEARER TOKEN");
UserManagementBetaApi apiInstance = new UserManagementBetaApi(defaultClient);
Integer id = 56; // Integer | ID of the user
try {
apiInstance.userDeleteUserExternalIds(id);
} catch (ApiException e) {
System.err.println("Exception when calling UserManagementBetaApi#userDeleteUserExternalIds");
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 |
---|---|---|---|
id | Integer | ID of the user |
null (empty response body)
- Content-Type: Not defined
- Accept: Not defined
Status code | Description | Response headers |
---|---|---|
204 | No Content | - |
ApiResponse userDeleteUserExternalIds userDeleteUserExternalIdsWithHttpInfo(id)
Delete all external IDs of a user
// Import classes:
import com.cominvent.fotoware.client.ApiClient;
import com.cominvent.fotoware.client.ApiException;
import com.cominvent.fotoware.client.ApiResponse;
import com.cominvent.fotoware.client.Configuration;
import com.cominvent.fotoware.client.auth.*;
import com.cominvent.fotoware.client.models.*;
import com.cominvent.fotoware.api.UserManagementBetaApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
// Configure HTTP bearer authorization: FotoWareAccessToken
HttpBearerAuth FotoWareAccessToken = (HttpBearerAuth) defaultClient.getAuthentication("FotoWareAccessToken");
FotoWareAccessToken.setBearerToken("BEARER TOKEN");
UserManagementBetaApi apiInstance = new UserManagementBetaApi(defaultClient);
Integer id = 56; // Integer | ID of the user
try {
ApiResponse<Void> response = apiInstance.userDeleteUserExternalIdsWithHttpInfo(id);
System.out.println("Status code: " + response.getStatusCode());
System.out.println("Response headers: " + response.getHeaders());
} catch (ApiException e) {
System.err.println("Exception when calling UserManagementBetaApi#userDeleteUserExternalIds");
System.err.println("Status code: " + e.getCode());
System.err.println("Response headers: " + e.getResponseHeaders());
System.err.println("Reason: " + e.getResponseBody());
e.printStackTrace();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | Integer | ID of the user |
ApiResponse
- Content-Type: Not defined
- Accept: Not defined
Status code | Description | Response headers |
---|---|---|
204 | No Content | - |
void userDeleteUserExternalIdsFromProvider(id, provider)
Delete the external ID of a user from a provider
// Import classes:
import com.cominvent.fotoware.client.ApiClient;
import com.cominvent.fotoware.client.ApiException;
import com.cominvent.fotoware.client.Configuration;
import com.cominvent.fotoware.client.auth.*;
import com.cominvent.fotoware.client.models.*;
import com.cominvent.fotoware.api.UserManagementBetaApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
// Configure HTTP bearer authorization: FotoWareAccessToken
HttpBearerAuth FotoWareAccessToken = (HttpBearerAuth) defaultClient.getAuthentication("FotoWareAccessToken");
FotoWareAccessToken.setBearerToken("BEARER TOKEN");
UserManagementBetaApi apiInstance = new UserManagementBetaApi(defaultClient);
Integer id = 56; // Integer | ID of the user
UUID provider = UUID.randomUUID(); // UUID | ID of the SSO provider
try {
apiInstance.userDeleteUserExternalIdsFromProvider(id, provider);
} catch (ApiException e) {
System.err.println("Exception when calling UserManagementBetaApi#userDeleteUserExternalIdsFromProvider");
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 |
---|---|---|---|
id | Integer | ID of the user | |
provider | UUID | ID of the SSO provider |
null (empty response body)
- Content-Type: Not defined
- Accept: Not defined
Status code | Description | Response headers |
---|---|---|
204 | No Content | - |
ApiResponse userDeleteUserExternalIdsFromProvider userDeleteUserExternalIdsFromProviderWithHttpInfo(id, provider)
Delete the external ID of a user from a provider
// Import classes:
import com.cominvent.fotoware.client.ApiClient;
import com.cominvent.fotoware.client.ApiException;
import com.cominvent.fotoware.client.ApiResponse;
import com.cominvent.fotoware.client.Configuration;
import com.cominvent.fotoware.client.auth.*;
import com.cominvent.fotoware.client.models.*;
import com.cominvent.fotoware.api.UserManagementBetaApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
// Configure HTTP bearer authorization: FotoWareAccessToken
HttpBearerAuth FotoWareAccessToken = (HttpBearerAuth) defaultClient.getAuthentication("FotoWareAccessToken");
FotoWareAccessToken.setBearerToken("BEARER TOKEN");
UserManagementBetaApi apiInstance = new UserManagementBetaApi(defaultClient);
Integer id = 56; // Integer | ID of the user
UUID provider = UUID.randomUUID(); // UUID | ID of the SSO provider
try {
ApiResponse<Void> response = apiInstance.userDeleteUserExternalIdsFromProviderWithHttpInfo(id, provider);
System.out.println("Status code: " + response.getStatusCode());
System.out.println("Response headers: " + response.getHeaders());
} catch (ApiException e) {
System.err.println("Exception when calling UserManagementBetaApi#userDeleteUserExternalIdsFromProvider");
System.err.println("Status code: " + e.getCode());
System.err.println("Response headers: " + e.getResponseHeaders());
System.err.println("Reason: " + e.getResponseBody());
e.printStackTrace();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | Integer | ID of the user | |
provider | UUID | ID of the SSO provider |
ApiResponse
- Content-Type: Not defined
- Accept: Not defined
Status code | Description | Response headers |
---|---|---|
204 | No Content | - |
void userDeleteUserMembership(id, group)
Remove the user from a single group
// Import classes:
import com.cominvent.fotoware.client.ApiClient;
import com.cominvent.fotoware.client.ApiException;
import com.cominvent.fotoware.client.Configuration;
import com.cominvent.fotoware.client.auth.*;
import com.cominvent.fotoware.client.models.*;
import com.cominvent.fotoware.api.UserManagementBetaApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
// Configure HTTP bearer authorization: FotoWareAccessToken
HttpBearerAuth FotoWareAccessToken = (HttpBearerAuth) defaultClient.getAuthentication("FotoWareAccessToken");
FotoWareAccessToken.setBearerToken("BEARER TOKEN");
UserManagementBetaApi apiInstance = new UserManagementBetaApi(defaultClient);
Integer id = 56; // Integer | ID of user
Integer group = 56; // Integer | ID of group
try {
apiInstance.userDeleteUserMembership(id, group);
} catch (ApiException e) {
System.err.println("Exception when calling UserManagementBetaApi#userDeleteUserMembership");
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 |
---|---|---|---|
id | Integer | ID of user | |
group | Integer | ID of group |
null (empty response body)
- Content-Type: Not defined
- Accept: Not defined
Status code | Description | Response headers |
---|---|---|
204 | No Content | - |
ApiResponse userDeleteUserMembership userDeleteUserMembershipWithHttpInfo(id, group)
Remove the user from a single group
// Import classes:
import com.cominvent.fotoware.client.ApiClient;
import com.cominvent.fotoware.client.ApiException;
import com.cominvent.fotoware.client.ApiResponse;
import com.cominvent.fotoware.client.Configuration;
import com.cominvent.fotoware.client.auth.*;
import com.cominvent.fotoware.client.models.*;
import com.cominvent.fotoware.api.UserManagementBetaApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
// Configure HTTP bearer authorization: FotoWareAccessToken
HttpBearerAuth FotoWareAccessToken = (HttpBearerAuth) defaultClient.getAuthentication("FotoWareAccessToken");
FotoWareAccessToken.setBearerToken("BEARER TOKEN");
UserManagementBetaApi apiInstance = new UserManagementBetaApi(defaultClient);
Integer id = 56; // Integer | ID of user
Integer group = 56; // Integer | ID of group
try {
ApiResponse<Void> response = apiInstance.userDeleteUserMembershipWithHttpInfo(id, group);
System.out.println("Status code: " + response.getStatusCode());
System.out.println("Response headers: " + response.getHeaders());
} catch (ApiException e) {
System.err.println("Exception when calling UserManagementBetaApi#userDeleteUserMembership");
System.err.println("Status code: " + e.getCode());
System.err.println("Response headers: " + e.getResponseHeaders());
System.err.println("Reason: " + e.getResponseBody());
e.printStackTrace();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | Integer | ID of user | |
group | Integer | ID of group |
ApiResponse
- Content-Type: Not defined
- Accept: Not defined
Status code | Description | Response headers |
---|---|---|
204 | No Content | - |
void userDeleteUserPassword(id)
Delete the password of a user
// Import classes:
import com.cominvent.fotoware.client.ApiClient;
import com.cominvent.fotoware.client.ApiException;
import com.cominvent.fotoware.client.Configuration;
import com.cominvent.fotoware.client.auth.*;
import com.cominvent.fotoware.client.models.*;
import com.cominvent.fotoware.api.UserManagementBetaApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
// Configure HTTP bearer authorization: FotoWareAccessToken
HttpBearerAuth FotoWareAccessToken = (HttpBearerAuth) defaultClient.getAuthentication("FotoWareAccessToken");
FotoWareAccessToken.setBearerToken("BEARER TOKEN");
UserManagementBetaApi apiInstance = new UserManagementBetaApi(defaultClient);
Integer id = 56; // Integer | ID of user
try {
apiInstance.userDeleteUserPassword(id);
} catch (ApiException e) {
System.err.println("Exception when calling UserManagementBetaApi#userDeleteUserPassword");
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 |
---|---|---|---|
id | Integer | ID of user |
null (empty response body)
- Content-Type: Not defined
- Accept: Not defined
Status code | Description | Response headers |
---|---|---|
204 | No Content | - |
ApiResponse userDeleteUserPassword userDeleteUserPasswordWithHttpInfo(id)
Delete the password of a user
// Import classes:
import com.cominvent.fotoware.client.ApiClient;
import com.cominvent.fotoware.client.ApiException;
import com.cominvent.fotoware.client.ApiResponse;
import com.cominvent.fotoware.client.Configuration;
import com.cominvent.fotoware.client.auth.*;
import com.cominvent.fotoware.client.models.*;
import com.cominvent.fotoware.api.UserManagementBetaApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
// Configure HTTP bearer authorization: FotoWareAccessToken
HttpBearerAuth FotoWareAccessToken = (HttpBearerAuth) defaultClient.getAuthentication("FotoWareAccessToken");
FotoWareAccessToken.setBearerToken("BEARER TOKEN");
UserManagementBetaApi apiInstance = new UserManagementBetaApi(defaultClient);
Integer id = 56; // Integer | ID of user
try {
ApiResponse<Void> response = apiInstance.userDeleteUserPasswordWithHttpInfo(id);
System.out.println("Status code: " + response.getStatusCode());
System.out.println("Response headers: " + response.getHeaders());
} catch (ApiException e) {
System.err.println("Exception when calling UserManagementBetaApi#userDeleteUserPassword");
System.err.println("Status code: " + e.getCode());
System.err.println("Response headers: " + e.getResponseHeaders());
System.err.println("Reason: " + e.getResponseBody());
e.printStackTrace();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | Integer | ID of user |
ApiResponse
- Content-Type: Not defined
- Accept: Not defined
Status code | Description | Response headers |
---|---|---|
204 | No Content | - |
void userDeleteUserProperties(id, key)
Delete a custom property of a user
// Import classes:
import com.cominvent.fotoware.client.ApiClient;
import com.cominvent.fotoware.client.ApiException;
import com.cominvent.fotoware.client.Configuration;
import com.cominvent.fotoware.client.auth.*;
import com.cominvent.fotoware.client.models.*;
import com.cominvent.fotoware.api.UserManagementBetaApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
// Configure HTTP bearer authorization: FotoWareAccessToken
HttpBearerAuth FotoWareAccessToken = (HttpBearerAuth) defaultClient.getAuthentication("FotoWareAccessToken");
FotoWareAccessToken.setBearerToken("BEARER TOKEN");
UserManagementBetaApi apiInstance = new UserManagementBetaApi(defaultClient);
Integer id = 56; // Integer | ID of the user
String key = "key_example"; // String | Property key
try {
apiInstance.userDeleteUserProperties(id, key);
} catch (ApiException e) {
System.err.println("Exception when calling UserManagementBetaApi#userDeleteUserProperties");
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 |
---|---|---|---|
id | Integer | ID of the user | |
key | String | Property key |
null (empty response body)
- Content-Type: Not defined
- Accept: Not defined
Status code | Description | Response headers |
---|---|---|
204 | No Content | - |
ApiResponse userDeleteUserProperties userDeleteUserPropertiesWithHttpInfo(id, key)
Delete a custom property of a user
// Import classes:
import com.cominvent.fotoware.client.ApiClient;
import com.cominvent.fotoware.client.ApiException;
import com.cominvent.fotoware.client.ApiResponse;
import com.cominvent.fotoware.client.Configuration;
import com.cominvent.fotoware.client.auth.*;
import com.cominvent.fotoware.client.models.*;
import com.cominvent.fotoware.api.UserManagementBetaApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
// Configure HTTP bearer authorization: FotoWareAccessToken
HttpBearerAuth FotoWareAccessToken = (HttpBearerAuth) defaultClient.getAuthentication("FotoWareAccessToken");
FotoWareAccessToken.setBearerToken("BEARER TOKEN");
UserManagementBetaApi apiInstance = new UserManagementBetaApi(defaultClient);
Integer id = 56; // Integer | ID of the user
String key = "key_example"; // String | Property key
try {
ApiResponse<Void> response = apiInstance.userDeleteUserPropertiesWithHttpInfo(id, key);
System.out.println("Status code: " + response.getStatusCode());
System.out.println("Response headers: " + response.getHeaders());
} catch (ApiException e) {
System.err.println("Exception when calling UserManagementBetaApi#userDeleteUserProperties");
System.err.println("Status code: " + e.getCode());
System.err.println("Response headers: " + e.getResponseHeaders());
System.err.println("Reason: " + e.getResponseBody());
e.printStackTrace();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | Integer | ID of the user | |
key | String | Property key |
ApiResponse
- Content-Type: Not defined
- Accept: Not defined
Status code | Description | Response headers |
---|---|---|
204 | No Content | - |
List userGetAllUsers()
Get all users on the site
// Import classes:
import com.cominvent.fotoware.client.ApiClient;
import com.cominvent.fotoware.client.ApiException;
import com.cominvent.fotoware.client.Configuration;
import com.cominvent.fotoware.client.auth.*;
import com.cominvent.fotoware.client.models.*;
import com.cominvent.fotoware.api.UserManagementBetaApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
// Configure HTTP bearer authorization: FotoWareAccessToken
HttpBearerAuth FotoWareAccessToken = (HttpBearerAuth) defaultClient.getAuthentication("FotoWareAccessToken");
FotoWareAccessToken.setBearerToken("BEARER TOKEN");
UserManagementBetaApi apiInstance = new UserManagementBetaApi(defaultClient);
try {
List<User> result = apiInstance.userGetAllUsers();
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling UserManagementBetaApi#userGetAllUsers");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}
This endpoint does not need any parameter.
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | OK | - |
ApiResponse<List> userGetAllUsers userGetAllUsersWithHttpInfo()
Get all users on the site
// Import classes:
import com.cominvent.fotoware.client.ApiClient;
import com.cominvent.fotoware.client.ApiException;
import com.cominvent.fotoware.client.ApiResponse;
import com.cominvent.fotoware.client.Configuration;
import com.cominvent.fotoware.client.auth.*;
import com.cominvent.fotoware.client.models.*;
import com.cominvent.fotoware.api.UserManagementBetaApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
// Configure HTTP bearer authorization: FotoWareAccessToken
HttpBearerAuth FotoWareAccessToken = (HttpBearerAuth) defaultClient.getAuthentication("FotoWareAccessToken");
FotoWareAccessToken.setBearerToken("BEARER TOKEN");
UserManagementBetaApi apiInstance = new UserManagementBetaApi(defaultClient);
try {
ApiResponse<List<User>> response = apiInstance.userGetAllUsersWithHttpInfo();
System.out.println("Status code: " + response.getStatusCode());
System.out.println("Response headers: " + response.getHeaders());
System.out.println("Response body: " + response.getData());
} catch (ApiException e) {
System.err.println("Exception when calling UserManagementBetaApi#userGetAllUsers");
System.err.println("Status code: " + e.getCode());
System.err.println("Response headers: " + e.getResponseHeaders());
System.err.println("Reason: " + e.getResponseBody());
e.printStackTrace();
}
}
}
This endpoint does not need any parameter.
ApiResponse<List<User>>
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | OK | - |
List userGetRecursiveUserMemberships(id)
Get all distinct groups that the user is a direct or indirect member of
// Import classes:
import com.cominvent.fotoware.client.ApiClient;
import com.cominvent.fotoware.client.ApiException;
import com.cominvent.fotoware.client.Configuration;
import com.cominvent.fotoware.client.auth.*;
import com.cominvent.fotoware.client.models.*;
import com.cominvent.fotoware.api.UserManagementBetaApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
// Configure HTTP bearer authorization: FotoWareAccessToken
HttpBearerAuth FotoWareAccessToken = (HttpBearerAuth) defaultClient.getAuthentication("FotoWareAccessToken");
FotoWareAccessToken.setBearerToken("BEARER TOKEN");
UserManagementBetaApi apiInstance = new UserManagementBetaApi(defaultClient);
Integer id = 56; // Integer | ID of the user
try {
List<Group> result = apiInstance.userGetRecursiveUserMemberships(id);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling UserManagementBetaApi#userGetRecursiveUserMemberships");
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 |
---|---|---|---|
id | Integer | ID of the user |
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | OK | - |
ApiResponse<List> userGetRecursiveUserMemberships userGetRecursiveUserMembershipsWithHttpInfo(id)
Get all distinct groups that the user is a direct or indirect member of
// Import classes:
import com.cominvent.fotoware.client.ApiClient;
import com.cominvent.fotoware.client.ApiException;
import com.cominvent.fotoware.client.ApiResponse;
import com.cominvent.fotoware.client.Configuration;
import com.cominvent.fotoware.client.auth.*;
import com.cominvent.fotoware.client.models.*;
import com.cominvent.fotoware.api.UserManagementBetaApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
// Configure HTTP bearer authorization: FotoWareAccessToken
HttpBearerAuth FotoWareAccessToken = (HttpBearerAuth) defaultClient.getAuthentication("FotoWareAccessToken");
FotoWareAccessToken.setBearerToken("BEARER TOKEN");
UserManagementBetaApi apiInstance = new UserManagementBetaApi(defaultClient);
Integer id = 56; // Integer | ID of the user
try {
ApiResponse<List<Group>> response = apiInstance.userGetRecursiveUserMembershipsWithHttpInfo(id);
System.out.println("Status code: " + response.getStatusCode());
System.out.println("Response headers: " + response.getHeaders());
System.out.println("Response body: " + response.getData());
} catch (ApiException e) {
System.err.println("Exception when calling UserManagementBetaApi#userGetRecursiveUserMemberships");
System.err.println("Status code: " + e.getCode());
System.err.println("Response headers: " + e.getResponseHeaders());
System.err.println("Reason: " + e.getResponseBody());
e.printStackTrace();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | Integer | ID of the user |
ApiResponse<List<Group>>
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | OK | - |
User userGetUserById(id)
Get user by ID
// Import classes:
import com.cominvent.fotoware.client.ApiClient;
import com.cominvent.fotoware.client.ApiException;
import com.cominvent.fotoware.client.Configuration;
import com.cominvent.fotoware.client.auth.*;
import com.cominvent.fotoware.client.models.*;
import com.cominvent.fotoware.api.UserManagementBetaApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
// Configure HTTP bearer authorization: FotoWareAccessToken
HttpBearerAuth FotoWareAccessToken = (HttpBearerAuth) defaultClient.getAuthentication("FotoWareAccessToken");
FotoWareAccessToken.setBearerToken("BEARER TOKEN");
UserManagementBetaApi apiInstance = new UserManagementBetaApi(defaultClient);
Integer id = 56; // Integer | ID of the user
try {
User result = apiInstance.userGetUserById(id);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling UserManagementBetaApi#userGetUserById");
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 |
---|---|---|---|
id | Integer | ID of the user |
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | OK | - |
ApiResponse userGetUserById userGetUserByIdWithHttpInfo(id)
Get user by ID
// Import classes:
import com.cominvent.fotoware.client.ApiClient;
import com.cominvent.fotoware.client.ApiException;
import com.cominvent.fotoware.client.ApiResponse;
import com.cominvent.fotoware.client.Configuration;
import com.cominvent.fotoware.client.auth.*;
import com.cominvent.fotoware.client.models.*;
import com.cominvent.fotoware.api.UserManagementBetaApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
// Configure HTTP bearer authorization: FotoWareAccessToken
HttpBearerAuth FotoWareAccessToken = (HttpBearerAuth) defaultClient.getAuthentication("FotoWareAccessToken");
FotoWareAccessToken.setBearerToken("BEARER TOKEN");
UserManagementBetaApi apiInstance = new UserManagementBetaApi(defaultClient);
Integer id = 56; // Integer | ID of the user
try {
ApiResponse<User> response = apiInstance.userGetUserByIdWithHttpInfo(id);
System.out.println("Status code: " + response.getStatusCode());
System.out.println("Response headers: " + response.getHeaders());
System.out.println("Response body: " + response.getData());
} catch (ApiException e) {
System.err.println("Exception when calling UserManagementBetaApi#userGetUserById");
System.err.println("Status code: " + e.getCode());
System.err.println("Response headers: " + e.getResponseHeaders());
System.err.println("Reason: " + e.getResponseBody());
e.printStackTrace();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | Integer | ID of the user |
ApiResponse<User>
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | OK | - |
List userGetUserDirectMemberships(id)
Get all groups that the user is a direct member of
// Import classes:
import com.cominvent.fotoware.client.ApiClient;
import com.cominvent.fotoware.client.ApiException;
import com.cominvent.fotoware.client.Configuration;
import com.cominvent.fotoware.client.auth.*;
import com.cominvent.fotoware.client.models.*;
import com.cominvent.fotoware.api.UserManagementBetaApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
// Configure HTTP bearer authorization: FotoWareAccessToken
HttpBearerAuth FotoWareAccessToken = (HttpBearerAuth) defaultClient.getAuthentication("FotoWareAccessToken");
FotoWareAccessToken.setBearerToken("BEARER TOKEN");
UserManagementBetaApi apiInstance = new UserManagementBetaApi(defaultClient);
Integer id = 56; // Integer | ID of the user
try {
List<Group> result = apiInstance.userGetUserDirectMemberships(id);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling UserManagementBetaApi#userGetUserDirectMemberships");
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 |
---|---|---|---|
id | Integer | ID of the user |
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | OK | - |
ApiResponse<List> userGetUserDirectMemberships userGetUserDirectMembershipsWithHttpInfo(id)
Get all groups that the user is a direct member of
// Import classes:
import com.cominvent.fotoware.client.ApiClient;
import com.cominvent.fotoware.client.ApiException;
import com.cominvent.fotoware.client.ApiResponse;
import com.cominvent.fotoware.client.Configuration;
import com.cominvent.fotoware.client.auth.*;
import com.cominvent.fotoware.client.models.*;
import com.cominvent.fotoware.api.UserManagementBetaApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
// Configure HTTP bearer authorization: FotoWareAccessToken
HttpBearerAuth FotoWareAccessToken = (HttpBearerAuth) defaultClient.getAuthentication("FotoWareAccessToken");
FotoWareAccessToken.setBearerToken("BEARER TOKEN");
UserManagementBetaApi apiInstance = new UserManagementBetaApi(defaultClient);
Integer id = 56; // Integer | ID of the user
try {
ApiResponse<List<Group>> response = apiInstance.userGetUserDirectMembershipsWithHttpInfo(id);
System.out.println("Status code: " + response.getStatusCode());
System.out.println("Response headers: " + response.getHeaders());
System.out.println("Response body: " + response.getData());
} catch (ApiException e) {
System.err.println("Exception when calling UserManagementBetaApi#userGetUserDirectMemberships");
System.err.println("Status code: " + e.getCode());
System.err.println("Response headers: " + e.getResponseHeaders());
System.err.println("Reason: " + e.getResponseBody());
e.printStackTrace();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | Integer | ID of the user |
ApiResponse<List<Group>>
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | OK | - |
List userGetUserExternalIds(id)
Get all external IDs of a user
// Import classes:
import com.cominvent.fotoware.client.ApiClient;
import com.cominvent.fotoware.client.ApiException;
import com.cominvent.fotoware.client.Configuration;
import com.cominvent.fotoware.client.auth.*;
import com.cominvent.fotoware.client.models.*;
import com.cominvent.fotoware.api.UserManagementBetaApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
// Configure HTTP bearer authorization: FotoWareAccessToken
HttpBearerAuth FotoWareAccessToken = (HttpBearerAuth) defaultClient.getAuthentication("FotoWareAccessToken");
FotoWareAccessToken.setBearerToken("BEARER TOKEN");
UserManagementBetaApi apiInstance = new UserManagementBetaApi(defaultClient);
Integer id = 56; // Integer | ID of the user
try {
List<ExternalId> result = apiInstance.userGetUserExternalIds(id);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling UserManagementBetaApi#userGetUserExternalIds");
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 |
---|---|---|---|
id | Integer | ID of the user |
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | OK | - |
ApiResponse<List> userGetUserExternalIds userGetUserExternalIdsWithHttpInfo(id)
Get all external IDs of a user
// Import classes:
import com.cominvent.fotoware.client.ApiClient;
import com.cominvent.fotoware.client.ApiException;
import com.cominvent.fotoware.client.ApiResponse;
import com.cominvent.fotoware.client.Configuration;
import com.cominvent.fotoware.client.auth.*;
import com.cominvent.fotoware.client.models.*;
import com.cominvent.fotoware.api.UserManagementBetaApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
// Configure HTTP bearer authorization: FotoWareAccessToken
HttpBearerAuth FotoWareAccessToken = (HttpBearerAuth) defaultClient.getAuthentication("FotoWareAccessToken");
FotoWareAccessToken.setBearerToken("BEARER TOKEN");
UserManagementBetaApi apiInstance = new UserManagementBetaApi(defaultClient);
Integer id = 56; // Integer | ID of the user
try {
ApiResponse<List<ExternalId>> response = apiInstance.userGetUserExternalIdsWithHttpInfo(id);
System.out.println("Status code: " + response.getStatusCode());
System.out.println("Response headers: " + response.getHeaders());
System.out.println("Response body: " + response.getData());
} catch (ApiException e) {
System.err.println("Exception when calling UserManagementBetaApi#userGetUserExternalIds");
System.err.println("Status code: " + e.getCode());
System.err.println("Response headers: " + e.getResponseHeaders());
System.err.println("Reason: " + e.getResponseBody());
e.printStackTrace();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | Integer | ID of the user |
ApiResponse<List<ExternalId>>
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | OK | - |
List userGetUserPropertyBag(id)
Get all custom properties of a user
// Import classes:
import com.cominvent.fotoware.client.ApiClient;
import com.cominvent.fotoware.client.ApiException;
import com.cominvent.fotoware.client.Configuration;
import com.cominvent.fotoware.client.auth.*;
import com.cominvent.fotoware.client.models.*;
import com.cominvent.fotoware.api.UserManagementBetaApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
// Configure HTTP bearer authorization: FotoWareAccessToken
HttpBearerAuth FotoWareAccessToken = (HttpBearerAuth) defaultClient.getAuthentication("FotoWareAccessToken");
FotoWareAccessToken.setBearerToken("BEARER TOKEN");
UserManagementBetaApi apiInstance = new UserManagementBetaApi(defaultClient);
Integer id = 56; // Integer | ID of the user
try {
List<MemberProperty> result = apiInstance.userGetUserPropertyBag(id);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling UserManagementBetaApi#userGetUserPropertyBag");
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 |
---|---|---|---|
id | Integer | ID of the user |
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | OK | - |
ApiResponse<List> userGetUserPropertyBag userGetUserPropertyBagWithHttpInfo(id)
Get all custom properties of a user
// Import classes:
import com.cominvent.fotoware.client.ApiClient;
import com.cominvent.fotoware.client.ApiException;
import com.cominvent.fotoware.client.ApiResponse;
import com.cominvent.fotoware.client.Configuration;
import com.cominvent.fotoware.client.auth.*;
import com.cominvent.fotoware.client.models.*;
import com.cominvent.fotoware.api.UserManagementBetaApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
// Configure HTTP bearer authorization: FotoWareAccessToken
HttpBearerAuth FotoWareAccessToken = (HttpBearerAuth) defaultClient.getAuthentication("FotoWareAccessToken");
FotoWareAccessToken.setBearerToken("BEARER TOKEN");
UserManagementBetaApi apiInstance = new UserManagementBetaApi(defaultClient);
Integer id = 56; // Integer | ID of the user
try {
ApiResponse<List<MemberProperty>> response = apiInstance.userGetUserPropertyBagWithHttpInfo(id);
System.out.println("Status code: " + response.getStatusCode());
System.out.println("Response headers: " + response.getHeaders());
System.out.println("Response body: " + response.getData());
} catch (ApiException e) {
System.err.println("Exception when calling UserManagementBetaApi#userGetUserPropertyBag");
System.err.println("Status code: " + e.getCode());
System.err.println("Response headers: " + e.getResponseHeaders());
System.err.println("Reason: " + e.getResponseBody());
e.printStackTrace();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | Integer | ID of the user |
ApiResponse<List<MemberProperty>>
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | OK | - |
void userSetUserEnabled(id, value)
Enable or disable user
// Import classes:
import com.cominvent.fotoware.client.ApiClient;
import com.cominvent.fotoware.client.ApiException;
import com.cominvent.fotoware.client.Configuration;
import com.cominvent.fotoware.client.auth.*;
import com.cominvent.fotoware.client.models.*;
import com.cominvent.fotoware.api.UserManagementBetaApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
// Configure HTTP bearer authorization: FotoWareAccessToken
HttpBearerAuth FotoWareAccessToken = (HttpBearerAuth) defaultClient.getAuthentication("FotoWareAccessToken");
FotoWareAccessToken.setBearerToken("BEARER TOKEN");
UserManagementBetaApi apiInstance = new UserManagementBetaApi(defaultClient);
Integer id = 56; // Integer | User ID
ValueModelBoolean value = new ValueModelBoolean(); // ValueModelBoolean | true to enable, false to disable user
try {
apiInstance.userSetUserEnabled(id, value);
} catch (ApiException e) {
System.err.println("Exception when calling UserManagementBetaApi#userSetUserEnabled");
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 |
---|---|---|---|
id | Integer | User ID | |
value | ValueModelBoolean | true to enable, false to disable user |
null (empty response body)
- Content-Type: application/json
- Accept: Not defined
Status code | Description | Response headers |
---|---|---|
204 | No Content | - |
ApiResponse userSetUserEnabled userSetUserEnabledWithHttpInfo(id, value)
Enable or disable user
// Import classes:
import com.cominvent.fotoware.client.ApiClient;
import com.cominvent.fotoware.client.ApiException;
import com.cominvent.fotoware.client.ApiResponse;
import com.cominvent.fotoware.client.Configuration;
import com.cominvent.fotoware.client.auth.*;
import com.cominvent.fotoware.client.models.*;
import com.cominvent.fotoware.api.UserManagementBetaApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
// Configure HTTP bearer authorization: FotoWareAccessToken
HttpBearerAuth FotoWareAccessToken = (HttpBearerAuth) defaultClient.getAuthentication("FotoWareAccessToken");
FotoWareAccessToken.setBearerToken("BEARER TOKEN");
UserManagementBetaApi apiInstance = new UserManagementBetaApi(defaultClient);
Integer id = 56; // Integer | User ID
ValueModelBoolean value = new ValueModelBoolean(); // ValueModelBoolean | true to enable, false to disable user
try {
ApiResponse<Void> response = apiInstance.userSetUserEnabledWithHttpInfo(id, value);
System.out.println("Status code: " + response.getStatusCode());
System.out.println("Response headers: " + response.getHeaders());
} catch (ApiException e) {
System.err.println("Exception when calling UserManagementBetaApi#userSetUserEnabled");
System.err.println("Status code: " + e.getCode());
System.err.println("Response headers: " + e.getResponseHeaders());
System.err.println("Reason: " + e.getResponseBody());
e.printStackTrace();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | Integer | User ID | |
value | ValueModelBoolean | true to enable, false to disable user |
ApiResponse
- Content-Type: application/json
- Accept: Not defined
Status code | Description | Response headers |
---|---|---|
204 | No Content | - |
void userSetUserMemberships(id, groups)
Set the groups that the user is a direct member of
The user is removed from all other groups
// Import classes:
import com.cominvent.fotoware.client.ApiClient;
import com.cominvent.fotoware.client.ApiException;
import com.cominvent.fotoware.client.Configuration;
import com.cominvent.fotoware.client.auth.*;
import com.cominvent.fotoware.client.models.*;
import com.cominvent.fotoware.api.UserManagementBetaApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
// Configure HTTP bearer authorization: FotoWareAccessToken
HttpBearerAuth FotoWareAccessToken = (HttpBearerAuth) defaultClient.getAuthentication("FotoWareAccessToken");
FotoWareAccessToken.setBearerToken("BEARER TOKEN");
UserManagementBetaApi apiInstance = new UserManagementBetaApi(defaultClient);
Integer id = 56; // Integer | ID of user
MembershipIdListModel groups = new MembershipIdListModel(); // MembershipIdListModel | IDs of groups
try {
apiInstance.userSetUserMemberships(id, groups);
} catch (ApiException e) {
System.err.println("Exception when calling UserManagementBetaApi#userSetUserMemberships");
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 |
---|---|---|---|
id | Integer | ID of user | |
groups | MembershipIdListModel | IDs of groups |
null (empty response body)
- Content-Type: application/json
- Accept: Not defined
Status code | Description | Response headers |
---|---|---|
204 | No Content | - |
ApiResponse userSetUserMemberships userSetUserMembershipsWithHttpInfo(id, groups)
Set the groups that the user is a direct member of
The user is removed from all other groups
// Import classes:
import com.cominvent.fotoware.client.ApiClient;
import com.cominvent.fotoware.client.ApiException;
import com.cominvent.fotoware.client.ApiResponse;
import com.cominvent.fotoware.client.Configuration;
import com.cominvent.fotoware.client.auth.*;
import com.cominvent.fotoware.client.models.*;
import com.cominvent.fotoware.api.UserManagementBetaApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
// Configure HTTP bearer authorization: FotoWareAccessToken
HttpBearerAuth FotoWareAccessToken = (HttpBearerAuth) defaultClient.getAuthentication("FotoWareAccessToken");
FotoWareAccessToken.setBearerToken("BEARER TOKEN");
UserManagementBetaApi apiInstance = new UserManagementBetaApi(defaultClient);
Integer id = 56; // Integer | ID of user
MembershipIdListModel groups = new MembershipIdListModel(); // MembershipIdListModel | IDs of groups
try {
ApiResponse<Void> response = apiInstance.userSetUserMembershipsWithHttpInfo(id, groups);
System.out.println("Status code: " + response.getStatusCode());
System.out.println("Response headers: " + response.getHeaders());
} catch (ApiException e) {
System.err.println("Exception when calling UserManagementBetaApi#userSetUserMemberships");
System.err.println("Status code: " + e.getCode());
System.err.println("Response headers: " + e.getResponseHeaders());
System.err.println("Reason: " + e.getResponseBody());
e.printStackTrace();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | Integer | ID of user | |
groups | MembershipIdListModel | IDs of groups |
ApiResponse
- Content-Type: application/json
- Accept: Not defined
Status code | Description | Response headers |
---|---|---|
204 | No Content | - |
void userUpdateUser(id, properties)
Update a user
// Import classes:
import com.cominvent.fotoware.client.ApiClient;
import com.cominvent.fotoware.client.ApiException;
import com.cominvent.fotoware.client.Configuration;
import com.cominvent.fotoware.client.auth.*;
import com.cominvent.fotoware.client.models.*;
import com.cominvent.fotoware.api.UserManagementBetaApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
// Configure HTTP bearer authorization: FotoWareAccessToken
HttpBearerAuth FotoWareAccessToken = (HttpBearerAuth) defaultClient.getAuthentication("FotoWareAccessToken");
FotoWareAccessToken.setBearerToken("BEARER TOKEN");
UserManagementBetaApi apiInstance = new UserManagementBetaApi(defaultClient);
Integer id = 56; // Integer | ID of the user
User properties = new User(); // User | New user properties
try {
apiInstance.userUpdateUser(id, properties);
} catch (ApiException e) {
System.err.println("Exception when calling UserManagementBetaApi#userUpdateUser");
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 |
---|---|---|---|
id | Integer | ID of the user | |
properties | User | New user properties |
null (empty response body)
- Content-Type: application/json
- Accept: Not defined
Status code | Description | Response headers |
---|---|---|
204 | No Content | - |
ApiResponse userUpdateUser userUpdateUserWithHttpInfo(id, properties)
Update a user
// Import classes:
import com.cominvent.fotoware.client.ApiClient;
import com.cominvent.fotoware.client.ApiException;
import com.cominvent.fotoware.client.ApiResponse;
import com.cominvent.fotoware.client.Configuration;
import com.cominvent.fotoware.client.auth.*;
import com.cominvent.fotoware.client.models.*;
import com.cominvent.fotoware.api.UserManagementBetaApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
// Configure HTTP bearer authorization: FotoWareAccessToken
HttpBearerAuth FotoWareAccessToken = (HttpBearerAuth) defaultClient.getAuthentication("FotoWareAccessToken");
FotoWareAccessToken.setBearerToken("BEARER TOKEN");
UserManagementBetaApi apiInstance = new UserManagementBetaApi(defaultClient);
Integer id = 56; // Integer | ID of the user
User properties = new User(); // User | New user properties
try {
ApiResponse<Void> response = apiInstance.userUpdateUserWithHttpInfo(id, properties);
System.out.println("Status code: " + response.getStatusCode());
System.out.println("Response headers: " + response.getHeaders());
} catch (ApiException e) {
System.err.println("Exception when calling UserManagementBetaApi#userUpdateUser");
System.err.println("Status code: " + e.getCode());
System.err.println("Response headers: " + e.getResponseHeaders());
System.err.println("Reason: " + e.getResponseBody());
e.printStackTrace();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | Integer | ID of the user | |
properties | User | New user properties |
ApiResponse
- Content-Type: application/json
- Accept: Not defined
Status code | Description | Response headers |
---|---|---|
204 | No Content | - |