Delete reported depth
curl --request DELETE \
--url https://api.glassmarkets.io/v2/organizations/reported-metrics/depth/ \
--header 'Authorization: <api-key>'import requests
url = "https://api.glassmarkets.io/v2/organizations/reported-metrics/depth/"
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/reported-metrics/depth/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"message": "<string>"
}Reported metrics
Delete reported depth
Deletes depth your organization reported at the bps levels in the range. Needs the market-maker role on every asset in assets. time_start must be within the last two days.
Delete reported depth
curl --request DELETE \
--url https://api.glassmarkets.io/v2/organizations/reported-metrics/depth/ \
--header 'Authorization: <api-key>'import requests
url = "https://api.glassmarkets.io/v2/organizations/reported-metrics/depth/"
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/reported-metrics/depth/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"message": "<string>"
}Authorizations
Token-based authentication with required prefix "Token ". Example: "Token 9944b09199c62bcf9418ad846dd0e4bbdfc6ee4b"
Query Parameters
Comma seperated list of assets <asset>,<asset>.
Maximum array length:
100Maximum array length:
25Interval of the reported metric to delete. Defaults to 1d.
1d- Daily data.1h- Hourly data.5m- 5-minute data.
Available options:
1d, 1h, 5m Minimum string length:
1Comma seperated list of organization slugs <slug>,<slug>.Available organizations are returned in the /v1/organizations endpoint.
Maximum array length:
100Response
200 - application/json

