Skip to main content
DELETE
/
v1
/
watchlist
/
{watchlist_id}
Python (SDK)
from finance_dev import FinanceDev, models
import os


with FinanceDev(
    security=models.Security(
        client_id=os.getenv("FINANCEDEV_CLIENT_ID", ""),
        client_secret=os.getenv("FINANCEDEV_CLIENT_SECRET", ""),
    ),
) as fd_client:

    res = fd_client.watchlist.delete_watchlist_by_id(watchlist_id=355756)

    # Handle response
    print(res)
{
  "error": "<string>",
  "codes": [
    {
      "code": "<string>",
      "description": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

watchlist_id
string
required

The unique identifier of the watchlist to delete

Response

Watchlist deleted successfully