Delete Market Watch¶
Removes a symbol from the user's market watch list.
DELETE
https://{some_domain}/market/watch
Authorization¶
This endpoint requires an authenticated session with one of the following access types:
SESSION_USERSESSION_MANAGERSESSION_ADMINSESSION_DEALER
Request¶
Content-Type: application/json
Body Parameters¶
| Field | Type | Required | Description |
|---|---|---|---|
login |
int | Yes | User account login ID |
symbol |
string | Yes | Trading symbol to remove (for example, EURUSD) |
Request Example¶
{
"login": 100001,
"symbol": "EURUSD"
}
Response¶
Success (200)¶
{
"data": "OK"
}
Error Responses¶
| HTTP | error |
Description |
|---|---|---|
| 400 | INVALID_DATA |
Request validation failed (login or symbol missing/invalid) |
| 500 | INVALID_ADD_SYMBOL_TO_MARKET_WATCH |
Operation failed (message contains internal details) |
Error Example¶
{
"error": "INVALID_ADD_SYMBOL_TO_MARKET_WATCH",
"message": "<formatted internal error>"
}
Notes¶
- Endpoint is internally handled by command
DelMarketWatch. - Route pattern supports optional trailing slash:
DELETE /market/watch/?. - The server currently uses error code
INVALID_ADD_SYMBOL_TO_MARKET_WATCHfor delete failures as well.