# AccountAPIApi

All URIs are relative to *https://api.metacopier.io*

|Method | HTTP request | Description|
|------------- | ------------- | -------------|
|[**activateAllCopiers**](#activateallcopiers) | **POST** /rest/api/v1/accounts/activateAllCopiers | Activate all copiers across all accounts|
|[**activateSlavesCopier**](#activateslavescopier) | **POST** /rest/api/v1/accounts/{accountId}/activateSlavesCopier | Activate all copiers of all slave accounts|
|[**createAccount**](#createaccount) | **POST** /rest/api/v1/accounts | Create an account|
|[**createAccountApproval**](#createaccountapproval) | **POST** /rest/api/v1/accounts/{accountId}/approvals | Create an approval|
|[**createAccountFeature**](#createaccountfeature) | **POST** /rest/api/v1/accounts/{accountId}/features | Create an account feature|
|[**createCopier**](#createcopier) | **POST** /rest/api/v1/accounts/{accountId}/copiers | Create an account copier|
|[**createCopierFeature**](#createcopierfeature) | **POST** /rest/api/v1/accounts/{accountId}/copiers/{copierId}/features | Create a copier feature|
|[**createRiskLimit**](#createrisklimit) | **POST** /rest/api/v1/accounts/{accountId}/riskLimits | Create an account risk limit|
|[**createSignalFollowerFeature**](#createsignalfollowerfeature) | **POST** /rest/api/v1/accounts/{accountId}/signalFollowers/{signalFollowerId}/features | Create a Signal Follower feature|
|[**deactivateAllCopiers**](#deactivateallcopiers) | **POST** /rest/api/v1/accounts/deactivateAllCopiers | Deactivate all copiers across all accounts|
|[**deactivateSlavesCopier**](#deactivateslavescopier) | **POST** /rest/api/v1/accounts/{accountId}/deactivateSlavesCopier | Deactivate all copiers of all slave accounts|
|[**deleteAccount**](#deleteaccount) | **DELETE** /rest/api/v1/accounts/{accountId} | Delete an account|
|[**deleteAccountFeature**](#deleteaccountfeature) | **DELETE** /rest/api/v1/accounts/{accountId}/features/{featureId} | Delete an account feature|
|[**deleteCopier**](#deletecopier) | **DELETE** /rest/api/v1/accounts/{accountId}/copiers/{copierId} | Delete an account copier|
|[**deleteCopierFeature**](#deletecopierfeature) | **DELETE** /rest/api/v1/accounts/{accountId}/copiers/{copierId}/features/{featureId} | Delete a copier feature|
|[**deleteRiskLimit**](#deleterisklimit) | **DELETE** /rest/api/v1/accounts/{accountId}/riskLimits/{riskLimitId} | Delete an account risk limit|
|[**deleteSignalFollowerFeature**](#deletesignalfollowerfeature) | **DELETE** /rest/api/v1/accounts/{accountId}/signalFollowers/{signalFollowerId}/features/{featureId} | Delete a Signal Follower feature|
|[**getAccount**](#getaccount) | **GET** /rest/api/v1/accounts/{accountId} | Get an account|
|[**getAccountApiKeys**](#getaccountapikeys) | **GET** /rest/api/v1/accounts/{accountId}/apiKeys | Get all API keys for an account|
|[**getAccountAuditLogs**](#getaccountauditlogs) | **GET** /rest/api/v1/accounts/{accountId}/auditLogs | Get audit logs for a specific account|
|[**getAccountCopierCurrentSymbolMappings**](#getaccountcopiercurrentsymbolmappings) | **GET** /rest/api/v1/accounts/{accountId}/copiers/{copierId}/symbolMappings/current | Get account copier current symbol mappings|
|[**getAccountDataCollectorRecords**](#getaccountdatacollectorrecords) | **GET** /rest/api/v1/accounts/{accountId}/dataCollector | Get data collector records for a specific account|
|[**getAccountFeature**](#getaccountfeature) | **GET** /rest/api/v1/accounts/{accountId}/features/{featureId} | Get an account feature|
|[**getAccountFeatures**](#getaccountfeatures) | **GET** /rest/api/v1/accounts/{accountId}/features | Get all account features|
|[**getAccountLogs**](#getaccountlogs) | **GET** /rest/api/v1/accounts/{accountId}/logs | Get account logs|
|[**getAccountPerformanceMetrics**](#getaccountperformancemetrics) | **GET** /rest/api/v1/accounts/{accountId}/performanceMetrics | Get an account performance metrics|
|[**getAccountSymbolMappings**](#getaccountsymbolmappings) | **POST** /rest/api/v1/accounts/{accountId}/symbolMappings | Get account symbol mappings for given symbols|
|[**getAccounts**](#getaccounts) | **GET** /rest/api/v1/accounts | Get all accounts|
|[**getAllAsyncAccountCreationStatuses**](#getallasyncaccountcreationstatuses) | **GET** /rest/api/v1/accounts/async | Get all async account creation requests|
|[**getAsyncAccountCreationStatus**](#getasyncaccountcreationstatus) | **GET** /rest/api/v1/accounts/async/{requestId} | Get async account creation status|
|[**getCopier**](#getcopier) | **GET** /rest/api/v1/accounts/{accountId}/copiers/{copierId} | Get account copier|
|[**getCopierFeature**](#getcopierfeature) | **GET** /rest/api/v1/accounts/{accountId}/copiers/{copierId}/features/{featureId} | Get a copier feature|
|[**getCopierFeatures**](#getcopierfeatures) | **GET** /rest/api/v1/accounts/{accountId}/copiers/{copierId}/features | Get all copier features|
|[**getCopiers**](#getcopiers) | **GET** /rest/api/v1/accounts/{accountId}/copiers | Get account copiers|
|[**getRiskLimit**](#getrisklimit) | **GET** /rest/api/v1/accounts/{accountId}/riskLimits/{riskLimitId} | Get an account risk limit|
|[**getRiskLimits**](#getrisklimits) | **GET** /rest/api/v1/accounts/{accountId}/riskLimits | Get account risk limits|
|[**getSignalFollowerFeature**](#getsignalfollowerfeature) | **GET** /rest/api/v1/accounts/{accountId}/signalFollowers/{signalFollowerId}/features/{featureId} | Get a Signal Follower feature|
|[**getSignalFollowerFeatures**](#getsignalfollowerfeatures) | **GET** /rest/api/v1/accounts/{accountId}/signalFollowers/{signalFollowerId}/features | Get all Signal Follower features|
|[**getSlaveAccounts**](#getslaveaccounts) | **GET** /rest/api/v1/accounts/{accountId}/slaves | Get all slave accounts that are copying from this master account|
|[**monitorOnlyAllCopiers**](#monitoronlyallcopiers) | **POST** /rest/api/v1/accounts/monitorOnlyAllCopiers | Set all copiers across all accounts to monitor-only mode|
|[**monitorOnlySlavesCopier**](#monitoronlyslavescopier) | **POST** /rest/api/v1/accounts/{accountId}/monitorOnlySlavesCopier | Set all copiers of all slave accounts to monitor-only mode|
|[**resetMasaniello**](#resetmasaniello) | **PUT** /rest/api/v1/accounts/{accountId}/masaniello/{masanielloFeatureId}/reset | Reset Masaniello series|
|[**resetProfitTarget**](#resetprofittarget) | **PUT** /rest/api/v1/accounts/{accountId}/profitTargets/{profitTargetFeatureId}/reset | Reset an account profit target|
|[**resetRiskLimit**](#resetrisklimit) | **PUT** /rest/api/v1/accounts/{accountId}/riskLimits/{riskLimitId}/reset | Reset an account risk limit|
|[**resyncCopier**](#resynccopier) | **POST** /rest/api/v1/accounts/{accountId}/copiers/{copierId}/resync | Resynchronize copier with master|
|[**startAccount**](#startaccount) | **POST** /rest/api/v1/accounts/{accountId}/actions/start | Start an account (connect)|
|[**stopAccount**](#stopaccount) | **POST** /rest/api/v1/accounts/{accountId}/actions/stop | Stop an account (disconnect)|
|[**updateAccount**](#updateaccount) | **PUT** /rest/api/v1/accounts/{accountId} | Update an account|
|[**updateAccountFeature**](#updateaccountfeature) | **PUT** /rest/api/v1/accounts/{accountId}/features/{featureId} | Update an account feature|
|[**updateCopier**](#updatecopier) | **PUT** /rest/api/v1/accounts/{accountId}/copiers/{copierId} | Update an account copier|
|[**updateCopierFeature**](#updatecopierfeature) | **PUT** /rest/api/v1/accounts/{accountId}/copiers/{copierId}/features/{featureId} | Update a copier feature|
|[**updateRiskLimit**](#updaterisklimit) | **PUT** /rest/api/v1/accounts/{accountId}/riskLimits/{riskLimitId} | Update an account risk limit|
|[**updateSignalFollowerFeature**](#updatesignalfollowerfeature) | **PUT** /rest/api/v1/accounts/{accountId}/signalFollowers/{signalFollowerId}/features/{featureId} | Update a Signal Follower feature|

# **activateAllCopiers**
> activateAllCopiers()


### Example

```typescript
import {
    AccountAPIApi,
    Configuration
} from 'js-metacopier-api';

const configuration = new Configuration();
const apiInstance = new AccountAPIApi(configuration);

const { status, data } = await apiInstance.activateAllCopiers();
```

### Parameters
This endpoint does not have any parameters.


### Return type

void (empty response body)

### Authorization

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

### HTTP request headers

 - **Content-Type**: Not defined
 - **Accept**: Not defined


### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
|**204** | No Content |  -  |

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **activateSlavesCopier**
> activateSlavesCopier()


### Example

```typescript
import {
    AccountAPIApi,
    Configuration
} from 'js-metacopier-api';

const configuration = new Configuration();
const apiInstance = new AccountAPIApi(configuration);

let accountId: string; // (default to undefined)

const { status, data } = await apiInstance.activateSlavesCopier(
    accountId
);
```

### Parameters

|Name | Type | Description  | Notes|
|------------- | ------------- | ------------- | -------------|
| **accountId** | [**string**] |  | defaults to undefined|


### Return type

void (empty response body)

### Authorization

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

### HTTP request headers

 - **Content-Type**: Not defined
 - **Accept**: Not defined


### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
|**204** | No Content |  -  |

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **createAccount**
> object createAccount(accountDTO)

Creates a new account. If a callbackUrl is provided in the request body, the account creation is processed asynchronously: the API returns 202 Accepted immediately with a requestId, and POSTs the result to the callback URL once done. Only one account creation per project is processed at a time; additional async requests are queued and processed sequentially.

### Example

```typescript
import {
    AccountAPIApi,
    Configuration,
    AccountDTO
} from 'js-metacopier-api';

const configuration = new Configuration();
const apiInstance = new AccountAPIApi(configuration);

let accountDTO: AccountDTO; //

const { status, data } = await apiInstance.createAccount(
    accountDTO
);
```

### Parameters

|Name | Type | Description  | Notes|
|------------- | ------------- | ------------- | -------------|
| **accountDTO** | **AccountDTO**|  | |


### Return type

**object**

### Authorization

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

### HTTP request headers

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


### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
|**200** | OK |  -  |

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **createAccountApproval**
> createAccountApproval(approvalDTO)


### Example

```typescript
import {
    AccountAPIApi,
    Configuration,
    ApprovalDTO
} from 'js-metacopier-api';

const configuration = new Configuration();
const apiInstance = new AccountAPIApi(configuration);

let accountId: string; // (default to undefined)
let approvalDTO: ApprovalDTO; //

const { status, data } = await apiInstance.createAccountApproval(
    accountId,
    approvalDTO
);
```

### Parameters

|Name | Type | Description  | Notes|
|------------- | ------------- | ------------- | -------------|
| **approvalDTO** | **ApprovalDTO**|  | |
| **accountId** | [**string**] |  | defaults to undefined|


### Return type

void (empty response body)

### Authorization

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

### HTTP request headers

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


### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
|**204** | No Content |  -  |

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **createAccountFeature**
> FeatureDTO createAccountFeature(featureDTO)


### Example

```typescript
import {
    AccountAPIApi,
    Configuration,
    FeatureDTO
} from 'js-metacopier-api';

const configuration = new Configuration();
const apiInstance = new AccountAPIApi(configuration);

let accountId: string; // (default to undefined)
let featureDTO: FeatureDTO; //

const { status, data } = await apiInstance.createAccountFeature(
    accountId,
    featureDTO
);
```

### Parameters

|Name | Type | Description  | Notes|
|------------- | ------------- | ------------- | -------------|
| **featureDTO** | **FeatureDTO**|  | |
| **accountId** | [**string**] |  | defaults to undefined|


### Return type

**FeatureDTO**

### Authorization

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

### HTTP request headers

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


### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
|**200** | OK |  -  |

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **createCopier**
> CopierDTO createCopier(copierDTO)


### Example

```typescript
import {
    AccountAPIApi,
    Configuration,
    CopierDTO
} from 'js-metacopier-api';

const configuration = new Configuration();
const apiInstance = new AccountAPIApi(configuration);

let accountId: string; // (default to undefined)
let copierDTO: CopierDTO; //

const { status, data } = await apiInstance.createCopier(
    accountId,
    copierDTO
);
```

### Parameters

|Name | Type | Description  | Notes|
|------------- | ------------- | ------------- | -------------|
| **copierDTO** | **CopierDTO**|  | |
| **accountId** | [**string**] |  | defaults to undefined|


### Return type

**CopierDTO**

### Authorization

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

### HTTP request headers

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


### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
|**200** | OK |  -  |

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **createCopierFeature**
> FeatureDTO createCopierFeature(featureDTO)


### Example

```typescript
import {
    AccountAPIApi,
    Configuration,
    FeatureDTO
} from 'js-metacopier-api';

const configuration = new Configuration();
const apiInstance = new AccountAPIApi(configuration);

let accountId: string; // (default to undefined)
let copierId: string; // (default to undefined)
let featureDTO: FeatureDTO; //

const { status, data } = await apiInstance.createCopierFeature(
    accountId,
    copierId,
    featureDTO
);
```

### Parameters

|Name | Type | Description  | Notes|
|------------- | ------------- | ------------- | -------------|
| **featureDTO** | **FeatureDTO**|  | |
| **accountId** | [**string**] |  | defaults to undefined|
| **copierId** | [**string**] |  | defaults to undefined|


### Return type

**FeatureDTO**

### Authorization

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

### HTTP request headers

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


### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
|**200** | OK |  -  |

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **createRiskLimit**
> RiskLimitDTO createRiskLimit(riskLimitDTO)


### Example

```typescript
import {
    AccountAPIApi,
    Configuration,
    RiskLimitDTO
} from 'js-metacopier-api';

const configuration = new Configuration();
const apiInstance = new AccountAPIApi(configuration);

let accountId: string; // (default to undefined)
let riskLimitDTO: RiskLimitDTO; //

const { status, data } = await apiInstance.createRiskLimit(
    accountId,
    riskLimitDTO
);
```

### Parameters

|Name | Type | Description  | Notes|
|------------- | ------------- | ------------- | -------------|
| **riskLimitDTO** | **RiskLimitDTO**|  | |
| **accountId** | [**string**] |  | defaults to undefined|


### Return type

**RiskLimitDTO**

### Authorization

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

### HTTP request headers

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


### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
|**200** | OK |  -  |

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **createSignalFollowerFeature**
> FeatureDTO createSignalFollowerFeature(featureDTO)

Create a copier feature attached to a Signal Follower feature

### Example

```typescript
import {
    AccountAPIApi,
    Configuration,
    FeatureDTO
} from 'js-metacopier-api';

const configuration = new Configuration();
const apiInstance = new AccountAPIApi(configuration);

let accountId: string; // (default to undefined)
let signalFollowerId: string; // (default to undefined)
let featureDTO: FeatureDTO; //

const { status, data } = await apiInstance.createSignalFollowerFeature(
    accountId,
    signalFollowerId,
    featureDTO
);
```

### Parameters

|Name | Type | Description  | Notes|
|------------- | ------------- | ------------- | -------------|
| **featureDTO** | **FeatureDTO**|  | |
| **accountId** | [**string**] |  | defaults to undefined|
| **signalFollowerId** | [**string**] |  | defaults to undefined|


### Return type

**FeatureDTO**

### Authorization

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

### HTTP request headers

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


### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
|**200** | OK |  -  |

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **deactivateAllCopiers**
> deactivateAllCopiers()


### Example

```typescript
import {
    AccountAPIApi,
    Configuration
} from 'js-metacopier-api';

const configuration = new Configuration();
const apiInstance = new AccountAPIApi(configuration);

const { status, data } = await apiInstance.deactivateAllCopiers();
```

### Parameters
This endpoint does not have any parameters.


### Return type

void (empty response body)

### Authorization

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

### HTTP request headers

 - **Content-Type**: Not defined
 - **Accept**: Not defined


### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
|**204** | No Content |  -  |

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **deactivateSlavesCopier**
> deactivateSlavesCopier()


### Example

```typescript
import {
    AccountAPIApi,
    Configuration
} from 'js-metacopier-api';

const configuration = new Configuration();
const apiInstance = new AccountAPIApi(configuration);

let accountId: string; // (default to undefined)

const { status, data } = await apiInstance.deactivateSlavesCopier(
    accountId
);
```

### Parameters

|Name | Type | Description  | Notes|
|------------- | ------------- | ------------- | -------------|
| **accountId** | [**string**] |  | defaults to undefined|


### Return type

void (empty response body)

### Authorization

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

### HTTP request headers

 - **Content-Type**: Not defined
 - **Accept**: Not defined


### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
|**204** | No Content |  -  |

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **deleteAccount**
> deleteAccount()


### Example

```typescript
import {
    AccountAPIApi,
    Configuration
} from 'js-metacopier-api';

const configuration = new Configuration();
const apiInstance = new AccountAPIApi(configuration);

let accountId: string; // (default to undefined)

const { status, data } = await apiInstance.deleteAccount(
    accountId
);
```

### Parameters

|Name | Type | Description  | Notes|
|------------- | ------------- | ------------- | -------------|
| **accountId** | [**string**] |  | defaults to undefined|


### Return type

void (empty response body)

### Authorization

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

### HTTP request headers

 - **Content-Type**: Not defined
 - **Accept**: Not defined


### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
|**200** | OK |  -  |

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **deleteAccountFeature**
> deleteAccountFeature()


### Example

```typescript
import {
    AccountAPIApi,
    Configuration
} from 'js-metacopier-api';

const configuration = new Configuration();
const apiInstance = new AccountAPIApi(configuration);

let accountId: string; // (default to undefined)
let featureId: string; // (default to undefined)

const { status, data } = await apiInstance.deleteAccountFeature(
    accountId,
    featureId
);
```

### Parameters

|Name | Type | Description  | Notes|
|------------- | ------------- | ------------- | -------------|
| **accountId** | [**string**] |  | defaults to undefined|
| **featureId** | [**string**] |  | defaults to undefined|


### Return type

void (empty response body)

### Authorization

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

### HTTP request headers

 - **Content-Type**: Not defined
 - **Accept**: Not defined


### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
|**200** | OK |  -  |

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **deleteCopier**
> deleteCopier()


### Example

```typescript
import {
    AccountAPIApi,
    Configuration
} from 'js-metacopier-api';

const configuration = new Configuration();
const apiInstance = new AccountAPIApi(configuration);

let accountId: string; // (default to undefined)
let copierId: string; // (default to undefined)

const { status, data } = await apiInstance.deleteCopier(
    accountId,
    copierId
);
```

### Parameters

|Name | Type | Description  | Notes|
|------------- | ------------- | ------------- | -------------|
| **accountId** | [**string**] |  | defaults to undefined|
| **copierId** | [**string**] |  | defaults to undefined|


### Return type

void (empty response body)

### Authorization

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

### HTTP request headers

 - **Content-Type**: Not defined
 - **Accept**: Not defined


### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
|**200** | OK |  -  |

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **deleteCopierFeature**
> deleteCopierFeature()


### Example

```typescript
import {
    AccountAPIApi,
    Configuration
} from 'js-metacopier-api';

const configuration = new Configuration();
const apiInstance = new AccountAPIApi(configuration);

let accountId: string; // (default to undefined)
let copierId: string; // (default to undefined)
let featureId: string; // (default to undefined)

const { status, data } = await apiInstance.deleteCopierFeature(
    accountId,
    copierId,
    featureId
);
```

### Parameters

|Name | Type | Description  | Notes|
|------------- | ------------- | ------------- | -------------|
| **accountId** | [**string**] |  | defaults to undefined|
| **copierId** | [**string**] |  | defaults to undefined|
| **featureId** | [**string**] |  | defaults to undefined|


### Return type

void (empty response body)

### Authorization

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

### HTTP request headers

 - **Content-Type**: Not defined
 - **Accept**: Not defined


### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
|**200** | OK |  -  |

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **deleteRiskLimit**
> deleteRiskLimit()


### Example

```typescript
import {
    AccountAPIApi,
    Configuration
} from 'js-metacopier-api';

const configuration = new Configuration();
const apiInstance = new AccountAPIApi(configuration);

let accountId: string; // (default to undefined)
let riskLimitId: string; // (default to undefined)

const { status, data } = await apiInstance.deleteRiskLimit(
    accountId,
    riskLimitId
);
```

### Parameters

|Name | Type | Description  | Notes|
|------------- | ------------- | ------------- | -------------|
| **accountId** | [**string**] |  | defaults to undefined|
| **riskLimitId** | [**string**] |  | defaults to undefined|


### Return type

void (empty response body)

### Authorization

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

### HTTP request headers

 - **Content-Type**: Not defined
 - **Accept**: Not defined


### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
|**200** | OK |  -  |

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **deleteSignalFollowerFeature**
> deleteSignalFollowerFeature()

Delete a copier feature attached to a Signal Follower feature

### Example

```typescript
import {
    AccountAPIApi,
    Configuration
} from 'js-metacopier-api';

const configuration = new Configuration();
const apiInstance = new AccountAPIApi(configuration);

let accountId: string; // (default to undefined)
let signalFollowerId: string; // (default to undefined)
let featureId: string; // (default to undefined)

const { status, data } = await apiInstance.deleteSignalFollowerFeature(
    accountId,
    signalFollowerId,
    featureId
);
```

### Parameters

|Name | Type | Description  | Notes|
|------------- | ------------- | ------------- | -------------|
| **accountId** | [**string**] |  | defaults to undefined|
| **signalFollowerId** | [**string**] |  | defaults to undefined|
| **featureId** | [**string**] |  | defaults to undefined|


### Return type

void (empty response body)

### Authorization

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

### HTTP request headers

 - **Content-Type**: Not defined
 - **Accept**: Not defined


### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
|**200** | OK |  -  |

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **getAccount**
> AccountDTO getAccount()


### Example

```typescript
import {
    AccountAPIApi,
    Configuration
} from 'js-metacopier-api';

const configuration = new Configuration();
const apiInstance = new AccountAPIApi(configuration);

let accountId: string; // (default to undefined)

const { status, data } = await apiInstance.getAccount(
    accountId
);
```

### Parameters

|Name | Type | Description  | Notes|
|------------- | ------------- | ------------- | -------------|
| **accountId** | [**string**] |  | defaults to undefined|


### Return type

**AccountDTO**

### Authorization

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

### HTTP request headers

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


### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
|**200** | OK |  -  |

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **getAccountApiKeys**
> Array<ApiKeyDTO> getAccountApiKeys()


### Example

```typescript
import {
    AccountAPIApi,
    Configuration
} from 'js-metacopier-api';

const configuration = new Configuration();
const apiInstance = new AccountAPIApi(configuration);

let accountId: string; // (default to undefined)

const { status, data } = await apiInstance.getAccountApiKeys(
    accountId
);
```

### Parameters

|Name | Type | Description  | Notes|
|------------- | ------------- | ------------- | -------------|
| **accountId** | [**string**] |  | defaults to undefined|


### Return type

**Array<ApiKeyDTO>**

### Authorization

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

### HTTP request headers

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


### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
|**200** | OK |  -  |

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **getAccountAuditLogs**
> Array<AuditLogDTO> getAccountAuditLogs()

Retrieves audit logs for all API modifications made to a specific account.

### Example

```typescript
import {
    AccountAPIApi,
    Configuration
} from 'js-metacopier-api';

const configuration = new Configuration();
const apiInstance = new AccountAPIApi(configuration);

let accountId: string; // (default to undefined)
let limit: number; //Maximum number of logs to return (optional) (default to undefined)
let offset: number; //Number of logs to skip for pagination (optional) (default to undefined)
let startDate: string; //Start date filter (ISO-8601 format) (optional) (default to undefined)
let endDate: string; //End date filter (ISO-8601 format) (optional) (default to undefined)

const { status, data } = await apiInstance.getAccountAuditLogs(
    accountId,
    limit,
    offset,
    startDate,
    endDate
);
```

### Parameters

|Name | Type | Description  | Notes|
|------------- | ------------- | ------------- | -------------|
| **accountId** | [**string**] |  | defaults to undefined|
| **limit** | [**number**] | Maximum number of logs to return | (optional) defaults to undefined|
| **offset** | [**number**] | Number of logs to skip for pagination | (optional) defaults to undefined|
| **startDate** | [**string**] | Start date filter (ISO-8601 format) | (optional) defaults to undefined|
| **endDate** | [**string**] | End date filter (ISO-8601 format) | (optional) defaults to undefined|


### Return type

**Array<AuditLogDTO>**

### Authorization

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

### HTTP request headers

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


### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
|**200** | OK |  -  |

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **getAccountCopierCurrentSymbolMappings**
> Array<SymbolMappingDTO> getAccountCopierCurrentSymbolMappings()


### Example

```typescript
import {
    AccountAPIApi,
    Configuration
} from 'js-metacopier-api';

const configuration = new Configuration();
const apiInstance = new AccountAPIApi(configuration);

let accountId: string; // (default to undefined)
let copierId: string; // (default to undefined)

const { status, data } = await apiInstance.getAccountCopierCurrentSymbolMappings(
    accountId,
    copierId
);
```

### Parameters

|Name | Type | Description  | Notes|
|------------- | ------------- | ------------- | -------------|
| **accountId** | [**string**] |  | defaults to undefined|
| **copierId** | [**string**] |  | defaults to undefined|


### Return type

**Array<SymbolMappingDTO>**

### Authorization

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

### HTTP request headers

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


### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
|**200** | OK |  -  |

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **getAccountDataCollectorRecords**
> Array<DataCollectorRecordDTO> getAccountDataCollectorRecords()

Retrieves equity, balance, and floating PnL time-series data collected for advanced analytics, drawdown monitoring, and equity curve construction.

### Example

```typescript
import {
    AccountAPIApi,
    Configuration
} from 'js-metacopier-api';

const configuration = new Configuration();
const apiInstance = new AccountAPIApi(configuration);

let accountId: string; // (default to undefined)
let limit: number; //Maximum number of records to return (default: 10000, use -1 for all records) (optional) (default to undefined)
let startTime: string; //Start date filter (ISO-8601 format) (optional) (default to undefined)
let endTime: string; //End date filter (ISO-8601 format) (optional) (default to undefined)

const { status, data } = await apiInstance.getAccountDataCollectorRecords(
    accountId,
    limit,
    startTime,
    endTime
);
```

### Parameters

|Name | Type | Description  | Notes|
|------------- | ------------- | ------------- | -------------|
| **accountId** | [**string**] |  | defaults to undefined|
| **limit** | [**number**] | Maximum number of records to return (default: 10000, use -1 for all records) | (optional) defaults to undefined|
| **startTime** | [**string**] | Start date filter (ISO-8601 format) | (optional) defaults to undefined|
| **endTime** | [**string**] | End date filter (ISO-8601 format) | (optional) defaults to undefined|


### Return type

**Array<DataCollectorRecordDTO>**

### Authorization

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

### HTTP request headers

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


### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
|**200** | OK |  -  |

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **getAccountFeature**
> FeatureDTO getAccountFeature()


### Example

```typescript
import {
    AccountAPIApi,
    Configuration
} from 'js-metacopier-api';

const configuration = new Configuration();
const apiInstance = new AccountAPIApi(configuration);

let accountId: string; // (default to undefined)
let featureId: string; // (default to undefined)

const { status, data } = await apiInstance.getAccountFeature(
    accountId,
    featureId
);
```

### Parameters

|Name | Type | Description  | Notes|
|------------- | ------------- | ------------- | -------------|
| **accountId** | [**string**] |  | defaults to undefined|
| **featureId** | [**string**] |  | defaults to undefined|


### Return type

**FeatureDTO**

### Authorization

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

### HTTP request headers

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


### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
|**200** | OK |  -  |

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **getAccountFeatures**
> Array<FeatureDTO> getAccountFeatures()


### Example

```typescript
import {
    AccountAPIApi,
    Configuration
} from 'js-metacopier-api';

const configuration = new Configuration();
const apiInstance = new AccountAPIApi(configuration);

let accountId: string; // (default to undefined)

const { status, data } = await apiInstance.getAccountFeatures(
    accountId
);
```

### Parameters

|Name | Type | Description  | Notes|
|------------- | ------------- | ------------- | -------------|
| **accountId** | [**string**] |  | defaults to undefined|


### Return type

**Array<FeatureDTO>**

### Authorization

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

### HTTP request headers

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


### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
|**200** | OK |  -  |

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **getAccountLogs**
> Array<LogDTO> getAccountLogs()


### Example

```typescript
import {
    AccountAPIApi,
    Configuration
} from 'js-metacopier-api';

const configuration = new Configuration();
const apiInstance = new AccountAPIApi(configuration);

let accountId: string; // (default to undefined)
let limit: number; //Get the last logs: e.g. 100 means the last 100 logs (optional) (default to undefined)
let offset: number; //You can set an offset. Offset 100 means 101-200 (optional) (default to undefined)
let start: string; //ISO 8601 (optional) (default to undefined)
let stop: string; //ISO 8601 (optional) (default to undefined)
let logTypeId: number; //Filter logs by log level type ID. If you choose 3 = Info, then all logs with a lower level are returned. The levels are: 1 = Error, 2 = Warning, 3 = Info. (optional) (default to undefined)

const { status, data } = await apiInstance.getAccountLogs(
    accountId,
    limit,
    offset,
    start,
    stop,
    logTypeId
);
```

### Parameters

|Name | Type | Description  | Notes|
|------------- | ------------- | ------------- | -------------|
| **accountId** | [**string**] |  | defaults to undefined|
| **limit** | [**number**] | Get the last logs: e.g. 100 means the last 100 logs | (optional) defaults to undefined|
| **offset** | [**number**] | You can set an offset. Offset 100 means 101-200 | (optional) defaults to undefined|
| **start** | [**string**] | ISO 8601 | (optional) defaults to undefined|
| **stop** | [**string**] | ISO 8601 | (optional) defaults to undefined|
| **logTypeId** | [**number**] | Filter logs by log level type ID. If you choose 3 &#x3D; Info, then all logs with a lower level are returned. The levels are: 1 &#x3D; Error, 2 &#x3D; Warning, 3 &#x3D; Info. | (optional) defaults to undefined|


### Return type

**Array<LogDTO>**

### Authorization

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

### HTTP request headers

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


### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
|**200** | OK |  -  |

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **getAccountPerformanceMetrics**
> PerformanceMetricsDTO getAccountPerformanceMetrics()


### Example

```typescript
import {
    AccountAPIApi,
    Configuration
} from 'js-metacopier-api';

const configuration = new Configuration();
const apiInstance = new AccountAPIApi(configuration);

let accountId: string; // (default to undefined)
let startDate: string; //Start date filter (ISO-8601 format, e.g. 2024-01-01T00:00:00Z) (optional) (default to undefined)
let endDate: string; //End date filter (ISO-8601 format, e.g. 2024-12-31T23:59:59Z) (optional) (default to undefined)

const { status, data } = await apiInstance.getAccountPerformanceMetrics(
    accountId,
    startDate,
    endDate
);
```

### Parameters

|Name | Type | Description  | Notes|
|------------- | ------------- | ------------- | -------------|
| **accountId** | [**string**] |  | defaults to undefined|
| **startDate** | [**string**] | Start date filter (ISO-8601 format, e.g. 2024-01-01T00:00:00Z) | (optional) defaults to undefined|
| **endDate** | [**string**] | End date filter (ISO-8601 format, e.g. 2024-12-31T23:59:59Z) | (optional) defaults to undefined|


### Return type

**PerformanceMetricsDTO**

### Authorization

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

### HTTP request headers

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


### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
|**200** | OK |  -  |

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **getAccountSymbolMappings**
> Array<SymbolMappingDTO> getAccountSymbolMappings(requestSymbolMappingsDTO)


### Example

```typescript
import {
    AccountAPIApi,
    Configuration,
    RequestSymbolMappingsDTO
} from 'js-metacopier-api';

const configuration = new Configuration();
const apiInstance = new AccountAPIApi(configuration);

let accountId: string; // (default to undefined)
let requestSymbolMappingsDTO: RequestSymbolMappingsDTO; //

const { status, data } = await apiInstance.getAccountSymbolMappings(
    accountId,
    requestSymbolMappingsDTO
);
```

### Parameters

|Name | Type | Description  | Notes|
|------------- | ------------- | ------------- | -------------|
| **requestSymbolMappingsDTO** | **RequestSymbolMappingsDTO**|  | |
| **accountId** | [**string**] |  | defaults to undefined|


### Return type

**Array<SymbolMappingDTO>**

### Authorization

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

### HTTP request headers

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


### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
|**200** | OK |  -  |

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **getAccounts**
> Array<AccountDTO> getAccounts()


### Example

```typescript
import {
    AccountAPIApi,
    Configuration
} from 'js-metacopier-api';

const configuration = new Configuration();
const apiInstance = new AccountAPIApi(configuration);

let accountTypeId: number; //Filter by account type ID (1=MT5, 2=MT4, 3=DXtrade, 4=cTrader, 5=TradeLocker, 6=MatchTrader, 7=Binance, 8=Bybit, 9=Bitget, 10=BloFin, 11=OKX, 12=TradeStation, 13=Tradovate, 14=Alpaca, 15=Gate.io, 16=Bitunix, 17=Hyperliquid) (optional) (default to undefined)
let loginServer: string; //Filter by login server (case-insensitive partial match anywhere in the server name, e.g., ICMarketsSC-MT5-4, dxtrade.instantfunding.io, live.ctraderapi.com:5035) (optional) (default to undefined)
let loginAccountNumber: string; //Filter by login account number (case-insensitive partial match anywhere in the account number) (optional) (default to undefined)
let alias: string; //Filter by account alias (case-insensitive partial match anywhere in the alias) (optional) (default to undefined)
let regionId: number; //Filter by region ID (1=New York, 2=London, 3=Singapore, 4=Berlin) (optional) (default to undefined)
let accountStatusId: number; //Filter by account status ID (1=New, 2=Active, 3=Stopped, 4=Deleted) (optional) (default to undefined)
let limit: number; //Maximum number of accounts to return (optional) (default to undefined)
let offset: number; //Number of accounts to skip for pagination (optional) (default to undefined)

const { status, data } = await apiInstance.getAccounts(
    accountTypeId,
    loginServer,
    loginAccountNumber,
    alias,
    regionId,
    accountStatusId,
    limit,
    offset
);
```

### Parameters

|Name | Type | Description  | Notes|
|------------- | ------------- | ------------- | -------------|
| **accountTypeId** | [**number**] | Filter by account type ID (1&#x3D;MT5, 2&#x3D;MT4, 3&#x3D;DXtrade, 4&#x3D;cTrader, 5&#x3D;TradeLocker, 6&#x3D;MatchTrader, 7&#x3D;Binance, 8&#x3D;Bybit, 9&#x3D;Bitget, 10&#x3D;BloFin, 11&#x3D;OKX, 12&#x3D;TradeStation, 13&#x3D;Tradovate, 14&#x3D;Alpaca, 15&#x3D;Gate.io, 16&#x3D;Bitunix, 17&#x3D;Hyperliquid) | (optional) defaults to undefined|
| **loginServer** | [**string**] | Filter by login server (case-insensitive partial match anywhere in the server name, e.g., ICMarketsSC-MT5-4, dxtrade.instantfunding.io, live.ctraderapi.com:5035) | (optional) defaults to undefined|
| **loginAccountNumber** | [**string**] | Filter by login account number (case-insensitive partial match anywhere in the account number) | (optional) defaults to undefined|
| **alias** | [**string**] | Filter by account alias (case-insensitive partial match anywhere in the alias) | (optional) defaults to undefined|
| **regionId** | [**number**] | Filter by region ID (1&#x3D;New York, 2&#x3D;London, 3&#x3D;Singapore, 4&#x3D;Berlin) | (optional) defaults to undefined|
| **accountStatusId** | [**number**] | Filter by account status ID (1&#x3D;New, 2&#x3D;Active, 3&#x3D;Stopped, 4&#x3D;Deleted) | (optional) defaults to undefined|
| **limit** | [**number**] | Maximum number of accounts to return | (optional) defaults to undefined|
| **offset** | [**number**] | Number of accounts to skip for pagination | (optional) defaults to undefined|


### Return type

**Array<AccountDTO>**

### Authorization

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

### HTTP request headers

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


### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
|**200** | OK |  -  |

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **getAllAsyncAccountCreationStatuses**
> Array<AsyncAccountCreationResponseDTO> getAllAsyncAccountCreationStatuses()

Returns all tracked asynchronous account creation requests and their current statuses. Statuses are retained for 1 hour after completion.

### Example

```typescript
import {
    AccountAPIApi,
    Configuration
} from 'js-metacopier-api';

const configuration = new Configuration();
const apiInstance = new AccountAPIApi(configuration);

const { status, data } = await apiInstance.getAllAsyncAccountCreationStatuses();
```

### Parameters
This endpoint does not have any parameters.


### Return type

**Array<AsyncAccountCreationResponseDTO>**

### Authorization

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

### HTTP request headers

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


### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
|**200** | OK |  -  |

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **getAsyncAccountCreationStatus**
> AsyncAccountCreationResponseDTO getAsyncAccountCreationStatus()

Returns the current status of an asynchronous account creation request. Status values: QUEUED (waiting to be processed), PROCESSING (currently being created), COMPLETED (success, includes the account), FAILED (includes error message). Statuses are retained for 1 hour after completion.

### Example

```typescript
import {
    AccountAPIApi,
    Configuration
} from 'js-metacopier-api';

const configuration = new Configuration();
const apiInstance = new AccountAPIApi(configuration);

let requestId: string; //The requestId returned by the async POST /accounts call (default to undefined)

const { status, data } = await apiInstance.getAsyncAccountCreationStatus(
    requestId
);
```

### Parameters

|Name | Type | Description  | Notes|
|------------- | ------------- | ------------- | -------------|
| **requestId** | [**string**] | The requestId returned by the async POST /accounts call | defaults to undefined|


### Return type

**AsyncAccountCreationResponseDTO**

### Authorization

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

### HTTP request headers

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


### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
|**200** | OK |  -  |

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **getCopier**
> CopierDTO getCopier()


### Example

```typescript
import {
    AccountAPIApi,
    Configuration
} from 'js-metacopier-api';

const configuration = new Configuration();
const apiInstance = new AccountAPIApi(configuration);

let accountId: string; // (default to undefined)
let copierId: string; // (default to undefined)

const { status, data } = await apiInstance.getCopier(
    accountId,
    copierId
);
```

### Parameters

|Name | Type | Description  | Notes|
|------------- | ------------- | ------------- | -------------|
| **accountId** | [**string**] |  | defaults to undefined|
| **copierId** | [**string**] |  | defaults to undefined|


### Return type

**CopierDTO**

### Authorization

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

### HTTP request headers

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


### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
|**200** | OK |  -  |

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **getCopierFeature**
> FeatureDTO getCopierFeature()


### Example

```typescript
import {
    AccountAPIApi,
    Configuration
} from 'js-metacopier-api';

const configuration = new Configuration();
const apiInstance = new AccountAPIApi(configuration);

let accountId: string; // (default to undefined)
let copierId: string; // (default to undefined)
let featureId: string; // (default to undefined)

const { status, data } = await apiInstance.getCopierFeature(
    accountId,
    copierId,
    featureId
);
```

### Parameters

|Name | Type | Description  | Notes|
|------------- | ------------- | ------------- | -------------|
| **accountId** | [**string**] |  | defaults to undefined|
| **copierId** | [**string**] |  | defaults to undefined|
| **featureId** | [**string**] |  | defaults to undefined|


### Return type

**FeatureDTO**

### Authorization

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

### HTTP request headers

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


### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
|**200** | OK |  -  |

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **getCopierFeatures**
> Array<FeatureDTO> getCopierFeatures()


### Example

```typescript
import {
    AccountAPIApi,
    Configuration
} from 'js-metacopier-api';

const configuration = new Configuration();
const apiInstance = new AccountAPIApi(configuration);

let accountId: string; // (default to undefined)
let copierId: string; // (default to undefined)

const { status, data } = await apiInstance.getCopierFeatures(
    accountId,
    copierId
);
```

### Parameters

|Name | Type | Description  | Notes|
|------------- | ------------- | ------------- | -------------|
| **accountId** | [**string**] |  | defaults to undefined|
| **copierId** | [**string**] |  | defaults to undefined|


### Return type

**Array<FeatureDTO>**

### Authorization

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

### HTTP request headers

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


### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
|**200** | OK |  -  |

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **getCopiers**
> Array<CopierDTO> getCopiers()


### Example

```typescript
import {
    AccountAPIApi,
    Configuration
} from 'js-metacopier-api';

const configuration = new Configuration();
const apiInstance = new AccountAPIApi(configuration);

let accountId: string; // (default to undefined)

const { status, data } = await apiInstance.getCopiers(
    accountId
);
```

### Parameters

|Name | Type | Description  | Notes|
|------------- | ------------- | ------------- | -------------|
| **accountId** | [**string**] |  | defaults to undefined|


### Return type

**Array<CopierDTO>**

### Authorization

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

### HTTP request headers

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


### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
|**200** | OK |  -  |

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **getRiskLimit**
> RiskLimitDTO getRiskLimit()


### Example

```typescript
import {
    AccountAPIApi,
    Configuration
} from 'js-metacopier-api';

const configuration = new Configuration();
const apiInstance = new AccountAPIApi(configuration);

let accountId: string; // (default to undefined)
let riskLimitId: string; // (default to undefined)

const { status, data } = await apiInstance.getRiskLimit(
    accountId,
    riskLimitId
);
```

### Parameters

|Name | Type | Description  | Notes|
|------------- | ------------- | ------------- | -------------|
| **accountId** | [**string**] |  | defaults to undefined|
| **riskLimitId** | [**string**] |  | defaults to undefined|


### Return type

**RiskLimitDTO**

### Authorization

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

### HTTP request headers

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


### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
|**200** | OK |  -  |

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **getRiskLimits**
> Array<RiskLimitDTO> getRiskLimits()


### Example

```typescript
import {
    AccountAPIApi,
    Configuration
} from 'js-metacopier-api';

const configuration = new Configuration();
const apiInstance = new AccountAPIApi(configuration);

let accountId: string; // (default to undefined)

const { status, data } = await apiInstance.getRiskLimits(
    accountId
);
```

### Parameters

|Name | Type | Description  | Notes|
|------------- | ------------- | ------------- | -------------|
| **accountId** | [**string**] |  | defaults to undefined|


### Return type

**Array<RiskLimitDTO>**

### Authorization

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

### HTTP request headers

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


### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
|**200** | OK |  -  |

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **getSignalFollowerFeature**
> FeatureDTO getSignalFollowerFeature()

Get a copier feature attached to a Signal Follower feature

### Example

```typescript
import {
    AccountAPIApi,
    Configuration
} from 'js-metacopier-api';

const configuration = new Configuration();
const apiInstance = new AccountAPIApi(configuration);

let accountId: string; // (default to undefined)
let signalFollowerId: string; // (default to undefined)
let featureId: string; // (default to undefined)

const { status, data } = await apiInstance.getSignalFollowerFeature(
    accountId,
    signalFollowerId,
    featureId
);
```

### Parameters

|Name | Type | Description  | Notes|
|------------- | ------------- | ------------- | -------------|
| **accountId** | [**string**] |  | defaults to undefined|
| **signalFollowerId** | [**string**] |  | defaults to undefined|
| **featureId** | [**string**] |  | defaults to undefined|


### Return type

**FeatureDTO**

### Authorization

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

### HTTP request headers

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


### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
|**200** | OK |  -  |

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **getSignalFollowerFeatures**
> Array<FeatureDTO> getSignalFollowerFeatures()

Get all copier features attached to a Signal Follower feature

### Example

```typescript
import {
    AccountAPIApi,
    Configuration
} from 'js-metacopier-api';

const configuration = new Configuration();
const apiInstance = new AccountAPIApi(configuration);

let accountId: string; // (default to undefined)
let signalFollowerId: string; // (default to undefined)

const { status, data } = await apiInstance.getSignalFollowerFeatures(
    accountId,
    signalFollowerId
);
```

### Parameters

|Name | Type | Description  | Notes|
|------------- | ------------- | ------------- | -------------|
| **accountId** | [**string**] |  | defaults to undefined|
| **signalFollowerId** | [**string**] |  | defaults to undefined|


### Return type

**Array<FeatureDTO>**

### Authorization

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

### HTTP request headers

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


### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
|**200** | OK |  -  |

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **getSlaveAccounts**
> Array<AccountDTO> getSlaveAccounts()


### Example

```typescript
import {
    AccountAPIApi,
    Configuration
} from 'js-metacopier-api';

const configuration = new Configuration();
const apiInstance = new AccountAPIApi(configuration);

let accountId: string; // (default to undefined)

const { status, data } = await apiInstance.getSlaveAccounts(
    accountId
);
```

### Parameters

|Name | Type | Description  | Notes|
|------------- | ------------- | ------------- | -------------|
| **accountId** | [**string**] |  | defaults to undefined|


### Return type

**Array<AccountDTO>**

### Authorization

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

### HTTP request headers

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


### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
|**200** | OK |  -  |

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **monitorOnlyAllCopiers**
> monitorOnlyAllCopiers()


### Example

```typescript
import {
    AccountAPIApi,
    Configuration
} from 'js-metacopier-api';

const configuration = new Configuration();
const apiInstance = new AccountAPIApi(configuration);

const { status, data } = await apiInstance.monitorOnlyAllCopiers();
```

### Parameters
This endpoint does not have any parameters.


### Return type

void (empty response body)

### Authorization

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

### HTTP request headers

 - **Content-Type**: Not defined
 - **Accept**: Not defined


### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
|**204** | No Content |  -  |

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **monitorOnlySlavesCopier**
> monitorOnlySlavesCopier()


### Example

```typescript
import {
    AccountAPIApi,
    Configuration
} from 'js-metacopier-api';

const configuration = new Configuration();
const apiInstance = new AccountAPIApi(configuration);

let accountId: string; // (default to undefined)

const { status, data } = await apiInstance.monitorOnlySlavesCopier(
    accountId
);
```

### Parameters

|Name | Type | Description  | Notes|
|------------- | ------------- | ------------- | -------------|
| **accountId** | [**string**] |  | defaults to undefined|


### Return type

void (empty response body)

### Authorization

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

### HTTP request headers

 - **Content-Type**: Not defined
 - **Accept**: Not defined


### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
|**204** | No Content |  -  |

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **resetMasaniello**
> resetMasaniello()

Resets the Masaniello money management series. If symbol is provided, only that symbol\'s series is reset. Otherwise, all symbol series are reset.

### Example

```typescript
import {
    AccountAPIApi,
    Configuration
} from 'js-metacopier-api';

const configuration = new Configuration();
const apiInstance = new AccountAPIApi(configuration);

let accountId: string; // (default to undefined)
let masanielloFeatureId: string; // (default to undefined)
let symbol: string; //Optional symbol to reset. If not provided, all symbols are reset. (optional) (default to undefined)

const { status, data } = await apiInstance.resetMasaniello(
    accountId,
    masanielloFeatureId,
    symbol
);
```

### Parameters

|Name | Type | Description  | Notes|
|------------- | ------------- | ------------- | -------------|
| **accountId** | [**string**] |  | defaults to undefined|
| **masanielloFeatureId** | [**string**] |  | defaults to undefined|
| **symbol** | [**string**] | Optional symbol to reset. If not provided, all symbols are reset. | (optional) defaults to undefined|


### Return type

void (empty response body)

### Authorization

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

### HTTP request headers

 - **Content-Type**: Not defined
 - **Accept**: Not defined


### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
|**200** | OK |  -  |

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **resetProfitTarget**
> resetProfitTarget()

If the profit target (e.g., daily) is hit, no trades will be copied for the remainder of the day. To resume trading on the same day, you can utilize this operation to unlock the profit target

### Example

```typescript
import {
    AccountAPIApi,
    Configuration
} from 'js-metacopier-api';

const configuration = new Configuration();
const apiInstance = new AccountAPIApi(configuration);

let accountId: string; // (default to undefined)
let profitTargetFeatureId: string; // (default to undefined)

const { status, data } = await apiInstance.resetProfitTarget(
    accountId,
    profitTargetFeatureId
);
```

### Parameters

|Name | Type | Description  | Notes|
|------------- | ------------- | ------------- | -------------|
| **accountId** | [**string**] |  | defaults to undefined|
| **profitTargetFeatureId** | [**string**] |  | defaults to undefined|


### Return type

void (empty response body)

### Authorization

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

### HTTP request headers

 - **Content-Type**: Not defined
 - **Accept**: Not defined


### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
|**200** | OK |  -  |

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **resetRiskLimit**
> resetRiskLimit()

If the risk limit (e.g., daily) is hit, no trades will be copied for the remainder of the day. To resume trading on the same day, you can utilize this operation to unlock the risk limit

### Example

```typescript
import {
    AccountAPIApi,
    Configuration
} from 'js-metacopier-api';

const configuration = new Configuration();
const apiInstance = new AccountAPIApi(configuration);

let accountId: string; // (default to undefined)
let riskLimitId: string; // (default to undefined)

const { status, data } = await apiInstance.resetRiskLimit(
    accountId,
    riskLimitId
);
```

### Parameters

|Name | Type | Description  | Notes|
|------------- | ------------- | ------------- | -------------|
| **accountId** | [**string**] |  | defaults to undefined|
| **riskLimitId** | [**string**] |  | defaults to undefined|


### Return type

void (empty response body)

### Authorization

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

### HTTP request headers

 - **Content-Type**: Not defined
 - **Accept**: Not defined


### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
|**200** | OK |  -  |

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **resyncCopier**
> resyncCopier()

Resynchronize with the master account. If a position was closed on the slave account but remains open on the master, this operation will reopen the position on the slave to match the master\'s state.

### Example

```typescript
import {
    AccountAPIApi,
    Configuration
} from 'js-metacopier-api';

const configuration = new Configuration();
const apiInstance = new AccountAPIApi(configuration);

let accountId: string; // (default to undefined)
let copierId: string; // (default to undefined)

const { status, data } = await apiInstance.resyncCopier(
    accountId,
    copierId
);
```

### Parameters

|Name | Type | Description  | Notes|
|------------- | ------------- | ------------- | -------------|
| **accountId** | [**string**] |  | defaults to undefined|
| **copierId** | [**string**] |  | defaults to undefined|


### Return type

void (empty response body)

### Authorization

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

### HTTP request headers

 - **Content-Type**: Not defined
 - **Accept**: Not defined


### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
|**204** | No Content |  -  |

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **startAccount**
> AccountDTO startAccount()


### Example

```typescript
import {
    AccountAPIApi,
    Configuration
} from 'js-metacopier-api';

const configuration = new Configuration();
const apiInstance = new AccountAPIApi(configuration);

let accountId: string; // (default to undefined)

const { status, data } = await apiInstance.startAccount(
    accountId
);
```

### Parameters

|Name | Type | Description  | Notes|
|------------- | ------------- | ------------- | -------------|
| **accountId** | [**string**] |  | defaults to undefined|


### Return type

**AccountDTO**

### Authorization

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

### HTTP request headers

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


### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
|**200** | OK |  -  |

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **stopAccount**
> AccountDTO stopAccount()


### Example

```typescript
import {
    AccountAPIApi,
    Configuration
} from 'js-metacopier-api';

const configuration = new Configuration();
const apiInstance = new AccountAPIApi(configuration);

let accountId: string; // (default to undefined)

const { status, data } = await apiInstance.stopAccount(
    accountId
);
```

### Parameters

|Name | Type | Description  | Notes|
|------------- | ------------- | ------------- | -------------|
| **accountId** | [**string**] |  | defaults to undefined|


### Return type

**AccountDTO**

### Authorization

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

### HTTP request headers

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


### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
|**200** | OK |  -  |

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **updateAccount**
> AccountDTO updateAccount(accountDTO)


### Example

```typescript
import {
    AccountAPIApi,
    Configuration,
    AccountDTO
} from 'js-metacopier-api';

const configuration = new Configuration();
const apiInstance = new AccountAPIApi(configuration);

let accountId: string; // (default to undefined)
let accountDTO: AccountDTO; //

const { status, data } = await apiInstance.updateAccount(
    accountId,
    accountDTO
);
```

### Parameters

|Name | Type | Description  | Notes|
|------------- | ------------- | ------------- | -------------|
| **accountDTO** | **AccountDTO**|  | |
| **accountId** | [**string**] |  | defaults to undefined|


### Return type

**AccountDTO**

### Authorization

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

### HTTP request headers

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


### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
|**200** | OK |  -  |

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **updateAccountFeature**
> FeatureDTO updateAccountFeature(featureDTO)


### Example

```typescript
import {
    AccountAPIApi,
    Configuration,
    FeatureDTO
} from 'js-metacopier-api';

const configuration = new Configuration();
const apiInstance = new AccountAPIApi(configuration);

let accountId: string; // (default to undefined)
let featureId: string; // (default to undefined)
let featureDTO: FeatureDTO; //

const { status, data } = await apiInstance.updateAccountFeature(
    accountId,
    featureId,
    featureDTO
);
```

### Parameters

|Name | Type | Description  | Notes|
|------------- | ------------- | ------------- | -------------|
| **featureDTO** | **FeatureDTO**|  | |
| **accountId** | [**string**] |  | defaults to undefined|
| **featureId** | [**string**] |  | defaults to undefined|


### Return type

**FeatureDTO**

### Authorization

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

### HTTP request headers

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


### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
|**200** | OK |  -  |

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **updateCopier**
> CopierDTO updateCopier(copierDTO)


### Example

```typescript
import {
    AccountAPIApi,
    Configuration,
    CopierDTO
} from 'js-metacopier-api';

const configuration = new Configuration();
const apiInstance = new AccountAPIApi(configuration);

let accountId: string; // (default to undefined)
let copierId: string; // (default to undefined)
let copierDTO: CopierDTO; //

const { status, data } = await apiInstance.updateCopier(
    accountId,
    copierId,
    copierDTO
);
```

### Parameters

|Name | Type | Description  | Notes|
|------------- | ------------- | ------------- | -------------|
| **copierDTO** | **CopierDTO**|  | |
| **accountId** | [**string**] |  | defaults to undefined|
| **copierId** | [**string**] |  | defaults to undefined|


### Return type

**CopierDTO**

### Authorization

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

### HTTP request headers

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


### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
|**200** | OK |  -  |

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **updateCopierFeature**
> FeatureDTO updateCopierFeature(featureDTO)


### Example

```typescript
import {
    AccountAPIApi,
    Configuration,
    FeatureDTO
} from 'js-metacopier-api';

const configuration = new Configuration();
const apiInstance = new AccountAPIApi(configuration);

let accountId: string; // (default to undefined)
let copierId: string; // (default to undefined)
let featureId: string; // (default to undefined)
let featureDTO: FeatureDTO; //

const { status, data } = await apiInstance.updateCopierFeature(
    accountId,
    copierId,
    featureId,
    featureDTO
);
```

### Parameters

|Name | Type | Description  | Notes|
|------------- | ------------- | ------------- | -------------|
| **featureDTO** | **FeatureDTO**|  | |
| **accountId** | [**string**] |  | defaults to undefined|
| **copierId** | [**string**] |  | defaults to undefined|
| **featureId** | [**string**] |  | defaults to undefined|


### Return type

**FeatureDTO**

### Authorization

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

### HTTP request headers

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


### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
|**200** | OK |  -  |

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **updateRiskLimit**
> RiskLimitDTO updateRiskLimit(riskLimitDTO)


### Example

```typescript
import {
    AccountAPIApi,
    Configuration,
    RiskLimitDTO
} from 'js-metacopier-api';

const configuration = new Configuration();
const apiInstance = new AccountAPIApi(configuration);

let accountId: string; // (default to undefined)
let riskLimitId: string; // (default to undefined)
let riskLimitDTO: RiskLimitDTO; //

const { status, data } = await apiInstance.updateRiskLimit(
    accountId,
    riskLimitId,
    riskLimitDTO
);
```

### Parameters

|Name | Type | Description  | Notes|
|------------- | ------------- | ------------- | -------------|
| **riskLimitDTO** | **RiskLimitDTO**|  | |
| **accountId** | [**string**] |  | defaults to undefined|
| **riskLimitId** | [**string**] |  | defaults to undefined|


### Return type

**RiskLimitDTO**

### Authorization

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

### HTTP request headers

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


### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
|**200** | OK |  -  |

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **updateSignalFollowerFeature**
> FeatureDTO updateSignalFollowerFeature(featureDTO)

Update a copier feature attached to a Signal Follower feature

### Example

```typescript
import {
    AccountAPIApi,
    Configuration,
    FeatureDTO
} from 'js-metacopier-api';

const configuration = new Configuration();
const apiInstance = new AccountAPIApi(configuration);

let accountId: string; // (default to undefined)
let signalFollowerId: string; // (default to undefined)
let featureId: string; // (default to undefined)
let featureDTO: FeatureDTO; //

const { status, data } = await apiInstance.updateSignalFollowerFeature(
    accountId,
    signalFollowerId,
    featureId,
    featureDTO
);
```

### Parameters

|Name | Type | Description  | Notes|
|------------- | ------------- | ------------- | -------------|
| **featureDTO** | **FeatureDTO**|  | |
| **accountId** | [**string**] |  | defaults to undefined|
| **signalFollowerId** | [**string**] |  | defaults to undefined|
| **featureId** | [**string**] |  | defaults to undefined|


### Return type

**FeatureDTO**

### Authorization

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

### HTTP request headers

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


### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
|**200** | OK |  -  |

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

