# EDropinAccounts.EaProfilesApi

All URIs are relative to *https://edropin-test.appspot.com*

Method | HTTP request | Description
------------- | ------------- | -------------
[**checkUsernameAvailability**](EaProfilesApi.md#checkUsernameAvailability) | **GET** /profiles/usernamecheck | Check username availability
[**createProfile**](EaProfilesApi.md#createProfile) | **POST** /profiles | Create profile
[**deleteProfile**](EaProfilesApi.md#deleteProfile) | **DELETE** /profiles/{profileId} | Delete an existing profile
[**getAllProfiles**](EaProfilesApi.md#getAllProfiles) | **GET** /profiles | List all profiles
[**getMultipleProfiles**](EaProfilesApi.md#getMultipleProfiles) | **GET** /profiles/get-multi | Get Multiple Profiles
[**getProfile**](EaProfilesApi.md#getProfile) | **GET** /profiles/{profileId} | Get a profile from the directory
[**getProfileCategories**](EaProfilesApi.md#getProfileCategories) | **GET** /profiles/categories | Get Profile Categories
[**paginateProfileFeed**](EaProfilesApi.md#paginateProfileFeed) | **GET** /profiles/{profileId}/feed | Profile Feed
[**searchProfile**](EaProfilesApi.md#searchProfile) | **GET** /profiles/search | Search Profiles
[**sendProfileEmailVerification**](EaProfilesApi.md#sendProfileEmailVerification) | **POST** /profiles/{profileId}/email-verification | Send email verification
[**setStatus**](EaProfilesApi.md#setStatus) | **PUT** /profiles/{profileId}/status | Set a profile status
[**updateProfile**](EaProfilesApi.md#updateProfile) | **PUT** /profiles/{profileId} | Update an existing profile
[**verifyProfileEmail**](EaProfilesApi.md#verifyProfileEmail) | **POST** /profiles/email-verification/{code} | Verifiy profile email


<a name="checkUsernameAvailability"></a>
# **checkUsernameAvailability**
> EaSuccess checkUsernameAvailability(username)

Check username availability

### Example
```javascript
var EDropinAccounts = require('e_dropin_accounts');
var defaultClient = EDropinAccounts.ApiClient.instance;

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

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

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

var apiInstance = new EDropinAccounts.EaProfilesApi();

var username = "username_example"; // String | Username to check for availability


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

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **username** | **String**| Username to check for availability | 

### Return type

[**EaSuccess**](EaSuccess.md)

### Authorization

[Authorization](../README.md#Authorization), [AuthorizationOptional](../README.md#AuthorizationOptional), [ClientKey](../README.md#ClientKey)

### HTTP request headers

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

<a name="createProfile"></a>
# **createProfile**
> EaProfile createProfile(profileProps)

Create profile

### Example
```javascript
var EDropinAccounts = require('e_dropin_accounts');
var defaultClient = EDropinAccounts.ApiClient.instance;

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

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

var apiInstance = new EDropinAccounts.EaProfilesApi();

var profileProps = new EDropinAccounts.EaProfileCreate(); // EaProfileCreate | Profile object that needs to be created


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

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **profileProps** | [**EaProfileCreate**](EaProfileCreate.md)| Profile object that needs to be created | 

### Return type

[**EaProfile**](EaProfile.md)

### Authorization

[Authorization](../README.md#Authorization), [ClientKey](../README.md#ClientKey)

### HTTP request headers

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

<a name="deleteProfile"></a>
# **deleteProfile**
> EaSuccess deleteProfile(profileId, )

Delete an existing profile

### Example
```javascript
var EDropinAccounts = require('e_dropin_accounts');
var defaultClient = EDropinAccounts.ApiClient.instance;

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

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

var apiInstance = new EDropinAccounts.EaProfilesApi();

var profileId = "profileId_example"; // String | Profile Id


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

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **profileId** | **String**| Profile Id | 

### Return type

[**EaSuccess**](EaSuccess.md)

### Authorization

[Authorization](../README.md#Authorization), [ClientKey](../README.md#ClientKey)

### HTTP request headers

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

<a name="getAllProfiles"></a>
# **getAllProfiles**
> EaPagedProfile getAllProfiles(opts)

List all profiles

### Example
```javascript
var EDropinAccounts = require('e_dropin_accounts');
var defaultClient = EDropinAccounts.ApiClient.instance;

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

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

var apiInstance = new EDropinAccounts.EaProfilesApi();

var opts = { 
  'q': "q_example", // String | 
  'facets': "facets_example", // String | e.g [profiledIds:edropin],[profileIds:agdontario]
  'enhanced': true // Boolean | Gives you a more detailed entity but requires admin permissions usually
  'cursor': "cursor_example", // String | Start Cursor for query
  'limit': 20 // Number | Number of items returned
};

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

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **q** | **String**|  | [optional] 
 **facets** | **String**| e.g [profiledIds:edropin],[profileIds:agdontario] | [optional] 
 **enhanced** | **Boolean**| Gives you a more detailed entity but requires admin permissions usually | [optional] 
 **cursor** | **String**| Start Cursor for query | [optional] 
 **limit** | **Number**| Number of items returned | [optional] [default to 20]

### Return type

[**EaPagedProfile**](EaPagedProfile.md)

### Authorization

[Authorization](../README.md#Authorization), [ClientKey](../README.md#ClientKey)

### HTTP request headers

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

<a name="getMultipleProfiles"></a>
# **getMultipleProfiles**
> EaPagedProfile getMultipleProfiles(opts)

Get Multiple Profiles

### Example
```javascript
var EDropinAccounts = require('e_dropin_accounts');
var defaultClient = EDropinAccounts.ApiClient.instance;

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

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

var apiInstance = new EDropinAccounts.EaProfilesApi();

var opts = { 
  'profileIds': ["profileIds_example"] // [String] | 
};

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

### Parameters

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

### Return type

[**EaPagedProfile**](EaPagedProfile.md)

### Authorization

[Authorization](../README.md#Authorization), [ClientKey](../README.md#ClientKey)

### HTTP request headers

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

<a name="getProfile"></a>
# **getProfile**
> EaProfile getProfile(profileId, , opts)

Get a profile from the directory

### Example
```javascript
var EDropinAccounts = require('e_dropin_accounts');
var defaultClient = EDropinAccounts.ApiClient.instance;

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

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

var apiInstance = new EDropinAccounts.EaProfilesApi();

var profileId = "profileId_example"; // String | Profile Id

var opts = { 
  'enhanced': true // Boolean | Gives you a more detailed entity but requires admin permissions usually
};

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

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **profileId** | **String**| Profile Id | 
 **enhanced** | **Boolean**| Gives you a more detailed entity but requires admin permissions usually | [optional] 

### Return type

[**EaProfile**](EaProfile.md)

### Authorization

[Authorization](../README.md#Authorization), [ClientKey](../README.md#ClientKey)

### HTTP request headers

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

<a name="getProfileCategories"></a>
# **getProfileCategories**
> EaFacetSearch getProfileCategories(opts)

Get Profile Categories

### Example
```javascript
var EDropinAccounts = require('e_dropin_accounts');
var defaultClient = EDropinAccounts.ApiClient.instance;

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

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

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

var apiInstance = new EDropinAccounts.EaProfilesApi();

var opts = { 
  'q': "q_example", // String | 
  'cursor': "cursor_example", // String | Start Cursor for query
  'limit': 20 // Number | Number of items returned
};

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

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **q** | **String**|  | [optional] 
 **cursor** | **String**| Start Cursor for query | [optional] 
 **limit** | **Number**| Number of items returned | [optional] [default to 20]

### Return type

[**EaFacetSearch**](EaFacetSearch.md)

### Authorization

[Authorization](../README.md#Authorization), [AuthorizationOptional](../README.md#AuthorizationOptional), [ClientKey](../README.md#ClientKey)

### HTTP request headers

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

<a name="paginateProfileFeed"></a>
# **paginateProfileFeed**
> EaPagedFeedItem paginateProfileFeed(profileId, , opts)

Profile Feed

### Example
```javascript
var EDropinAccounts = require('e_dropin_accounts');
var defaultClient = EDropinAccounts.ApiClient.instance;

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

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

var apiInstance = new EDropinAccounts.EaProfilesApi();

var profileId = "profileId_example"; // String | Profile Id

var opts = { 
  'cursor': "cursor_example", // String | Start Cursor for query
  'limit': 20 // Number | Number of items returned
};

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

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **profileId** | **String**| Profile Id | 
 **cursor** | **String**| Start Cursor for query | [optional] 
 **limit** | **Number**| Number of items returned | [optional] [default to 20]

### Return type

[**EaPagedFeedItem**](EaPagedFeedItem.md)

### Authorization

[Authorization](../README.md#Authorization), [ClientKey](../README.md#ClientKey)

### HTTP request headers

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

<a name="searchProfile"></a>
# **searchProfile**
> EaPagedProfile searchProfile(opts)

Search Profiles

### Example
```javascript
var EDropinAccounts = require('e_dropin_accounts');
var defaultClient = EDropinAccounts.ApiClient.instance;

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

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

var apiInstance = new EDropinAccounts.EaProfilesApi();

var opts = { 
  'q': "q_example", // String | 
  'facets': "facets_example", // String | e.g [profiledIds:edropin],[profileIds:agdontario]
  'showInvited': true, // Boolean | 
  'cursor': "cursor_example", // String | Start Cursor for query
  'limit': 20 // Number | Number of items returned
};

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

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **q** | **String**|  | [optional] 
 **facets** | **String**| e.g [profiledIds:edropin],[profileIds:agdontario] | [optional] 
 **showInvited** | **Boolean**|  | [optional] 
 **cursor** | **String**| Start Cursor for query | [optional] 
 **limit** | **Number**| Number of items returned | [optional] [default to 20]

### Return type

[**EaPagedProfile**](EaPagedProfile.md)

### Authorization

[Authorization](../README.md#Authorization), [ClientKey](../README.md#ClientKey)

### HTTP request headers

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

<a name="sendProfileEmailVerification"></a>
# **sendProfileEmailVerification**
> EaSuccess sendProfileEmailVerification(profileId, )

Send email verification

### Example
```javascript
var EDropinAccounts = require('e_dropin_accounts');
var defaultClient = EDropinAccounts.ApiClient.instance;

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

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

var apiInstance = new EDropinAccounts.EaProfilesApi();

var profileId = "profileId_example"; // String | Profile Id


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

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **profileId** | **String**| Profile Id | 

### Return type

[**EaSuccess**](EaSuccess.md)

### Authorization

[Authorization](../README.md#Authorization), [ClientKey](../README.md#ClientKey)

### HTTP request headers

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

<a name="setStatus"></a>
# **setStatus**
> EaProfileStatus setStatus(profileId, profileProps)

Set a profile status

### Example
```javascript
var EDropinAccounts = require('e_dropin_accounts');
var defaultClient = EDropinAccounts.ApiClient.instance;

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

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

var apiInstance = new EDropinAccounts.EaProfilesApi();

var profileId = "profileId_example"; // String | Profile Id

var profileProps = new EDropinAccounts.EaProfileStatus(); // EaProfileStatus | Profile object that needs to be created


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

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **profileId** | **String**| Profile Id | 
 **profileProps** | [**EaProfileStatus**](EaProfileStatus.md)| Profile object that needs to be created | 

### Return type

[**EaProfileStatus**](EaProfileStatus.md)

### Authorization

[Authorization](../README.md#Authorization), [ClientKey](../README.md#ClientKey)

### HTTP request headers

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

<a name="updateProfile"></a>
# **updateProfile**
> EaProfile updateProfile(profileId, profileProps)

Update an existing profile

### Example
```javascript
var EDropinAccounts = require('e_dropin_accounts');
var defaultClient = EDropinAccounts.ApiClient.instance;

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

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

var apiInstance = new EDropinAccounts.EaProfilesApi();

var profileId = "profileId_example"; // String | Profile Id

var profileProps = new EDropinAccounts.EaProfileUpdate(); // EaProfileUpdate | Profile object that needs to be updated


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

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **profileId** | **String**| Profile Id | 
 **profileProps** | [**EaProfileUpdate**](EaProfileUpdate.md)| Profile object that needs to be updated | 

### Return type

[**EaProfile**](EaProfile.md)

### Authorization

[Authorization](../README.md#Authorization), [ClientKey](../README.md#ClientKey)

### HTTP request headers

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

<a name="verifyProfileEmail"></a>
# **verifyProfileEmail**
> EaEmailVerification verifyProfileEmail(code)

Verifiy profile email

### Example
```javascript
var EDropinAccounts = require('e_dropin_accounts');
var defaultClient = EDropinAccounts.ApiClient.instance;

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

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

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

var apiInstance = new EDropinAccounts.EaProfilesApi();

var code = "code_example"; // String | 


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

### Parameters

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

### Return type

[**EaEmailVerification**](EaEmailVerification.md)

### Authorization

[Authorization](../README.md#Authorization), [AuthorizationOptional](../README.md#AuthorizationOptional), [ClientKey](../README.md#ClientKey)

### HTTP request headers

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

