All Products
Search
Document Center

Quota Center:CreateQuotaApplicationsForTemplate

Last Updated:Oct 26, 2026

Creates batch quota increase applications for members in a resource folder. When you add a quota item to a quota template, only new members in the resource folder autocommit quota increase applications, and existing members remain unchanged. To increase quotas for existing members by using a quota template, you can select the quota template to commit batch quota increase applications for multiple members in the resource folder. Only the administrator account of the resource folder can create batch quota applications.

Operation description

Limits

A single application can include a maximum of 10 quota items.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

Action

Access level

Resource type

Condition key

Dependent action

quotas:CreateQuotaApplicationsForTemplate

create

*All Resource

*

None None

Request parameters

Parameter

Type

Required

Description

Example

QuotaCategory

string

Yes

The quota type. Valid values:

  • CommonQuota: general quota.

  • FlowControl: API rate limit.

  • WhiteListLabel: privilege.

CommonQuota

ProductCode

string

Yes

The abbreviated name of the cloud service.

Note

For more information about how to obtain the abbreviated name of a cloud service, see ProductCode in ListProducts.

ecs-spec

QuotaActionCode

string

Yes

The quota ID.

Note

For more information about how to obtain the quota ID of a cloud service, see QuotaActionCode in ListProductQuotas.

ecs.g5.2xlarge

Dimensions

array<object>

No

The quota dimensions.

object

No

The quota dimensions.

Key

string

No

The key of the quota dimension.

Note
  • The value range of N depends on the number of dimensions supported by the cloud service.

  • When ProductCode is set to ecs, ecs-spec, actiontrail, or ess, you must specify both the key and the value of the quota dimension.

regionId

Value

string

No

The value of the quota dimension.

Note
  • The value range of N depends on the number of dimensions supported by the cloud service.

  • When ProductCode is set to ecs, ecs-spec, actiontrail, or ess, you must specify both the key and the value of the quota dimension.

cn-hangzhou

DesireValue

number

Yes

The requested quota value.

Note
  • Set the requested quota value based on the TotalUsage (quota usage) and ApplicableRange (applicable range for quota application) of the target quota in ListProductQuotas.

  • Quota applications are reviewed and approved by the technical support team of each cloud service. To increase the approval rate, specify a reasonable requested value and provide a detailed reason when you submit a quota application.

12

Reason

string

Yes

The reason for the quota application.

Note

Quota applications are reviewed and approved by the technical support team of each cloud service. To increase the approval rate, specify a reasonable requested value and provide a detailed reason when you submit a quota application.

Scale Out

NoticeType

integer

No

Specifies whether to send notifications for quota application results. Valid values:

  • 0 (default): no.

  • 3: yes.

0

EnvLanguage

string

No

The language of the notification for the quota application result. Valid values:

  • zh (default): Chinese.

  • en: English.

zh

EffectiveTime

string

No

The UTC time when the quota takes effect. This parameter applies only to privileges (WhiteListLabel).

Note

If you do not specify an effective period for the current account, the commit time is used by default.

2021-01-19T09:25:56Z

ExpireTime

string

No

The UTC time when the quota expires. This parameter applies only to privileges (WhiteListLabel).

Note

If you do not specify an expiration time for the current account, the expiration time is set to 99 years after the effective period of the current quota.

2021-01-20T09:25:56Z

AliyunUids

array

Yes

The list of Alibaba Cloud accounts that belong to the resource directory members for which you want to apply for quotas.

Note

You can apply for quota increases for a maximum of 50 members at a time. For more information about the members of a resource directory, see ListAccounts.

string

No

The Alibaba Cloud account that belongs to the resource directory member for which you want to apply for a quota.

135048337611****

Response elements

Element

Type

Description

Example

object

The result returned after the application is submitted.

AliyunUids

array

The list of Alibaba Cloud accounts that belong to the resource directory members for which quotas are applied.

string

The Alibaba Cloud account that belongs to the resource directory member for which you want to apply for a quota.

135048337611****

BatchQuotaApplicationId

string

The batch ID of the quota application.

d314d6ae-867d-484c-9009-3d421a80****

FailResults

array<object>

The list of Alibaba Cloud accounts that belong to the resource directory members for which quota applications failed and the reasons for the failures.

object

The list of Alibaba Cloud accounts that belong to the resource directory members for which quota applications failed and the reasons for the failures.

AliyunUid

string

The Alibaba Cloud account that belongs to the resource directory member for which the quota application failed.

135048337611****

Reason

string

The reason for the failure.

The quota adjustment application is being processed. Please try again later.

RequestId

string

The request ID.

8FF8CAF0-29D9-4F11-B6A4-FD2CBCA016D3

Examples

Success response

JSON format

{
  "AliyunUids": [
    "135048337611****"
  ],
  "BatchQuotaApplicationId": "d314d6ae-867d-484c-9009-3d421a80****",
  "FailResults": [
    {
      "AliyunUid": "135048337611****",
      "Reason": "The quota adjustment application is being processed. Please try again later."
    }
  ],
  "RequestId": "8FF8CAF0-29D9-4F11-B6A4-FD2CBCA016D3"
}

Error codes

HTTP status code

Error code

Error message

Description

400 QUOTA.APPLICATION.TIME.ERROE ExpireTime cannot be earlier than the current time or EffectiveTime. ExpireTime cannot be earlier than the current time or EffectiveTime.
400 TEMPLATE.NOT.RD.MA The requested account is not the MA master account of RD and does not have permission to operate quota templates. The current account is not the management account of the resource directory and does not have the permissions to manage the quota template.
400 QUOTA.APPLICATION.PROCESS The quota adjustment application is being processed. Please try again later. The quota application is being processed. You cannot submit an application at the time being.

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.