watchlists
Delete Watchlist
Delete a watchlist.
Permanently removes the watchlist and all its symbol associations. Returns a confirmation object. Raises 404 if the watchlist does not exist.
curl example:
curl -X DELETE https://api.halalterminal.com/api/watchlists/wl_abc123 \
-H "X-API-Key: sk_live_abc123def456"
Python example:
import requests
resp = requests.delete(
"https://api.halalterminal.com/api/watchlists/wl_abc123",
headers={"X-API-Key": "sk_live_abc123def456"},
)
assert resp.json()["deleted"] is True
delete/api/watchlists/{watchlist_id}
Request
- Base URL: https://api.halalterminal.com
- URL: https://api.halalterminal.com/api/watchlists/{watchlist_id}
- Auth: API key in header X-API-Key
Path parameters
watchlist_idstring required
Watchlist ID.
Response
Confirmation that the watchlist was deleted
unknown required
Changes
No recorded changes to this operation across all 1 revision of this API.