forked from docs/doc-exports
Reviewed-by: Gladkov, Maksim <mgladkov@noreply.gitea.eco.tsi-dev.otc-service.com> Reviewed-by: Belejkanic, Lukas <lukas.belejkanic@t-systems.com> Co-authored-by: weihongmin1 <weihongmin1@huawei.com> Co-committed-by: weihongmin1 <weihongmin1@huawei.com>
11 KiB
11 KiB
Querying Enterprise Project Quota
Function
This API is used to query the enterprise project quota.
URI
GET /v1.0/enterprise-projects/quotas
Request
- Parameter description
Table 1 Parameters in the request header Parameter
Mandatory
Type
Description
X-Auth-Token
Yes
String
Specifies the user token. EPS is a global service. When calling the IAM API to obtain a user token, set scope to domain. The value of X-Subject-Token in the response header is the user token.
- Example request
GET https://{EPS endpoint}/v1.0/enterprise-projects/quotas
Response
Status code: 200
- Parameter description
Table 2 Parameters in the response body Name
Type
Description
quotas
Dict<quotas>
Enterprise project quotas.
For details, see Table 3.
- quotas field data structure
Table 3 quotas field data structure description Name
Type
Description
resources
List<resource>
Specifies the resource quota of EPS.
For details, see Table 4.
- resource field data structure
- Example response
Status Codes
For details, see Status Code.
Error Codes
For details, see Error Codes.
Parent topic: Enterprise Project Management