Deletes a consumer group.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer automatically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes DeleteConsumerGroup

The operation that you want to perform. Set the value to DeleteConsumerGroup.

ConsumerGroupID String Yes dtssb911ydd192****

The ID of the consumer group. You can call the DescribeConsumerGroup operation to query the consumer group ID.

SubscriptionInstanceId String Yes dtsg2m10r1x15a****

The ID of the change tracking instance. You can call the DescribeSubscriptionInstances operation to query the instance ID.

RegionId String No cn-hangzhou

The ID of the region where the change tracking instance resides. For more information, see List of supported regions.

AccountId String No 12323344****

The ID of the Alibaba Cloud account. You do not need to specify this parameter because this parameter will be removed in the future.

Response parameters

Parameter Type Example Description
ErrCode String InternalError

The error code returned if the call failed.

ErrMessage String The request processing has failed due to some unknown error.

The error message returned if the call failed.

RequestId String 4D0ADAD5-DD97-41B6-B78F-D1961AB1****

The ID of the request.

Success String true

Indicates whether the call was successful.

Examples

Sample requests

http(s)://dts.aliyuncs.com/?Action=DeleteConsumerGroup
&ConsumerGroupID=dtssb911ydd192****
&SubscriptionInstanceId=dtsg2m10r1x15a****
&<Common request parameters>

Sample success responses

XML format

<DeleteConsumerGroupResponse>
      <RequestId>4D0ADAD5-DD97-41B6-B78F-D1961AB1****</RequestId>
      <Success>true</Success>
</DeleteConsumerGroupResponse>

JSON format

{
    "RequestId": "4D0ADAD5-DD97-41B6-B78F-D1961AB1****",
    "Success": true
}

Error codes

For a list of error codes, visit the API Error Center.