Remove account#
About#
Deletes account configuration
DELETE /users/current/configuration/accounts/:accountId
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 |
Response#
Responses:
- 204 - Account deleted successfully.
- 401 - Authorization failed. Response schema: Error
- 404 - Account not found. Response schema: Error
Examples#
Example request:
curl -X DELETE --header 'Accept: application/json' --header 'auth-token: token' 'https://trading-api-v1.agiliumtrade.agiliumtrade.ai/users/current/configuration/accounts/865d3a4d-3803-486d-bdf3-a85679d9fad2'