https://api.snaptrade.com/api/v1/snapTrade/tradeDetection/subscriptions/cancel
Cancels a Trade Detection subscription for a connected brokerage account. This endpoint requires partner signature authentication only and does not require userId or userSecret.
userId
userSecret
account_id
string (format: uuid)
required
Unique identifier for the connected brokerage account. This is the UUID used to reference the account in SnapTrade.
1import { Snaptrade } from "snaptrade-typescript-sdk";2 3const snaptrade = new Snaptrade({4 clientId: "PARTNER_CLIENT_ID",5 consumerKey: "CONSUMER_KEY",6});7 8const response =9 await snaptrade.experimentalEndpoints.cancelSubscription(10 {11 account_id:12 "917c8734-8470-4a3e-a18f-57c3f2ee6631",13 },14 );15console.log(response.data);
object
success
boolean
1{2 "success": true3}