Description
This function is for deleting a specified API group.
- This function is intended for API providers.
- An API group with APIs cannot be deleted. To delete the API group, you must delete its APIs first.
- After an API group is deleted, the second-level domain name assigned to the API group is automatically invalidated.
- If a nonexistent API group is deleted, the returned result shows the deletion is successful.
- This API can call up to 50 QPS for a single user.
Request parameters
Name | Type | Required? | Description |
---|---|---|---|
Action | String | Yes | Interface name, which is a required parameter; value: DeleteApiGroup. |
GroupId | String | Yes | API group ID, which is generated by the system and globally unique. |
Returned parameters
Name | Type | Description |
---|---|---|
RequestId | String | Unique request ID. |
Examples
Request example
http://apigateway.cn-hangzhou.aliyuncs.com?Action=DeleteApiGroup
&GroupId=523e8dc7bbe04613b5b1d726c2a7889d
&<Public request parameters>
Response example
XML
format
<DeleteApiGroupResponse>
<RequestId>E8515BA6-81CD-4191-A7CF-C4FCDD3C0D99</RequestId>
</DeleteApiGroupResponse>
JSON
format
{
"RequestId": "E8515BA6-81CD-4191-A7CF-C4FCDD3C0D99"
}