---
title: "get specified namespace's resource quota and usage"
method: GET
path: "/kapis/resources.kubesphere.io/v1alpha2/namespaces/{namespace}/quotas"
tags: ["Namespaced Resources"]
deprecated: true
---

# get specified namespace's resource quota and usage

`GET /kapis/resources.kubesphere.io/v1alpha2/namespaces/{namespace}/quotas`

## Request

- The document declares no server URL.
- Auth: API key in header `Authorization`

> **Deprecated.**

## Path parameters

- `namespace` string, required

## Response `200`

ok

- ApiResourceQuota
  - `data` V1ResourceQuotaStatus, required: ResourceQuotaStatus defines the enforced hard limits and observed use.
    - `hard` object: Hard is the set of enforced hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/
    - `used` object: Used is the current observed total usage of the resource in the namespace.
  - `namespace` string, required: namespace

## Changes

- **2026-07-17** `0451c8cec9b1`: 4 info
  - api operation id `handleGetNamespaceQuotas` removed and replaced with `GetNamespaceQuotas`
  - api tag `Namespaced Resources` added
  - api tag `Namespace Resources` removed
  - endpoint deprecated
- **2020-04-16** `fd6c3de5ef07`: 1 info
  - api operation id `GetNamespaceQuotas` removed and replaced with `handleGetNamespaceQuotas`
- **2019-09-02** `6d6e730a2d14`: 3 info
  - api tag `Namespace Resources` added
  - api tag `Namespaced Resources` removed
  - endpoint reactivated

[Operation history](https://skmtc.dev/kubesphere/apis/ks-api/changes/kapis/resources.kubesphere.io/v1alpha2/namespaces/:namespace/quotas/get.md)

---

[API](https://skmtc.dev/kubesphere/apis/ks-api.md) - [All operations](https://skmtc.dev/kubesphere/apis/ks-api/llms.txt) - [OpenAPI document](https://skmtc.dev/kubesphere/apis/ks-api/revisions/0451c8cec9b1?raw)
