Get Account Usage & Plan State
curl --request GET \
--url https://api.zerodrive.dev/v1/me/usage \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.zerodrive.dev/v1/me/usage', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.zerodrive.dev/v1/me/usage"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){}Get Account Usage & Plan State
Return entitlement state (active, trialing, past_due, read_only, none), plan name, used bytes, and quota bytes (device token required).
GET
https://api.zerodrive.dev
/
v1
/
me
/
usage
Get Account Usage & Plan State
curl --request GET \
--url https://api.zerodrive.dev/v1/me/usage \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.zerodrive.dev/v1/me/usage', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.zerodrive.dev/v1/me/usage"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){}
