Help Center/ GaussDB/ API Reference/ APIs (Recommended)/ Quota Management/ Modifying Enterprise Project Quotas
Updated on 2026-07-16 GMT+08:00

Modifying Enterprise Project Quotas

Function

This API is used to modify enterprise project quotas. Before calling this API:

Debugging

You can debug this API in API Explorer.

URI

PUT /v3/{project_id}/enterprise-projects/quotas

Table 1 Parameter description

Parameter

Mandatory

Type

Description

project_id

Yes

String

Definition

Project ID of a tenant in a region.

To obtain the value, see Obtaining a Project ID.

Constraints

N/A

Range

The value can contain 32 characters. Only letters and digits are allowed.

Default Value

N/A

Request Parameters

Table 2 Request header parameters

Parameter

Mandatory

Type

Description

X-Auth-Token

Yes

String

Definition

User token.

You can obtain the token by calling the IAM API used to obtain a user token.

After a response is returned, the value of X-Subject-Token in the response header is the token.

Constraints

N/A

Range

N/A

Default Value

N/A

X-Language

No

String

Definition

Language.

Constraints

N/A

Range

  • zh-cn: Chinese
  • en-us: English

Default Value

en-us

Table 3 Parameter description

Parameter

Mandatory

Type

Description

eps_quotas

Yes

Array of objects

Definition

Enterprise quotas to be modified.

For details, see Table 4.

Constraints

N/A

Table 4 EpsQuotasOption parameter description

Parameter

Mandatory

Type

Description

enterprise_projects_id

Yes

String

Definition

Enterprise project ID. To obtain the value, see Querying Enterprise Projects.

Constraints

N/A

Range

N/A

Default Value

N/A

instance_quota

No

Integer

Definition

Instance quota.

Constraints

N/A

Range

number_of_created_instances–100,000

Default Value

N/A

vcpus_quota

No

Integer

Definition

vCPU quota, in cores.

Constraints

N/A

Range

vCPUs_in_use–2,147,483,646

Default Value

N/A

ram_quota

No

Integer

Definition

Memory quota, in GB.

Constraints

N/A

Range

memory_in_use–2,147,483,646

Default Value

N/A

volume_quota

No

Integer

Definition

Storage quota, in GB.

Constraints

N/A

Range

storage_in_use–2,147,483,646

Default Value

N/A

Response Parameters

None

Example Request

Configuring quotas for an enterprise project (1,000 instances, 100,000 vCPUs, 200,000 GB of memory, and 1,000,000 GB of storage)
PUT https://gaussdb-opengauss.ap-southeast-1.myhuaweicloud.com/v3/0483b6b16e954cb88930a360d2c4e663/enterprise-projects/quotas
{
    "eps_quotas": [
        {
            "enterprise_projects_id": "0",
            "instance_quota": 1000,
            "vcpus_quota": 100000,
            "ram_quota": 200000,
            "volume_quota": 1000000
        }
    ]
}

Example Response

None

Status Codes

Error Codes

For details, see Error Codes.