Deletes a specified API definition.
Operation description
-
This operation is intended for API providers and is irreversible.
-
An API running in the runtime environment must be unpublished before it can be deleted.
-
The QPS limit on this operation is 50 per user.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
apigateway:DeleteApi |
delete |
*ApiGroup
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| GroupId |
string |
No |
The ID of the API group. |
08ae4aa0f95e4321849ee57f4e0b3077 |
| ApiId |
string |
Yes |
The ID of the API. |
d6f679aeb3be4b91b3688e887ca1fe16 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. |
CEF72CEB-54B6-4AE8-B225-F876FF7BZ017 |
Examples
Success response
JSON format
{
"RequestId": "CEF72CEB-54B6-4AE8-B225-F876FF7BZ017"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.