TypeScript
const options = {method: 'GET'}; fetch('https://api.example.com/v1/regions/global/projects/quotas', options) .then(res => res.json()) .then(res => console.log(res)) .catch(err => console.error(err));
{ "success": true, "data": [ { "id": "<string>", "resourceType": "<string>", "limit": 123, "used": 123, "unit": "<string>", "scope": "organization", "enforcementPolicy": "hard" } ] }
Get quota limits and usage for the current project
Project identifier (defaults to current project from auth context)
Project quotas
true
Show child attributes
Was this page helpful?