All Products
Search
Document Center

ApsaraMQ for RocketMQ:OpenOnsService

Last Updated:Jun 26, 2026

Invokes the OpenOnsService operation to activate the ApsaraMQ for RocketMQ service.

Operation description

Important OpenAPI operations provided by Alibaba Cloud are management APIs used to manage and query Alibaba Cloud service resources. Integrate them only in management systems. Do not rely on OpenAPI operations in core data links for message sending and receiving. Otherwise, risks may occur.

This operation is used when you use ApsaraMQ for RocketMQ for the first time. You can use ApsaraMQ for RocketMQ only after you activate the service.

Currently, you can activate the ApsaraMQ for RocketMQ service only in the China (Hangzhou) region. No billing fees are incurred for activating the service.

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

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request parameters

Parameter

Type

Required

Description

Example

No parameters required.

Response elements

Element

Type

Description

Example

object

RequestId

string

The common parameter. Each request has a unique ID, which is active for troubleshooting.

8C5B4603-8977-4513-AB60-9C3E2F88****

OrderId

string

The order ID.

2068689****0272

Examples

Success response

JSON format

{
  "RequestId": "8C5B4603-8977-4513-AB60-9C3E2F88****",
  "OrderId": "2068689****0272"
}

Error codes

HTTP status code

Error code

Error message

Description

400 OrderOpend 您已开通,请前往控制台使用。
400 PermissionDenied 当前子账号无权限,请为子账号授权。
400 PriceWanHuaTongSys 询价调用万花筒错误。

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.