Skip to main content
DELETE
/
v1
/
config
/
watchlist
/
{watchlist_id}
Java (SDK)
package hello.world;

import java.lang.Exception;
import org.openapis.openapi.AriesJava;
import org.openapis.openapi.models.operations.WatchlistDeleteResponse;

public class Application {

    public static void main(String[] args) throws Exception {

        AriesJava sdk = AriesJava.builder()
                .bearerAuth(System.getenv().getOrDefault("BEARER_AUTH", ""))
            .build();

        WatchlistDeleteResponse res = sdk.watchlist().delete()
                .watchlistId(1L)
                .call();

        if (res.watchlist().isPresent()) {
            // handle response
        }
    }
}
{
  "id": 1,
  "name": "Tech Stocks",
  "symbols": [
    "AAPL",
    "GOOGL",
    "MSFT",
    "AMZN"
  ]
}

Documentation Index

Fetch the complete documentation index at: https://finance.dev/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

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

Path Parameters

watchlist_id
integer<int64>
required

The ID of the watchlist to delete

Response

Watchlist deleted successfully

id
integer<int64>

Watchlist ID

name
string

Watchlist name

symbols
string[]

Array of stock symbols