# VmosoApi.UserApi

All URIs are relative to *https://www.vmoso.com/svc*

Method | HTTP request | Description
------------- | ------------- | -------------
[**getFollowCounts**](UserApi.md#getFollowCounts) | **GET** /followingAndFollowedUsers/counts | 
[**getInvitations**](UserApi.md#getInvitations) | **GET** /invitations | 
[**getMe**](UserApi.md#getMe) | **GET** /users/me | 
[**getRequestAndPendingUsersCounts**](UserApi.md#getRequestAndPendingUsersCounts) | **GET** /requestandpendingusers/counts | 
[**getSuggestFollowersCounts**](UserApi.md#getSuggestFollowersCounts) | **GET** /suggestfollowers/counts | 
[**getSuggestedUsersCounts**](UserApi.md#getSuggestedUsersCounts) | **GET** /suggestusers/counts | 
[**getUser**](UserApi.md#getUser) | **GET** /users/{userKey} | 
[**getUserByEmail**](UserApi.md#getUserByEmail) | **GET** /users/lookupByEmail/{userName} | 
[**getUserStatus**](UserApi.md#getUserStatus) | **POST** /users/status | 
[**getUsers**](UserApi.md#getUsers) | **GET** /users/lookup | 
[**getUsersByEmail**](UserApi.md#getUsersByEmail) | **POST** /users/lookupByEmails | 
[**login**](UserApi.md#login) | **POST** /login | 
[**logout**](UserApi.md#logout) | **POST** /logout | 
[**requestPassword**](UserApi.md#requestPassword) | **POST** /requestpassword | 
[**resetExpiredPassword**](UserApi.md#resetExpiredPassword) | **POST** /resetExpiredPassword | 
[**resetPasswordaction**](UserApi.md#resetPasswordaction) | **POST** /resetpasswordaction | 
[**resetPasswordactionPhone**](UserApi.md#resetPasswordactionPhone) | **POST** /resetpasswordaction/phone | 
[**setPublic**](UserApi.md#setPublic) | **POST** /user/public/set | 
[**signup**](UserApi.md#signup) | **POST** /signUpAction | 
[**updatePassword**](UserApi.md#updatePassword) | **POST** /settings/editUserPassWord | 


<a name="getFollowCounts"></a>
# **getFollowCounts**
> GetFollowCountsResult getFollowCounts



Use this API to get the number of people that you are following and that are following you.

### Example
```javascript
var VmosoApi = require('vmoso-api');
var defaultClient = VmosoApi.ApiClient.default;

// Configure API key authorization: vmoso_auth
var vmoso_auth = defaultClient.authentications['vmoso_auth'];
vmoso_auth.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//vmoso_auth.apiKeyPrefix['X-CV-Authorization'] = "Token"

var apiInstance = new VmosoApi.UserApi()

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getFollowCounts(callback);
```

### Parameters
This endpoint does not need any parameter.

### Return type

[**GetFollowCountsResult**](GetFollowCountsResult.md)

### Authorization

[vmoso_auth](../README.md#vmoso_auth)

### HTTP reuqest headers

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

<a name="getInvitations"></a>
# **getInvitations**
> GetInvitationsResult getInvitations(opts)



Use this API to get the your Vmoso user invitations.

### Example
```javascript
var VmosoApi = require('vmoso-api');
var defaultClient = VmosoApi.ApiClient.default;

// Configure API key authorization: vmoso_auth
var vmoso_auth = defaultClient.authentications['vmoso_auth'];
vmoso_auth.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//vmoso_auth.apiKeyPrefix['X-CV-Authorization'] = "Token"

var apiInstance = new VmosoApi.UserApi()

var opts = { 
  'creatorFilter': "creatorFilter_example", // {String} Use byme to find invitations that you send.
  'state': "state_example", // {String} One of the following invitation states: pending, accepted, rejected, cancel
  'pg': "pg_example" // {String} Pagination options.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getInvitations(opts, callback);
```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **creatorFilter** | **String**| Use byme to find invitations that you send. | [optional] 
 **state** | **String**| One of the following invitation states: pending, accepted, rejected, cancel | [optional] 
 **pg** | **String**| Pagination options. | [optional] 

### Return type

[**GetInvitationsResult**](GetInvitationsResult.md)

### Authorization

[vmoso_auth](../README.md#vmoso_auth)

### HTTP reuqest headers

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

<a name="getMe"></a>
# **getMe**
> GetMeResult getMe





### Example
```javascript
var VmosoApi = require('vmoso-api');
var defaultClient = VmosoApi.ApiClient.default;

// Configure API key authorization: vmoso_auth
var vmoso_auth = defaultClient.authentications['vmoso_auth'];
vmoso_auth.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//vmoso_auth.apiKeyPrefix['X-CV-Authorization'] = "Token"

var apiInstance = new VmosoApi.UserApi()

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getMe(callback);
```

### Parameters
This endpoint does not need any parameter.

### Return type

[**GetMeResult**](GetMeResult.md)

### Authorization

[vmoso_auth](../README.md#vmoso_auth)

### HTTP reuqest headers

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

<a name="getRequestAndPendingUsersCounts"></a>
# **getRequestAndPendingUsersCounts**
> GetRequestAndPendingUsersCountsResult getRequestAndPendingUsersCounts(opts)



Use this API to get the counts for the pending users.

### Example
```javascript
var VmosoApi = require('vmoso-api');
var defaultClient = VmosoApi.ApiClient.default;

// Configure API key authorization: vmoso_auth
var vmoso_auth = defaultClient.authentications['vmoso_auth'];
vmoso_auth.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//vmoso_auth.apiKeyPrefix['X-CV-Authorization'] = "Token"

var apiInstance = new VmosoApi.UserApi()

var opts = { 
  'mode': "mode_example" // {String} One of the following values: myvmoso (default) or vmoso
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getRequestAndPendingUsersCounts(opts, callback);
```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **mode** | **String**| One of the following values: myvmoso (default) or vmoso | [optional] 

### Return type

[**GetRequestAndPendingUsersCountsResult**](GetRequestAndPendingUsersCountsResult.md)

### Authorization

[vmoso_auth](../README.md#vmoso_auth)

### HTTP reuqest headers

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

<a name="getSuggestFollowersCounts"></a>
# **getSuggestFollowersCounts**
> GetSuggestFollowersCountsResult getSuggestFollowersCounts





### Example
```javascript
var VmosoApi = require('vmoso-api');
var defaultClient = VmosoApi.ApiClient.default;

// Configure API key authorization: vmoso_auth
var vmoso_auth = defaultClient.authentications['vmoso_auth'];
vmoso_auth.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//vmoso_auth.apiKeyPrefix['X-CV-Authorization'] = "Token"

var apiInstance = new VmosoApi.UserApi()

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getSuggestFollowersCounts(callback);
```

### Parameters
This endpoint does not need any parameter.

### Return type

[**GetSuggestFollowersCountsResult**](GetSuggestFollowersCountsResult.md)

### Authorization

[vmoso_auth](../README.md#vmoso_auth)

### HTTP reuqest headers

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

<a name="getSuggestedUsersCounts"></a>
# **getSuggestedUsersCounts**
> GetSuggestedUsersCountsResult getSuggestedUsersCounts





### Example
```javascript
var VmosoApi = require('vmoso-api');
var defaultClient = VmosoApi.ApiClient.default;

// Configure API key authorization: vmoso_auth
var vmoso_auth = defaultClient.authentications['vmoso_auth'];
vmoso_auth.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//vmoso_auth.apiKeyPrefix['X-CV-Authorization'] = "Token"

var apiInstance = new VmosoApi.UserApi()

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getSuggestedUsersCounts(callback);
```

### Parameters
This endpoint does not need any parameter.

### Return type

[**GetSuggestedUsersCountsResult**](GetSuggestedUsersCountsResult.md)

### Authorization

[vmoso_auth](../README.md#vmoso_auth)

### HTTP reuqest headers

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

<a name="getUser"></a>
# **getUser**
> GetUserResult getUser(userKey)





### Example
```javascript
var VmosoApi = require('vmoso-api');
var defaultClient = VmosoApi.ApiClient.default;

// Configure API key authorization: vmoso_auth
var vmoso_auth = defaultClient.authentications['vmoso_auth'];
vmoso_auth.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//vmoso_auth.apiKeyPrefix['X-CV-Authorization'] = "Token"

var apiInstance = new VmosoApi.UserApi()

var userKey = "userKey_example"; // {String} 


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getUser(userKey, callback);
```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **userKey** | **String**|  | 

### Return type

[**GetUserResult**](GetUserResult.md)

### Authorization

[vmoso_auth](../README.md#vmoso_auth)

### HTTP reuqest headers

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

<a name="getUserByEmail"></a>
# **getUserByEmail**
> GetUserByEmailResult getUserByEmail(userName)





### Example
```javascript
var VmosoApi = require('vmoso-api');
var defaultClient = VmosoApi.ApiClient.default;

// Configure API key authorization: vmoso_auth
var vmoso_auth = defaultClient.authentications['vmoso_auth'];
vmoso_auth.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//vmoso_auth.apiKeyPrefix['X-CV-Authorization'] = "Token"

var apiInstance = new VmosoApi.UserApi()

var userName = "userName_example"; // {String} 


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getUserByEmail(userName, callback);
```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **userName** | **String**|  | 

### Return type

[**GetUserByEmailResult**](GetUserByEmailResult.md)

### Authorization

[vmoso_auth](../README.md#vmoso_auth)

### HTTP reuqest headers

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

<a name="getUserStatus"></a>
# **getUserStatus**
> GetUserStatusResult getUserStatus(input)





### Example
```javascript
var VmosoApi = require('vmoso-api');
var defaultClient = VmosoApi.ApiClient.default;

// Configure API key authorization: vmoso_auth
var vmoso_auth = defaultClient.authentications['vmoso_auth'];
vmoso_auth.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//vmoso_auth.apiKeyPrefix['X-CV-Authorization'] = "Token"

var apiInstance = new VmosoApi.UserApi()

var input = new VmosoApi.GetUserStatusInput(); // {GetUserStatusInput} 


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getUserStatus(input, callback);
```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **input** | [**GetUserStatusInput**](GetUserStatusInput.md)|  | 

### Return type

[**GetUserStatusResult**](GetUserStatusResult.md)

### Authorization

[vmoso_auth](../README.md#vmoso_auth)

### HTTP reuqest headers

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

<a name="getUsers"></a>
# **getUsers**
> GetUsersResult getUsers(userkeys)





### Example
```javascript
var VmosoApi = require('vmoso-api');
var defaultClient = VmosoApi.ApiClient.default;

// Configure API key authorization: vmoso_auth
var vmoso_auth = defaultClient.authentications['vmoso_auth'];
vmoso_auth.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//vmoso_auth.apiKeyPrefix['X-CV-Authorization'] = "Token"

var apiInstance = new VmosoApi.UserApi()

var userkeys = ["userkeys_example"]; // {[String]} 


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getUsers(userkeys, callback);
```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **userkeys** | [**[String]**](String.md)|  | 

### Return type

[**GetUsersResult**](GetUsersResult.md)

### Authorization

[vmoso_auth](../README.md#vmoso_auth)

### HTTP reuqest headers

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

<a name="getUsersByEmail"></a>
# **getUsersByEmail**
> GetUsersByEmailResult getUsersByEmail(input)





### Example
```javascript
var VmosoApi = require('vmoso-api');
var defaultClient = VmosoApi.ApiClient.default;

// Configure API key authorization: vmoso_auth
var vmoso_auth = defaultClient.authentications['vmoso_auth'];
vmoso_auth.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//vmoso_auth.apiKeyPrefix['X-CV-Authorization'] = "Token"

var apiInstance = new VmosoApi.UserApi()

var input = new VmosoApi.GetUsersByEmailInput(); // {GetUsersByEmailInput} 


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getUsersByEmail(input, callback);
```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **input** | [**GetUsersByEmailInput**](GetUsersByEmailInput.md)|  | 

### Return type

[**GetUsersByEmailResult**](GetUsersByEmailResult.md)

### Authorization

[vmoso_auth](../README.md#vmoso_auth)

### HTTP reuqest headers

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

<a name="login"></a>
# **login**
> LoginResult login(input)



Use this API for logging a user into Vmoso.

### Example
```javascript
var VmosoApi = require('vmoso-api');

var apiInstance = new VmosoApi.UserApi()

var input = new VmosoApi.LoginInput(); // {LoginInput} Login information.


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.login(input, callback);
```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **input** | [**LoginInput**](LoginInput.md)| Login information. | 

### Return type

[**LoginResult**](LoginResult.md)

### Authorization

No authorization required

### HTTP reuqest headers

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

<a name="logout"></a>
# **logout**
> LogoutResult logout



Use this API to logout.

### Example
```javascript
var VmosoApi = require('vmoso-api');
var defaultClient = VmosoApi.ApiClient.default;

// Configure API key authorization: vmoso_auth
var vmoso_auth = defaultClient.authentications['vmoso_auth'];
vmoso_auth.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//vmoso_auth.apiKeyPrefix['X-CV-Authorization'] = "Token"

var apiInstance = new VmosoApi.UserApi()

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.logout(callback);
```

### Parameters
This endpoint does not need any parameter.

### Return type

[**LogoutResult**](LogoutResult.md)

### Authorization

[vmoso_auth](../README.md#vmoso_auth)

### HTTP reuqest headers

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

<a name="requestPassword"></a>
# **requestPassword**
> RequestPasswordResult requestPassword(input)



Use this API to request a password.

### Example
```javascript
var VmosoApi = require('vmoso-api');
var defaultClient = VmosoApi.ApiClient.default;

// Configure API key authorization: vmoso_auth
var vmoso_auth = defaultClient.authentications['vmoso_auth'];
vmoso_auth.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//vmoso_auth.apiKeyPrefix['X-CV-Authorization'] = "Token"

var apiInstance = new VmosoApi.UserApi()

var input = new VmosoApi.RequestPasswordInput(); // {RequestPasswordInput} User for whom you want to request a password.


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.requestPassword(input, callback);
```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **input** | [**RequestPasswordInput**](RequestPasswordInput.md)| User for whom you want to request a password. | 

### Return type

[**RequestPasswordResult**](RequestPasswordResult.md)

### Authorization

[vmoso_auth](../README.md#vmoso_auth)

### HTTP reuqest headers

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

<a name="resetExpiredPassword"></a>
# **resetExpiredPassword**
> ResetExpiredPasswordResult resetExpiredPassword(input)



Use this API to reset an expired password.

### Example
```javascript
var VmosoApi = require('vmoso-api');
var defaultClient = VmosoApi.ApiClient.default;

// Configure API key authorization: vmoso_auth
var vmoso_auth = defaultClient.authentications['vmoso_auth'];
vmoso_auth.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//vmoso_auth.apiKeyPrefix['X-CV-Authorization'] = "Token"

var apiInstance = new VmosoApi.UserApi()

var input = new VmosoApi.ResetExpiredPasswordInput(); // {ResetExpiredPasswordInput} User for whom to reset expired password and old and new password.


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.resetExpiredPassword(input, callback);
```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **input** | [**ResetExpiredPasswordInput**](ResetExpiredPasswordInput.md)| User for whom to reset expired password and old and new password. | 

### Return type

[**ResetExpiredPasswordResult**](ResetExpiredPasswordResult.md)

### Authorization

[vmoso_auth](../README.md#vmoso_auth)

### HTTP reuqest headers

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

<a name="resetPasswordaction"></a>
# **resetPasswordaction**
> ResetPasswordactionResult resetPasswordaction(input)



Use this API to reset a password action.

### Example
```javascript
var VmosoApi = require('vmoso-api');
var defaultClient = VmosoApi.ApiClient.default;

// Configure API key authorization: vmoso_auth
var vmoso_auth = defaultClient.authentications['vmoso_auth'];
vmoso_auth.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//vmoso_auth.apiKeyPrefix['X-CV-Authorization'] = "Token"

var apiInstance = new VmosoApi.UserApi()

var input = new VmosoApi.ResetPasswordactionInput(); // {ResetPasswordactionInput} User key, 


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.resetPasswordaction(input, callback);
```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **input** | [**ResetPasswordactionInput**](ResetPasswordactionInput.md)| User key,  | 

### Return type

[**ResetPasswordactionResult**](ResetPasswordactionResult.md)

### Authorization

[vmoso_auth](../README.md#vmoso_auth)

### HTTP reuqest headers

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

<a name="resetPasswordactionPhone"></a>
# **resetPasswordactionPhone**
> ResetPasswordactionPhoneResult resetPasswordactionPhone(input)





### Example
```javascript
var VmosoApi = require('vmoso-api');
var defaultClient = VmosoApi.ApiClient.default;

// Configure API key authorization: vmoso_auth
var vmoso_auth = defaultClient.authentications['vmoso_auth'];
vmoso_auth.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//vmoso_auth.apiKeyPrefix['X-CV-Authorization'] = "Token"

var apiInstance = new VmosoApi.UserApi()

var input = new VmosoApi.ResetPasswordactionPhoneInput(); // {ResetPasswordactionPhoneInput} 


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.resetPasswordactionPhone(input, callback);
```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **input** | [**ResetPasswordactionPhoneInput**](ResetPasswordactionPhoneInput.md)|  | 

### Return type

[**ResetPasswordactionPhoneResult**](ResetPasswordactionPhoneResult.md)

### Authorization

[vmoso_auth](../README.md#vmoso_auth)

### HTTP reuqest headers

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

<a name="setPublic"></a>
# **setPublic**
> SetPublicResult setPublic(input)





### Example
```javascript
var VmosoApi = require('vmoso-api');
var defaultClient = VmosoApi.ApiClient.default;

// Configure API key authorization: vmoso_auth
var vmoso_auth = defaultClient.authentications['vmoso_auth'];
vmoso_auth.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//vmoso_auth.apiKeyPrefix['X-CV-Authorization'] = "Token"

var apiInstance = new VmosoApi.UserApi()

var input = new VmosoApi.SetPublicInput(); // {SetPublicInput} 


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.setPublic(input, callback);
```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **input** | [**SetPublicInput**](SetPublicInput.md)|  | 

### Return type

[**SetPublicResult**](SetPublicResult.md)

### Authorization

[vmoso_auth](../README.md#vmoso_auth)

### HTTP reuqest headers

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

<a name="signup"></a>
# **signup**
> SignupResult signup(input)





### Example
```javascript
var VmosoApi = require('vmoso-api');
var defaultClient = VmosoApi.ApiClient.default;

// Configure API key authorization: vmoso_auth
var vmoso_auth = defaultClient.authentications['vmoso_auth'];
vmoso_auth.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//vmoso_auth.apiKeyPrefix['X-CV-Authorization'] = "Token"

var apiInstance = new VmosoApi.UserApi()

var input = new VmosoApi.SignupInput(); // {SignupInput} 


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.signup(input, callback);
```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **input** | [**SignupInput**](SignupInput.md)|  | 

### Return type

[**SignupResult**](SignupResult.md)

### Authorization

[vmoso_auth](../README.md#vmoso_auth)

### HTTP reuqest headers

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

<a name="updatePassword"></a>
# **updatePassword**
> UpdatePasswordResult updatePassword(input)





### Example
```javascript
var VmosoApi = require('vmoso-api');
var defaultClient = VmosoApi.ApiClient.default;

// Configure API key authorization: vmoso_auth
var vmoso_auth = defaultClient.authentications['vmoso_auth'];
vmoso_auth.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//vmoso_auth.apiKeyPrefix['X-CV-Authorization'] = "Token"

var apiInstance = new VmosoApi.UserApi()

var input = new VmosoApi.UpdatePasswordInput(); // {UpdatePasswordInput} 


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.updatePassword(input, callback);
```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **input** | [**UpdatePasswordInput**](UpdatePasswordInput.md)|  | 

### Return type

[**UpdatePasswordResult**](UpdatePasswordResult.md)

### Authorization

[vmoso_auth](../README.md#vmoso_auth)

### HTTP reuqest headers

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

