DeleteCopyTradeSubscription¶
Endpoint¶
DELETE /copytrade/subscription/{id}
Authorization¶
Requires SESSION_CUSTOMER.
Description¶
Deletes a subscription owned by the authenticated customer through its follower account. Deletion is rejected while a copied order for this subscription is unsettled. Deletion is rejected while a copied order for this subscription is unsettled.
Response¶
{
"deleted": true
}
Errors¶
| HTTP | Error | Description |
|---|---|---|
403 |
PERMISSION_DENIED |
Subscription is not owned through follower account |
409 |
RET_USR_HAS_TRADES |
A copied order is still unsettled; no records were changed |
404 |
RET_ERR_NOTFOUND |
Subscription was not found |