All Products
Search
Document Center

ApsaraMQ for MQTT:DeleteGroupId

Last Updated:Nov 02, 2026

Deletes a group ID.

Operation description

Each successful call to the DeleteGroupId operation is counted as one message TPS, which affects your billing. For more information about billing, see Billing overview.

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

GroupId

string

Yes

The group ID that you want to delete.

GID_test

InstanceId

string

Yes

The ID of the instance to which the group ID that you want to delete belongs.

mqtt-cn-0pp1ldu****

Note

For more metric descriptions, see Common parameters and service registration.

Response elements

Element

Type

Description

Example

object

RequestId

string

The common parameter. The ID of each request is unique.

0621DDD7-F0E9-4D35-8900-518116D6****

Examples

Success response

JSON format

{
  "RequestId": "0621DDD7-F0E9-4D35-8900-518116D6****"
}

Error codes

HTTP status code

Error code

Error message

Description

400 ParameterFieldCheckFailed Failed to validate the parameters. The parameters may be missing or invalid.
400 PermissionCheckFailed An error occurred while validating the resource permissions. Please check the account that created the instance, topic, and GroupId, and check their permission settings.
400 InstancePermissionCheckFailed An error occurred while validating the permissions of the instance. Please verify the account that created the instance and its permissions settings.
400 InstanceNotFound Failed to find the instance. The instanceId may be invalid.
400 ResourcePermissionCheckFailed An error occurred while validating the resource permissions. Please check the account that created the instance, topic, and GroupId, and check their permission settings.
400 SystemError system error. System error, please try again
417 DeleteGroupIdError Failed to delete GroupId. Try again later.
417 InternalError An error occurred while processing your request. Try again later.

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.