调用DeleteGroupId删除Group ID。

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

请求参数

名称 类型 是否必选 示例值 描述
Action String DeleteGroupId

系统规定参数。取值:DeleteGroupId。

GroupId String GID_test

需删除的Group ID。

InstanceId String mqtt-cn-0pp1ldu****

需删除的Group ID所在实例的ID。

RegionId String cn-hangzhou

需删除的Group ID所在实例的地域。

说明 更多参数说明请参见公共参数调用方式

返回数据

名称 类型 示例值 描述
RequestId String 0621DDD7-F0E9-4D35-8900-518116D6AA58

公共参数,每个请求的ID都是唯一的。

示例

请求示例

http(s)://onsmqtt.cn-hangzhou.aliyuncs.com/?Action=DeleteGroupId
&GroupId=GID_test
&InstanceId=mqtt-cn-0pp1ldu****
&RegionId=cn-hangzhou
&<公共请求参数>

正常返回示例

XML格式

<DeleteGroupIdResponse>
  <RequestId>0621DDD7-F0E9-4D35-8900-518116D6AA58</RequestId>
</DeleteGroupIdResponse>

JSON格式

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

错误码

HttpCode 错误码 错误信息 描述
500 DeleteGroupIdError Failed to delete GroupId. Try again later. 删除Group ID请求执行失败,请稍后重试。
500 InternalError An error occurred while processing your request. Try again later. MQTT后端服务异常,请重试。
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. 资源权限校验失败,请检查实例、Topic和Group ID的所属权限和授权策略。
400 InstancePermissionCheckFailed An error occurred while validating the permissions of the instance. Please verify the account that created the instance and its permissions settings. 实例权限校验失败,请确认MQTT实例的所属关系以及授权策略。
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. 资源权限校验失败,请检查实例、Topic和Group ID的所属权限和授权策略。

访问错误中心查看更多错误码。