Updated on 2025-11-27 GMT+08:00

Modifying Enterprise Project Quotas

Function

This API is used to modify enterprise project quotas.

Authorization Information

Each account has permissions to call all APIs, but IAM users must have the required permissions specifically assigned.

  • If you are using role/policy-based authorization, see the required permissions in Permissions and Supported Actions.
  • If you are using identity policy-based authorization, the following identity policy-based permissions are required.

    Action

    Access Level

    Resource Type (*: required)

    Condition Key

    Alias

    Dependencies

    gaussdbfornosql::updateEpsQuota

    Write

    -

    -

    nosql:quota:modify

    -

URI

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

Table 1 Path parameters

Parameter

Mandatory

Type

Description

project_id

Yes

String

Project ID of a tenant in a region. To obtain this value, see Obtaining a Project ID.

Request Parameters

Table 2 Request header parameters

Parameter

Mandatory

Type

Description

X-Auth-Token

Yes

String

User token

Table 3 Request body parameters

Parameter

Mandatory

Type

Description

quotas

Yes

objects

Enterprise quotas to be modified. For details, see Table 4.

Table 4 NoSqlRequestEpsQuota

Parameter

Mandatory

Type

Description

enterprise_project_id

Yes

String

Enterprise project ID

quota

Yes

object

Enterprise quotas to be modified. For details, see Table 5.

NOTE:

At least one of parameters instance, vcpus, and ram must be transferred.

Table 5 NoSqlEpsQuotaRequestInfo

Parameter

Mandatory

Type

Description

instance

No

Integer

Instance quota

vcpus

No

Integer

vCPU quota

ram

No

Integer

RAM quota

Response Parameters

Status code: 204

No response parameters

Example Request

  • URI example
    PUT https://gaussdb-nosql.ap-southeast-1.myhuaweicloud.com/v3/054e292c9880d4992f02c0196d3ea468/enterprise-projects/quotas
  • Modifying quotas of an enterprise project (Set instance to 1000, vcpus to 500, and ram to 1024.)
    { 
      "quotas" : [ { 
        "enterprise_project_id" : "4d05638e-d4c6-477c-9b51-9620fa257a11", 
        "quota" : { 
          "instance" : 1000, 
          "vcpus" : 500, 
          "ram" : 1024 
        } 
      }, { 
          "enterprise_project_id" : "92450d0e-8c4b-48e1-9909-4d9d2f086ce4", 
          "quota" : { 
          "ram" : 512 
        } 
      } ] 
    }

Example Response

None

Status Codes

For details, see Status Codes.

Error Codes

For details, see Error Codes.