Skip to content

Latest commit

 

History

History
3144 lines (2282 loc) · 107 KB

UserManagementBetaApi.md

File metadata and controls

3144 lines (2282 loc) · 107 KB

UserManagementBetaApi

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

userAddUserMemberships

void userAddUserMemberships(id, groups)

Add the user to one or more groups

Example

// 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();
        }
    }
}

Parameters

Name Type Description Notes
id Integer ID of user
groups MembershipIdListModel IDs of groups

Return type

null (empty response body)

Authorization

FotoWareAccessToken

HTTP request headers

  • Content-Type: application/json
  • Accept: Not defined

HTTP response details

Status code Description Response headers
204 No Content -

userAddUserMembershipsWithHttpInfo

ApiResponse userAddUserMemberships userAddUserMembershipsWithHttpInfo(id, groups)

Add the user to one or more groups

Example

// 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();
        }
    }
}

Parameters

Name Type Description Notes
id Integer ID of user
groups MembershipIdListModel IDs of groups

Return type

ApiResponse

Authorization

FotoWareAccessToken

HTTP request headers

  • Content-Type: application/json
  • Accept: Not defined

HTTP response details

Status code Description Response headers
204 No Content -

userCountAllUsers

ValueModelInteger userCountAllUsers(licenseLevel, licenseMode, isSso, ssoProvider)

Count all users on the site

Example

// 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();
        }
    }
}

Parameters

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]

Return type

ValueModelInteger

Authorization

FotoWareAccessToken

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 OK -

userCountAllUsersWithHttpInfo

ApiResponse userCountAllUsers userCountAllUsersWithHttpInfo(licenseLevel, licenseMode, isSso, ssoProvider)

Count all users on the site

Example

// 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();
        }
    }
}

Parameters

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]

Return type

ApiResponse<ValueModelInteger>

Authorization

FotoWareAccessToken

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 OK -

userCountRecursiveUserMemberships

ValueModelInteger userCountRecursiveUserMemberships(id)

Count all distinct groups that the user is a direct or indirect member of

Example

// 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();
        }
    }
}

Parameters

Name Type Description Notes
id Integer ID of the user

Return type

ValueModelInteger

Authorization

FotoWareAccessToken

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 OK -

userCountRecursiveUserMembershipsWithHttpInfo

ApiResponse userCountRecursiveUserMemberships userCountRecursiveUserMembershipsWithHttpInfo(id)

Count all distinct groups that the user is a direct or indirect member of

Example

// 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();
        }
    }
}

Parameters

Name Type Description Notes
id Integer ID of the user

Return type

ApiResponse<ValueModelInteger>

Authorization

FotoWareAccessToken

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 OK -

userCountUserDirectMemberships

ValueModelInteger userCountUserDirectMemberships(id)

Count all groups that the user is a direct member of

Example

// 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();
        }
    }
}

Parameters

Name Type Description Notes
id Integer ID of the user

Return type

ValueModelInteger

Authorization

FotoWareAccessToken

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 OK -

userCountUserDirectMembershipsWithHttpInfo

ApiResponse userCountUserDirectMemberships userCountUserDirectMembershipsWithHttpInfo(id)

Count all groups that the user is a direct member of

Example

// 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();
        }
    }
}

Parameters

Name Type Description Notes
id Integer ID of the user

Return type

ApiResponse<ValueModelInteger>

Authorization

FotoWareAccessToken

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 OK -

userCreateNewUser

User userCreateNewUser(user)

Create a new user

Example

// 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();
        }
    }
}

Parameters

Name Type Description Notes
user User User properties

Return type

User

Authorization

FotoWareAccessToken

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 OK -

userCreateNewUserWithHttpInfo

ApiResponse userCreateNewUser userCreateNewUserWithHttpInfo(user)

Create a new user

Example

// 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();
        }
    }
}

Parameters

Name Type Description Notes
user User User properties

Return type

ApiResponse<User>

Authorization

FotoWareAccessToken

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 OK -

userDeleteAllUserMemberships

void userDeleteAllUserMemberships(id)

Remove the user from all groups

Example

// 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();
        }
    }
}

Parameters

Name Type Description Notes
id Integer ID of user

Return type

null (empty response body)

Authorization

FotoWareAccessToken

HTTP request headers

  • Content-Type: Not defined
  • Accept: Not defined

HTTP response details

Status code Description Response headers
204 No Content -

userDeleteAllUserMembershipsWithHttpInfo

ApiResponse userDeleteAllUserMemberships userDeleteAllUserMembershipsWithHttpInfo(id)

Remove the user from all groups

Example

// 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();
        }
    }
}

Parameters

Name Type Description Notes
id Integer ID of user

Return type

ApiResponse

Authorization

FotoWareAccessToken

HTTP request headers

  • Content-Type: Not defined
  • Accept: Not defined

HTTP response details

Status code Description Response headers
204 No Content -

userDeleteAllUserProperties

void userDeleteAllUserProperties(id)

Delete all custom properties of a user

Example

// 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();
        }
    }
}

Parameters

Name Type Description Notes
id Integer ID of the user

Return type

null (empty response body)

Authorization

FotoWareAccessToken

HTTP request headers

  • Content-Type: Not defined
  • Accept: Not defined

HTTP response details

Status code Description Response headers
204 No Content -

userDeleteAllUserPropertiesWithHttpInfo

ApiResponse userDeleteAllUserProperties userDeleteAllUserPropertiesWithHttpInfo(id)

Delete all custom properties of a user

Example

// 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();
        }
    }
}

Parameters

Name Type Description Notes
id Integer ID of the user

Return type

ApiResponse

Authorization

FotoWareAccessToken

HTTP request headers

  • Content-Type: Not defined
  • Accept: Not defined

HTTP response details

Status code Description Response headers
204 No Content -

userDeleteUser

void userDeleteUser(id)

Delete a user

Example

// 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();
        }
    }
}

Parameters

Name Type Description Notes
id Integer ID of the user

Return type

null (empty response body)

Authorization

FotoWareAccessToken

HTTP request headers

  • Content-Type: Not defined
  • Accept: Not defined

HTTP response details

Status code Description Response headers
204 No Content -

userDeleteUserWithHttpInfo

ApiResponse userDeleteUser userDeleteUserWithHttpInfo(id)

Delete a user

Example

// 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();
        }
    }
}

Parameters

Name Type Description Notes
id Integer ID of the user

Return type

ApiResponse

Authorization

FotoWareAccessToken

HTTP request headers

  • Content-Type: Not defined
  • Accept: Not defined

HTTP response details

Status code Description Response headers
204 No Content -

userDeleteUserExternalIds

void userDeleteUserExternalIds(id)

Delete all external IDs of a user

Example

// 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();
        }
    }
}

Parameters

Name Type Description Notes
id Integer ID of the user

Return type

null (empty response body)

Authorization

FotoWareAccessToken

HTTP request headers

  • Content-Type: Not defined
  • Accept: Not defined

HTTP response details

Status code Description Response headers
204 No Content -

userDeleteUserExternalIdsWithHttpInfo

ApiResponse userDeleteUserExternalIds userDeleteUserExternalIdsWithHttpInfo(id)

Delete all external IDs of a user

Example

// 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();
        }
    }
}

Parameters

Name Type Description Notes
id Integer ID of the user

Return type

ApiResponse

Authorization

FotoWareAccessToken

HTTP request headers

  • Content-Type: Not defined
  • Accept: Not defined

HTTP response details

Status code Description Response headers
204 No Content -

userDeleteUserExternalIdsFromProvider

void userDeleteUserExternalIdsFromProvider(id, provider)

Delete the external ID of a user from a provider

Example

// 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();
        }
    }
}

Parameters

Name Type Description Notes
id Integer ID of the user
provider UUID ID of the SSO provider

Return type

null (empty response body)

Authorization

FotoWareAccessToken

HTTP request headers

  • Content-Type: Not defined
  • Accept: Not defined

HTTP response details

Status code Description Response headers
204 No Content -

userDeleteUserExternalIdsFromProviderWithHttpInfo

ApiResponse userDeleteUserExternalIdsFromProvider userDeleteUserExternalIdsFromProviderWithHttpInfo(id, provider)

Delete the external ID of a user from a provider

Example

// 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();
        }
    }
}

Parameters

Name Type Description Notes
id Integer ID of the user
provider UUID ID of the SSO provider

Return type

ApiResponse

Authorization

FotoWareAccessToken

HTTP request headers

  • Content-Type: Not defined
  • Accept: Not defined

HTTP response details

Status code Description Response headers
204 No Content -

userDeleteUserMembership

void userDeleteUserMembership(id, group)

Remove the user from a single group

Example

// 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();
        }
    }
}

Parameters

Name Type Description Notes
id Integer ID of user
group Integer ID of group

Return type

null (empty response body)

Authorization

FotoWareAccessToken

HTTP request headers

  • Content-Type: Not defined
  • Accept: Not defined

HTTP response details

Status code Description Response headers
204 No Content -

userDeleteUserMembershipWithHttpInfo

ApiResponse userDeleteUserMembership userDeleteUserMembershipWithHttpInfo(id, group)

Remove the user from a single group

Example

// 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();
        }
    }
}

Parameters

Name Type Description Notes
id Integer ID of user
group Integer ID of group

Return type

ApiResponse

Authorization

FotoWareAccessToken

HTTP request headers

  • Content-Type: Not defined
  • Accept: Not defined

HTTP response details

Status code Description Response headers
204 No Content -

userDeleteUserPassword

void userDeleteUserPassword(id)

Delete the password of a user

Example

// 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();
        }
    }
}

Parameters

Name Type Description Notes
id Integer ID of user

Return type

null (empty response body)

Authorization

FotoWareAccessToken

HTTP request headers

  • Content-Type: Not defined
  • Accept: Not defined

HTTP response details

Status code Description Response headers
204 No Content -

userDeleteUserPasswordWithHttpInfo

ApiResponse userDeleteUserPassword userDeleteUserPasswordWithHttpInfo(id)

Delete the password of a user

Example

// 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();
        }
    }
}

Parameters

Name Type Description Notes
id Integer ID of user

Return type

ApiResponse

Authorization

FotoWareAccessToken

HTTP request headers

  • Content-Type: Not defined
  • Accept: Not defined

HTTP response details

Status code Description Response headers
204 No Content -

userDeleteUserProperties

void userDeleteUserProperties(id, key)

Delete a custom property of a user

Example

// 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();
        }
    }
}

Parameters

Name Type Description Notes
id Integer ID of the user
key String Property key

Return type

null (empty response body)

Authorization

FotoWareAccessToken

HTTP request headers

  • Content-Type: Not defined
  • Accept: Not defined

HTTP response details

Status code Description Response headers
204 No Content -

userDeleteUserPropertiesWithHttpInfo

ApiResponse userDeleteUserProperties userDeleteUserPropertiesWithHttpInfo(id, key)

Delete a custom property of a user

Example

// 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();
        }
    }
}

Parameters

Name Type Description Notes
id Integer ID of the user
key String Property key

Return type

ApiResponse

Authorization

FotoWareAccessToken

HTTP request headers

  • Content-Type: Not defined
  • Accept: Not defined

HTTP response details

Status code Description Response headers
204 No Content -

userGetAllUsers

List userGetAllUsers()

Get all users on the site

Example

// 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();
        }
    }
}

Parameters

This endpoint does not need any parameter.

Return type

List<User>

Authorization

FotoWareAccessToken

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 OK -

userGetAllUsersWithHttpInfo

ApiResponse<List> userGetAllUsers userGetAllUsersWithHttpInfo()

Get all users on the site

Example

// 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();
        }
    }
}

Parameters

This endpoint does not need any parameter.

Return type

ApiResponse<List<User>>

Authorization

FotoWareAccessToken

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 OK -

userGetRecursiveUserMemberships

List userGetRecursiveUserMemberships(id)

Get all distinct groups that the user is a direct or indirect member of

Example

// 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();
        }
    }
}

Parameters

Name Type Description Notes
id Integer ID of the user

Return type

List<Group>

Authorization

FotoWareAccessToken

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 OK -

userGetRecursiveUserMembershipsWithHttpInfo

ApiResponse<List> userGetRecursiveUserMemberships userGetRecursiveUserMembershipsWithHttpInfo(id)

Get all distinct groups that the user is a direct or indirect member of

Example

// 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();
        }
    }
}

Parameters

Name Type Description Notes
id Integer ID of the user

Return type

ApiResponse<List<Group>>

Authorization

FotoWareAccessToken

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 OK -

userGetUserById

User userGetUserById(id)

Get user by ID

Example

// 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();
        }
    }
}

Parameters

Name Type Description Notes
id Integer ID of the user

Return type

User

Authorization

FotoWareAccessToken

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 OK -

userGetUserByIdWithHttpInfo

ApiResponse userGetUserById userGetUserByIdWithHttpInfo(id)

Get user by ID

Example

// 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();
        }
    }
}

Parameters

Name Type Description Notes
id Integer ID of the user

Return type

ApiResponse<User>

Authorization

FotoWareAccessToken

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 OK -

userGetUserDirectMemberships

List userGetUserDirectMemberships(id)

Get all groups that the user is a direct member of

Example

// 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();
        }
    }
}

Parameters

Name Type Description Notes
id Integer ID of the user

Return type

List<Group>

Authorization

FotoWareAccessToken

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 OK -

userGetUserDirectMembershipsWithHttpInfo

ApiResponse<List> userGetUserDirectMemberships userGetUserDirectMembershipsWithHttpInfo(id)

Get all groups that the user is a direct member of

Example

// 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();
        }
    }
}

Parameters

Name Type Description Notes
id Integer ID of the user

Return type

ApiResponse<List<Group>>

Authorization

FotoWareAccessToken

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 OK -

userGetUserExternalIds

List userGetUserExternalIds(id)

Get all external IDs of a user

Example

// 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();
        }
    }
}

Parameters

Name Type Description Notes
id Integer ID of the user

Return type

List<ExternalId>

Authorization

FotoWareAccessToken

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 OK -

userGetUserExternalIdsWithHttpInfo

ApiResponse<List> userGetUserExternalIds userGetUserExternalIdsWithHttpInfo(id)

Get all external IDs of a user

Example

// 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();
        }
    }
}

Parameters

Name Type Description Notes
id Integer ID of the user

Return type

ApiResponse<List<ExternalId>>

Authorization

FotoWareAccessToken

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 OK -

userGetUserPropertyBag

List userGetUserPropertyBag(id)

Get all custom properties of a user

Example

// 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();
        }
    }
}

Parameters

Name Type Description Notes
id Integer ID of the user

Return type

List<MemberProperty>

Authorization

FotoWareAccessToken

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 OK -

userGetUserPropertyBagWithHttpInfo

ApiResponse<List> userGetUserPropertyBag userGetUserPropertyBagWithHttpInfo(id)

Get all custom properties of a user

Example

// 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();
        }
    }
}

Parameters

Name Type Description Notes
id Integer ID of the user

Return type

ApiResponse<List<MemberProperty>>

Authorization

FotoWareAccessToken

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 OK -

userSetUserEnabled

void userSetUserEnabled(id, value)

Enable or disable user

Example

// 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();
        }
    }
}

Parameters

Name Type Description Notes
id Integer User ID
value ValueModelBoolean true to enable, false to disable user

Return type

null (empty response body)

Authorization

FotoWareAccessToken

HTTP request headers

  • Content-Type: application/json
  • Accept: Not defined

HTTP response details

Status code Description Response headers
204 No Content -

userSetUserEnabledWithHttpInfo

ApiResponse userSetUserEnabled userSetUserEnabledWithHttpInfo(id, value)

Enable or disable user

Example

// 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();
        }
    }
}

Parameters

Name Type Description Notes
id Integer User ID
value ValueModelBoolean true to enable, false to disable user

Return type

ApiResponse

Authorization

FotoWareAccessToken

HTTP request headers

  • Content-Type: application/json
  • Accept: Not defined

HTTP response details

Status code Description Response headers
204 No Content -

userSetUserMemberships

void userSetUserMemberships(id, groups)

Set the groups that the user is a direct member of

The user is removed from all other groups

Example

// 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();
        }
    }
}

Parameters

Name Type Description Notes
id Integer ID of user
groups MembershipIdListModel IDs of groups

Return type

null (empty response body)

Authorization

FotoWareAccessToken

HTTP request headers

  • Content-Type: application/json
  • Accept: Not defined

HTTP response details

Status code Description Response headers
204 No Content -

userSetUserMembershipsWithHttpInfo

ApiResponse userSetUserMemberships userSetUserMembershipsWithHttpInfo(id, groups)

Set the groups that the user is a direct member of

The user is removed from all other groups

Example

// 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();
        }
    }
}

Parameters

Name Type Description Notes
id Integer ID of user
groups MembershipIdListModel IDs of groups

Return type

ApiResponse

Authorization

FotoWareAccessToken

HTTP request headers

  • Content-Type: application/json
  • Accept: Not defined

HTTP response details

Status code Description Response headers
204 No Content -

userUpdateUser

void userUpdateUser(id, properties)

Update a user

Example

// 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();
        }
    }
}

Parameters

Name Type Description Notes
id Integer ID of the user
properties User New user properties

Return type

null (empty response body)

Authorization

FotoWareAccessToken

HTTP request headers

  • Content-Type: application/json
  • Accept: Not defined

HTTP response details

Status code Description Response headers
204 No Content -

userUpdateUserWithHttpInfo

ApiResponse userUpdateUser userUpdateUserWithHttpInfo(id, properties)

Update a user

Example

// 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();
        }
    }
}

Parameters

Name Type Description Notes
id Integer ID of the user
properties User New user properties

Return type

ApiResponse

Authorization

FotoWareAccessToken

HTTP request headers

  • Content-Type: application/json
  • Accept: Not defined

HTTP response details

Status code Description Response headers
204 No Content -