Delete a target
curl --request DELETE \
--url https://api.glassmarkets.io/v2/organizations/targets/{id}/ \
--header 'Authorization: <api-key>'import requests
url = "https://api.glassmarkets.io/v2/organizations/targets/{id}/"
headers = {"Authorization": "<api-key>"}
response = requests.delete(url, headers=headers)
print(response.text)const options = {method: 'DELETE', headers: {Authorization: '<api-key>'}};
fetch('https://api.glassmarkets.io/v2/organizations/targets/{id}/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"message": "<string>"
}Targets
Delete a target
Deletes one target. Members of an organization can manage its gb (global) targets on its assets. Only project owners of an asset, and staff, can manage mm (market-maker) targets on it. Returns 400 when you can’t change the target and 404 when it doesn’t exist.
Delete a target
curl --request DELETE \
--url https://api.glassmarkets.io/v2/organizations/targets/{id}/ \
--header 'Authorization: <api-key>'import requests
url = "https://api.glassmarkets.io/v2/organizations/targets/{id}/"
headers = {"Authorization": "<api-key>"}
response = requests.delete(url, headers=headers)
print(response.text)const options = {method: 'DELETE', headers: {Authorization: '<api-key>'}};
fetch('https://api.glassmarkets.io/v2/organizations/targets/{id}/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"message": "<string>"
}
