Preferences
Get monthly usage notification preferences for the current instance administrator.
Get monthly usage notification preferences for the current instance administrator. The request is scoped to preferences accessible to the authenticated caller.
GET
/
api
/
v1
/
preferences
/
quota-notifications
Get monthly usage notification preferences for the current instance administrator.
curl --request GET \
--url https://api.revoengine.com/api/v1/preferences/quota-notifications \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.revoengine.com/api/v1/preferences/quota-notifications', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.revoengine.com/api/v1/preferences/quota-notifications"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"thresholdEnabled": false,
"thresholdPercent": 80,
"monthlySummaryEnabled": false
}Response
⌘I
Get monthly usage notification preferences for the current instance administrator.
curl --request GET \
--url https://api.revoengine.com/api/v1/preferences/quota-notifications \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.revoengine.com/api/v1/preferences/quota-notifications', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.revoengine.com/api/v1/preferences/quota-notifications"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"thresholdEnabled": false,
"thresholdPercent": 80,
"monthlySummaryEnabled": false
}
