Resynchronize#
About#
Resynchronizes an account according to the strategy provider. User must be an account owner in order to invoke this endpoint
POST /users/current/accounts/:accountId/resynchronize
For more information see Swagger documentation
Headers#
Name | Type | Required | Description |
---|---|---|---|
auth-token | string | Yes | authorization token. See Authentication & authorization |
Path parameters#
Name | Type | Required | Description |
---|---|---|---|
accountId | string | Yes | account id |
Query parameters#
Name | Type | Required | Description |
---|---|---|---|
strategyId | Array<string> | strategy ids to perform synchronization for |
Response#
Responses:
- 204 - Account synchronization performed successfully.
- 401 - Authorization failed. Response schema: Error
- 403 - User is not an account owner. Response schema: Error
Examples#
Example request:
curl -X POST --header 'Accept: application/json' --header 'auth-token: token' 'https://trading-api-v1.agiliumtrade.agiliumtrade.ai/users/current/accounts/2DLmSEibEc1UeNpTXGcoZ22FqhFiaiUpxykfTuX2VbLMDD0NCuBXUlH8Jye6wWSQ/resynchronize'