All Products
Search
Document Center

Cloud Enterprise Network:OpenTransitRouterService

Last Updated:Aug 07, 2025

Activates the transit router feature.

Operation description

You can call the OpenTransitRouterService operation to activate the transit router feature free of charge. After the OpenTransitRouterService operation succeeds, an order is automatically generated. You can use the returned order ID to query the order information in Alibaba Cloud User Center.

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 support 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

cen:OpenTransitRouterService

none

*All Resource

*

None None

Request parameters

Parameter

Type

Required

Description

Example

ClientToken

string

No

The client token that is used to ensure the idempotence of the request.

You can use the client to generate the value, but you must make sure that it is unique among different requests. The client token can contain only ASCII characters.

02fb3da4-130e-11e9-8e44-001****

Response parameters

Parameter

Type

Description

Example

object

The response.

OrderId

string

The ID of the order.

21370700730****

RequestId

string

The ID of the request.

866DEBE1-6411-51EC-80D8-975349B9FB4A

Examples

Success response

JSON format

{
  "OrderId": "21370700730****",
  "RequestId": "866DEBE1-6411-51EC-80D8-975349B9FB4A"
}

Error codes

HTTP status code

Error code

Error message

Description

400 Risk.RiskControlRejection 为保护您的账户安全,下单被中止,详情请联系客服。 The error message returned because the order is suspended due to security concerns. Contact customer service for details.
400 Order.Opened 您已开通本服务,请前往控制台使用。 The error message returned because the service has been activated. You can log on to the console to manage it.
400 OperationFailed.NoAvailablePaymentMethod No payment method is specified for your account. We recommend that you add a payment method. The error message returned because no payment method is specified for your account. Specify a payment method and try again.
400 OperationFailed.BasicInfoUncompleted Your information is incomplete. Complete your information before the operation. The error message returned because your basic information is incomplete. Complete your basic information and try again.
400 PayFor.CreditPayInsufficientBalance 额度不足,请联系您的渠道合作伙伴提升额度。 The error message returned because your Alibaba Cloud account does not have a sufficient balance. Contact your channel partner to top up your account balance.
400 NoPermission.AliyunServiceRoleForCEN No permission to open AliyunServiceRole for CEN. The error message returned because you do not have the required permissions.
400 OperationFailed.PurchaseQuantityLimit You have exceeded the maximum quantity you can purchase. The error message returned because the number of instances has reached the upper limit and you cannot purchase more.
400 OperationFailed.QuotaNotEnough The quota is not enough. The error message returned because the resource quota is exhausted and you cannot create more.
400 OperationFailed.ConcurrentOperation The operation failed caused by concurrent operation. The error message returned because the concurrent operations failed. Do not frequently perform this operation. Try again later.
400 OperationFailed.Risk 系统检测到您的支付方式存在风险,请通过邮件或站内信中的链接完成验证。验证完成后重新下单。
400 OperationFailed.UseStoredCardFailed Operation failed because use stored card failed. The error message returned because you failed to complete the payment with the specified stored-value card.
400 PayFor.AccountMoneyValidateError 账号可用金额不足. The error message returned because your Alibaba Cloud account does not have a sufficient balance.
400 EntityNotExist.Account The role not exists: AliyunServiceRoleForCEN. The error message returned because AliyunServiceRoleForCEN does not exist.
400 OperationFailed.InsufficientAvailableQuota Operation failed due to the account quota is insufficient. The available amount of the account is insufficient.
400 OperationFailed.NoRealNameAuthentication No real-name authentication was applied. No real-name authentication was performed.
400 OperationFailed.ContainsForbiddenLabel You cannot place the order because orders are prohibited by a label. You cannot place the order because orders are prohibited by a label.
400 InvalidParameter Invalid parameter. The error message returned because the parameter is set to an invalid value.
400 Unauthorized The AccessKeyId is unauthorized. The error message returned because you do not have the permissions to perform this operation.

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.