# Alibaba Cloud ApsaraMQ for RocketMQ 4.0 API

> Alibaba Cloud ApsaraMQ for RocketMQ 4.0 API on Apizie: 40 endpoints (Call the ListTagResources operation to query the tags attached to a resource, Queries the message accumulation for a specified group ID. The results include the number of stacked…, Queries the connections of clients in a specified group, Resets a consumer offset to a specified timestamp for a consumer group, …) returned as clean JSON through one API key. Send your own provider key in the x-upstream-key header. Call it over REST at https://apizie.tech/v1/cloud:aliyun-ons/{endpoint} or from Claude, ChatGPT and Cursor through the Apizie MCP server. Free plan: 1,000 requests a month.

- Project key: `cloud:aliyun-ons`
- Category: Cloud
- Status: byok
- Source: https://api.alibabacloud.com/product/ons
- Page: https://apizie.tech/api/cloud/aliyun-ons
- OpenAPI: https://apizie.tech/api/cloud/aliyun-ons/openapi.json

Alibaba Cloud OpenAPI for ApsaraMQ for RocketMQ 4.0 (ons, version 2019-02-14). Calls are signed with ACS3-HMAC-SHA256 using your AccessKey ID and secret.

## Endpoints

### Call the ListTagResources operation to query the tags attached to a resource
`POST https://apizie.tech/v1/cloud:aliyun-ons/list-tag-resources` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://ons.ap-southeast-1.aliyuncs.com |
| InstanceId | string | no | The ID of the instance where the tagged resource is located. If you query tags for a topic or group, you must specify this parameter |
| ResourceType | string | yes | The resource type. This is an enumeration. Valid values: INSTANCE TOPIC GROUP |
| NextToken | string | no | The token that is used to start the next page of a paginated query |
| Tag | string | no | A list of tags. The list can contain a maximum of 20 elements (JSON-encoded) |
| ResourceId | string | no | A list of resource IDs (JSON-encoded) |

### Queries the message accumulation for a specified group ID. The results include the number of stacked…
`POST https://apizie.tech/v1/cloud:aliyun-ons/ons-consumer-accumulate` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://ons.ap-southeast-1.aliyuncs.com |
| GroupId | string | yes | The ID of the Group that you want to query |
| Detail | string | no | Specifies whether to query the details of each topic. Valid values: true: Queries the details. The details are returned in the… |
| InstanceId | string | no | The instance ID |

### Queries the connections of clients in a specified group
`POST https://apizie.tech/v1/cloud:aliyun-ons/ons-consumer-get-connection` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://ons.ap-southeast-1.aliyuncs.com |
| GroupId | string | yes | The group ID to query |
| InstanceId | string | no | The ID of the instance to which the group belongs |

### Resets a consumer offset to a specified timestamp for a consumer group
`POST https://apizie.tech/v1/cloud:aliyun-ons/ons-consumer-reset-offset` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://ons.ap-southeast-1.aliyuncs.com |
| GroupId | string | yes | The ID of the consumer group whose dead-letter message you want to query |
| Topic | string | yes | The name of the topic for which you want to reset the consumer offset |
| Type | integer | yes | The method that you want to use to clear accumulated messages. Valid values: 0: All accumulated messages are cleared. Messages that are… |
| ResetTimestamp | integer | no | The timestamp to which you want to reset the consumer offset. This parameter takes effect only when the Type parameter is set to 1. Unit:… |
| InstanceId | string | no | The ID of the instance to which the consumer group belongs |

### This operation queries detailed status data for a specified group ID, including subscription relationship…
`POST https://apizie.tech/v1/cloud:aliyun-ons/ons-consumer-status` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://ons.ap-southeast-1.aliyuncs.com |
| GroupId | string | yes | The group ID of the consumer to query |
| Detail | string | no | Whether to return detailed information. Valid values: true: Return detailed information, including ConsumerConnectionInfoList and… |
| NeedJstack | string | no | Whether to print Jstack information. Valid values: true: Print Jstack information. Retrieve stack trace from the Jstack response field. To… |
| InstanceId | string | no | The instance ID associated with the group ID to query |

### Queries the time range within which you can specify a point in time to reset the consumer offset for a…
`POST https://apizie.tech/v1/cloud:aliyun-ons/ons-consumer-time-span` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://ons.ap-southeast-1.aliyuncs.com |
| GroupId | string | yes | The ID of the consumer group whose reset time range you want to query |
| Topic | string | yes | The topic to which the consumer group subscribes |
| InstanceId | string | no | The ID of the instance to which the consumer group belongs |

### Queries a specific dead-letter message by its message ID. The returned information includes the storage…
`POST https://apizie.tech/v1/cloud:aliyun-ons/ons-dlqmessage-get-by-id` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://ons.ap-southeast-1.aliyuncs.com |
| MsgId | string | yes | The ID of the message to query. This is the message ID |
| GroupId | string | yes | The group ID of the consumer |
| InstanceId | string | no | The ID of the instance to which the message belongs |

### Queries dead-letter messages by page for a specified Group ID and time range
`POST https://apizie.tech/v1/cloud:aliyun-ons/ons-dlqmessage-page-query-by-group-id` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://ons.ap-southeast-1.aliyuncs.com |
| GroupId | string | yes | The ID of the consumer group to query |
| BeginTime | integer | yes | The start of the time range to query. This value is a UNIX timestamp in milliseconds. If you specify `TaskId` to retrieve more pages, this… |
| EndTime | integer | yes | The end of the time range to query. This value is a UNIX timestamp in milliseconds. If you specify `TaskId` to retrieve more pages, this… |
| TaskId | string | no | The ID of the query task. Omit this parameter for the first query. For subsequent queries, use the task ID returned by the previous query |
| CurrentPage | integer | yes | The page number to return. Pages start from 1. The value can be up to 50 and must not exceed the total number of pages |
| PageSize | integer | no | The number of messages to return on each page. Default value: 20. Minimum value: 5. Maximum value: 50. If you specify `TaskId` to retrieve… |
| InstanceId | string | no | The ID of the instance that contains the message |

### Resends a dead-letter message specified by a message ID to allow a consumer to consume the message again
`POST https://apizie.tech/v1/cloud:aliyun-ons/ons-dlqmessage-resend-by-id` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://ons.ap-southeast-1.aliyuncs.com |
| MsgId | string | yes | The ID of the message to query. This is the message ID |
| GroupId | string | yes | The group ID of the consumer to query |
| InstanceId | string | no | The ID of the instance that contains the message to query |

### Sets the message read permission for the consumer cluster that corresponds to a specified group ID. This…
`POST https://apizie.tech/v1/cloud:aliyun-ons/ons-group-consumer-update` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://ons.ap-southeast-1.aliyuncs.com |
| GroupId | string | yes | The group ID to configure |
| ReadEnable | string | yes | Specifies whether the consumer cluster for the group ID has permission to read messages. Valid values: true: The consumer cluster has… |
| InstanceId | string | no | The ID of the instance to which the group ID belongs |

### Creates a client group ID
`POST https://apizie.tech/v1/cloud:aliyun-ons/ons-group-create` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://ons.ap-southeast-1.aliyuncs.com |
| GroupId | string | yes | The ID of the consumer group that you want to create. The value must meet the following requirements: The value must be 2 to 64 characters… |
| Remark | string | no | The remarks on the group |
| InstanceId | string | no | The ID of the instance to which the group belongs |
| GroupType | string | no | The protocol to which the group ID applies. Group IDs for the TCP and HTTP protocols cannot be used interchangeably. Create a separate… |

### You can call the OnsGroupDelete operation to delete a group
`POST https://apizie.tech/v1/cloud:aliyun-ons/ons-group-delete` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://ons.ap-southeast-1.aliyuncs.com |
| GroupId | string | yes | The ID of the group that you want to delete |
| InstanceId | string | no | The ID of the instance to which the group that you want to delete belongs |

### Queries all Group IDs in a specified instance
`POST https://apizie.tech/v1/cloud:aliyun-ons/ons-group-list` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://ons.ap-southeast-1.aliyuncs.com |
| InstanceId | string | no | The ID of the instance to which the Group IDs belong |
| GroupId | string | no | Specify a Group ID to perform a fuzzy query. If you leave this parameter empty, all Group IDs are queried. If you enter GID_ABC, a fuzzy… |
| GroupType | string | no | The protocol that the queried Group IDs support. Group IDs for the TCP protocol and the HTTP protocol cannot be shared. You must create… |
| Tag | string | no | The list of tags that are attached to the Group ID. The number of elements in the list cannot exceed 20 (JSON-encoded) |

### Queries the topics to which a group subscribes. The query fails if the consumer instances for the specified…
`POST https://apizie.tech/v1/cloud:aliyun-ons/ons-group-sub-detail` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://ons.ap-southeast-1.aliyuncs.com |
| InstanceId | string | yes | The ID of the instance to which the group belongs |
| GroupId | string | yes | The ID of the group that you want to query |

### Queries the basic information about an instance and its endpoints for sending and receiving messages
`POST https://apizie.tech/v1/cloud:aliyun-ons/ons-instance-base-info` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://ons.ap-southeast-1.aliyuncs.com |
| InstanceId | string | yes | The ID of the instance to query |

### Call the OnsInstanceCreate operation to create an instance
`POST https://apizie.tech/v1/cloud:aliyun-ons/ons-instance-create` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://ons.ap-southeast-1.aliyuncs.com |
| Remark | string | no | The description of the instance |
| InstanceName | string | yes | The name of the instance. The name must meet the following requirements: The instance name must be unique in the region where the instance… |

### Call the OnsInstanceDelete operation to delete an ApsaraMQ for RocketMQ instance
`POST https://apizie.tech/v1/cloud:aliyun-ons/ons-instance-delete` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://ons.ap-southeast-1.aliyuncs.com |
| InstanceId | string | yes | The ID of the instance |

### Queries all ApsaraMQ for RocketMQ 4.x instances in a specified region
`POST https://apizie.tech/v1/cloud:aliyun-ons/ons-instance-in-service-list` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://ons.ap-southeast-1.aliyuncs.com |
| Tag | string | no | A list of tags attached to the instance. The list can contain up to 20 elements (JSON-encoded) |
| NeedResourceInfo | string | no | Specifies whether to return resource statistics. The statistics include the number of topics and groups in the instance |

### You can call the OnsInstanceUpdate operation to update the name and description of an instance
`POST https://apizie.tech/v1/cloud:aliyun-ons/ons-instance-update` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://ons.ap-southeast-1.aliyuncs.com |
| Remark | string | no | The updated description of the instance. If you leave this parameter empty, the description is not updated |
| InstanceName | string | no | The updated name of the instance. The name must meet the following requirements: The instance name must be unique in the region where the… |
| InstanceId | string | yes | The ID of the instance whose name or description you want to update |

### You can call OnsMessageDetail to query the details of a specific message
`POST https://apizie.tech/v1/cloud:aliyun-ons/ons-message-detail` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://ons.ap-southeast-1.aliyuncs.com |
| InstanceId | string | yes | The ID of the ApsaraMQ for RocketMQ instance |
| Topic | string | yes | The topic of the message to query |
| MsgId | string | yes | The ID of the message to query. This is the message ID |

### Performs a fuzzy query for a list of messages based on a topic and a message key
`POST https://apizie.tech/v1/cloud:aliyun-ons/ons-message-get-by-key` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://ons.ap-southeast-1.aliyuncs.com |
| Topic | string | yes | The topic of the message to query |
| Key | string | yes | The message key of the message to query |
| InstanceId | string | no | The ID of the instance to which the message belongs |

### Queries the information about a message by specifying the message ID and determines whether the message has…
`POST https://apizie.tech/v1/cloud:aliyun-ons/ons-message-get-by-msg-id` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://ons.ap-southeast-1.aliyuncs.com |
| MsgId | string | yes | The ID of the message that you want to query |
| Topic | string | yes | The topic that contains the message you want to query |
| InstanceId | string | no | The ID of the instance to which the message you want to query belongs |

### Queries all messages that are stored in a specified topic within a specified time range by page
`POST https://apizie.tech/v1/cloud:aliyun-ons/ons-message-page-query-by-topic` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://ons.ap-southeast-1.aliyuncs.com |
| Topic | string | yes | The name of the topic whose messages you want to query |
| BeginTime | integer | yes | The beginning of the time range to query. The value of this parameter is a UNIX timestamp in milliseconds. If you specify a valid value… |
| EndTime | integer | yes | The end of the time range to query. The value of this parameter is a UNIX timestamp in milliseconds. If you specify a valid value for the… |
| TaskId | string | no | The ID of the query task. The first time you call this operation to query the information about messages in a specified topic within a… |
| CurrentPage | integer | yes | The number of the page to return. Pages start from page 1. Valid values: 1 to 50 |
| PageSize | integer | no | The number of entries to return on each page. Valid values: 5 to 50. Default value: 20. If you specify a valid value for the TaskId… |
| InstanceId | string | no | The ID of the instance to which the message you want to query belongs |

### The OnsMessagePush operation pushes a message to a specified consumer
`POST https://apizie.tech/v1/cloud:aliyun-ons/ons-message-push` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://ons.ap-southeast-1.aliyuncs.com |
| GroupId | string | yes | The group ID. For more information, see https://help.aliyun.com/document_detail/29533.html |
| ClientId | string | yes | The ID of the consumer instance. Call the https://help.aliyun.com/document_detail/29598.html operation to obtain this ID |
| MsgId | string | yes | The message ID |
| Topic | string | yes | The topic to which the message is pushed |
| InstanceId | string | no | The ID of the instance that contains the message that you want to push |

### You can call the OnsMessageTrace operation to determine whether a message has been consumed based on its…
`POST https://apizie.tech/v1/cloud:aliyun-ons/ons-message-trace` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://ons.ap-southeast-1.aliyuncs.com |
| Topic | string | yes | The topic of the message |
| MsgId | string | yes | The ID of the message whose trace you want to query. This is the message ID |
| InstanceId | string | no | The ID of the instance to which the message belongs |

### Call the OnsRegionList operation to obtain a list of regions where ApsaraMQ for RocketMQ is available
`POST https://apizie.tech/v1/cloud:aliyun-ons/ons-region-list` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://ons.ap-southeast-1.aliyuncs.com |

### You can call the OnsTopicCreate operation to create a topic
`POST https://apizie.tech/v1/cloud:aliyun-ons/ons-topic-create` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://ons.ap-southeast-1.aliyuncs.com |
| Topic | string | yes | The name of the topic to create. The name must meet the following requirements: The name must be 3 to 64 characters long. It can contain… |
| MessageType | integer | yes | The message type. Valid values: 0: Normal message 1: Partitionally ordered message 4: Transactional message 5: Scheduled and delayed… |
| Remark | string | no | The description of the topic |
| InstanceId | string | no | The ID of the instance where the topic resides |

### Deletes a specified topic
`POST https://apizie.tech/v1/cloud:aliyun-ons/ons-topic-delete` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://ons.ap-southeast-1.aliyuncs.com |
| Topic | string | yes | The topic to delete |
| InstanceId | string | no | The ID of the instance that contains the topic to delete |

### Queries information about all topics in your account
`POST https://apizie.tech/v1/cloud:aliyun-ons/ons-topic-list` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://ons.ap-southeast-1.aliyuncs.com |
| Topic | string | no | Specify the topic to query. If you leave this parameter empty, all topics are queried |
| InstanceId | string | no | The ID of the instance that contains the topics you want to query |
| Tag | string | no | The list of tags that are attached to the topic. The list can contain a maximum of 20 elements (JSON-encoded) |

### Queries the total number of messages in a topic and the status of the topic
`POST https://apizie.tech/v1/cloud:aliyun-ons/ons-topic-status` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://ons.ap-southeast-1.aliyuncs.com |
| Topic | string | yes | The name of the topic that you want to query |
| InstanceId | string | no | The ID of the instance that contains the topic you want to query |

### Queries the online consumer groups that subscribe to a specified topic
`POST https://apizie.tech/v1/cloud:aliyun-ons/ons-topic-sub-detail` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://ons.ap-southeast-1.aliyuncs.com |
| InstanceId | string | yes | The ID of the instance that contains the topic you want to query |
| Topic | string | yes | The name of the topic that you want to query |

### Fetches the results of a message trace query task using its task ID
`POST https://apizie.tech/v1/cloud:aliyun-ons/ons-trace-get-result` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://ons.ap-southeast-1.aliyuncs.com |
| QueryId | string | yes | The ID of the task for which to fetch the message trace query results |
| InstanceId | string | no | The ID of the instance that contains the message you want to query |
| Topic | string | no | The topic of the message you want to query |

### Creates a trace query task based on a topic and a message ID, and returns the task ID. You can then call the…
`POST https://apizie.tech/v1/cloud:aliyun-ons/ons-trace-query-by-msg-id` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://ons.ap-southeast-1.aliyuncs.com |
| Topic | string | yes | The topic of the message to query |
| MsgId | string | yes | The ID of the message to query. This is the message ID |
| BeginTime | integer | yes | The start timestamp of the query time range. Unit: milliseconds |
| EndTime | integer | yes | The end timestamp of the query time range. Unit: milliseconds |
| InstanceId | string | no | The ID of the instance to which the topic of the message belongs |

### Creates a trace query task based on a topic name and a message key and returns the ID of the query task. You…
`POST https://apizie.tech/v1/cloud:aliyun-ons/ons-trace-query-by-msg-key` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://ons.ap-southeast-1.aliyuncs.com |
| Topic | string | yes | The topic of the message to query |
| MsgKey | string | yes | The message key of the message to query |
| BeginTime | integer | yes | The beginning of the time range to query. The value is a UNIX timestamp in milliseconds |
| EndTime | integer | yes | The end of the time range to query. The value is a UNIX timestamp in milliseconds |
| InstanceId | string | no | The ID of the instance to which the topic of the message belongs |

### Queries the message consumption statistics for a specified group ID over a period of time
`POST https://apizie.tech/v1/cloud:aliyun-ons/ons-trend-group-output-tps` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://ons.ap-southeast-1.aliyuncs.com |
| GroupId | string | yes | The ID of the group to query |
| Topic | string | yes | The name of the topic to query |
| BeginTime | integer | yes | The beginning of the time range to query. This value is a UNIX timestamp in milliseconds |
| EndTime | integer | yes | The end of the time range to query. This value is a UNIX timestamp in milliseconds |
| Type | integer | yes | The type of information to query. Valid values: 0: The statistical curve of the total number of consumed messages. 1: The statistical… |
| InstanceId | string | no | The ID of the instance to which the group belongs |
| Period | integer | no | The sampling period. Unit: minutes. Valid values: 1, 5, and 10 |

### Queries the statistics about messages that are published to a topic within a period of time
`POST https://apizie.tech/v1/cloud:aliyun-ons/ons-trend-topic-input-tps` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://ons.ap-southeast-1.aliyuncs.com |
| Topic | string | yes | The name of the topic that you want to query |
| BeginTime | integer | yes | The timestamp that indicates the beginning of the time range to query. Unit: milliseconds |
| EndTime | integer | yes | The timestamp that indicates the end of the time range to query. Unit: milliseconds |
| Type | integer | yes | The type of information that you want to query. Valid values: 0: the number of messages that are published to the topic during each… |
| InstanceId | string | no | The ID of the instance to which the topic you want to query belongs |
| Period | integer | no | The sampling period. Unit: minutes. Valid values: 1, 5, and 10 |

### Invokes the OpenOnsService operation to activate the ApsaraMQ for RocketMQ service
`POST https://apizie.tech/v1/cloud:aliyun-ons/open-ons-service` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://ons.ap-southeast-1.aliyuncs.com |

### Adds tags to a resource
`POST https://apizie.tech/v1/cloud:aliyun-ons/tag-resources` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://ons.ap-southeast-1.aliyuncs.com |
| InstanceId | string | no | The ID of the ApsaraMQ for RocketMQ instance that contains the resource to which you want to attach tags. This parameter is required when… |
| ResourceType | string | yes | The type of the resource to which you want to attach tags. Valid values: INSTANCE TOPIC GROUP |
| Tag | string | yes | The tags that you want to attach to the resource (JSON-encoded) |
| ResourceId | string | yes | The resource IDs (JSON-encoded) |

### You can call UntagResources to detach and delete tags from resources
`POST https://apizie.tech/v1/cloud:aliyun-ons/untag-resources` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://ons.ap-southeast-1.aliyuncs.com |
| InstanceId | string | no | This parameter is required to detach tags from topics and group IDs |
| ResourceType | string | yes | The type of the resource. This is an enumeration. Supported resource types: INSTANCE TOPIC GROUP |
| All | string | no | Specifies whether to delete all tags that are attached to the resource. This parameter is valid only when the TagKey parameter is not set… |
| ResourceId | string | yes | A list of resource IDs (JSON-encoded) |
| TagKey | string | no | A list of tag keys of the resource (JSON-encoded) |

### version
`POST https://apizie.tech/v1/cloud:aliyun-ons/version` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://ons.ap-southeast-1.aliyuncs.com |

## Example
```
curl "https://apizie.tech/v1/cloud:aliyun-ons/list-tag-resources" \
  -H "x-api-key: $APIZIE_KEY" \
  -H "x-upstream-key: $PROVIDER_KEY"
```

## FAQ

### How do I call the Alibaba Cloud ApsaraMQ for RocketMQ 4.0 API?
Create a free Apizie key, then send POST https://apizie.tech/v1/cloud:aliyun-ons/list-tag-resources with the header x-api-key. Every endpoint returns { project, data, timestamp }.

### Is the Alibaba Cloud ApsaraMQ for RocketMQ 4.0 API free on Apizie?
Yes. The Free plan includes 1,000 requests a month at 100 requests a minute, no credit card. Alibaba Cloud ApsaraMQ for RocketMQ 4.0 itself also needs your own key from aliyuncs.com.

### Can AI agents use the Alibaba Cloud ApsaraMQ for RocketMQ 4.0 API?
Yes. Add the Apizie MCP server (https://apizie.tech/mcp) to Claude, ChatGPT, Cursor or VS Code, then ask in plain language. The agent calls run_scraper with project key cloud:aliyun-ons.

### What is the status of the Alibaba Cloud ApsaraMQ for RocketMQ 4.0 API?
Needs your own provider key (bring your own key)
