Delete Price Trigger
curl --request DELETE \
--url https://app.digitalsurge.com.au/api/private/broker/price-triggers/{id}/ \
--header 'Authorization: Bearer <token>'import requests
url = "https://app.digitalsurge.com.au/api/private/broker/price-triggers/{id}/"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text)const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.digitalsurge.com.au/api/private/broker/price-triggers/{id}/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));Private
Delete Price Trigger
Price alerts that watch an asset and optionally place a trade when the price is hit.
Create an alert to be notified by email or SMS when an asset crosses a target price, and optionally have it place a market order automatically.
DELETE
/
api
/
private
/
broker
/
price-triggers
/
{id}
/
Delete Price Trigger
curl --request DELETE \
--url https://app.digitalsurge.com.au/api/private/broker/price-triggers/{id}/ \
--header 'Authorization: Bearer <token>'import requests
url = "https://app.digitalsurge.com.au/api/private/broker/price-triggers/{id}/"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text)const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.digitalsurge.com.au/api/private/broker/price-triggers/{id}/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));Authorizations
Personal API key, created in the Digital Surge app under Account Settings → API Keys. Send it with every request as Authorization: Bearer <your-api-key>.
Path Parameters
A unique integer value identifying this Price Trigger Rule.
Response
204
No response body