Modifying Enterprise Project Quotas

Function

This API is used to modify enterprise project quotas.

URI

PUT https://{Endpoint}/v3/{project_id}/enterprise-projects/quotas

Table 1 URI parameter

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

Content-Type

Yes

String

MIME type of the request body. application/json is recommended.

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 Requests

Example Responses

None

Status Codes

See Status Codes.

Error Codes

See Error Codes.