Description
For deleting the definition of a specified API.
- This function is intended for users who release APIs and this operation is irreversible.
- An API running in the running stage must be abolished and then deleted.
- This API can call up to 50 QPS for a single user.
Request parameters
Name | Type | Required? | Description |
---|---|---|---|
Action | String | Yes | Operation interface, which is a required parameter; value: DeleteApi. |
GroupId | String | No | ID of the group. |
ApiId | String | Yes | ID of the API. |
Return parameters
Name | Type | Description |
---|---|---|
RequestId | String | ID of the current request. |
Examples
Request example
https://apigateway.cn-qingdao.aliyuncs.com/?Action=DeleteApi
&ApiId=d6f679aeb3be4b91b3688e887ca1fe16
&<Public request parameters>
Response example
XML
format
<DeleteApiResponse>
<RequestId>CEF72CEB-54B6-4AE8-B225-F876FF7BZ017</RequestId>
</DeleteApiResponse>
JSON
format
{
"RequestId":"CEF72CEB-54B6-4AE8-B225-F876FF7BZ017"
}