Skip to main content
GET
/
v1
/
regions
/
global
/
projects
/
quotas
Get project quotas
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"
    }
  ]
}

Query Parameters

projectId
string

Project identifier (defaults to current project from auth context)

Response

200 - application/json

Project quotas

success
enum<boolean>
Available options:
true
data
object[]