All Products
Search
Document Center

ApsaraMQ for RocketMQ:OpenOnsService

Last Updated:Dec 29, 2025

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

Operation description

Important Alibaba Cloud OpenAPI is a set of management APIs used to manage and query Alibaba Cloud service resources. Integrate these APIs only into management data links. Do not use OpenAPI for core data links that send and receive messages. This helps prevent potential threats to your data links.

Before you use ApsaraMQ for RocketMQ for the first time, you must call this operation to activate the service.

You can activate the ApsaraMQ for RocketMQ service only in the China (Hangzhou) region. No fees are charged for service activation.

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 ID of the request. This is a common parameter. Each request has a unique ID that you can use to troubleshoot issues.

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.