Skip to content

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/subscribers/:subscriberId/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
subscriberId string Yes subscriber id

Query parameters#

Name Type Required Description
strategyId Array<string> strategy ids to perform synchronization for
positionId Array<string> position 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
  • 404 - Subscriber not found. Response schema: Error

Examples#

Example request:

curl -X POST --header 'Accept: application/json' --header 'auth-token: token' 'https://copyfactory-application-history-master-v1.agiliumtrade.agiliumtrade.ai/users/current/subscribers/105646d8-8c97-4d4d-9b74-413bd66cd4ed/resynchronize'