Deletes an API Gateway instance. You can use this operation only to delete pay-as-you-go instances. To delete subscription instances, use the console.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
apigateway:DeleteInstance |
delete |
*Instance
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The ID of the instance. |
apigateway-sh-ae502ee79ef8 |
| Tag |
array<object> |
No |
The object tags that apply to the rule. You can specify multiple tags. |
Key, Value |
|
object |
No |
|||
| Key |
string |
Yes |
The tag key. |
key |
| Value |
string |
Yes |
The tag value. |
value |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of this request. |
CA4B3261-F14A-5E33-8608-F75A1DF27AD4 |
Examples
Success response
JSON format
{
"RequestId": "CA4B3261-F14A-5E33-8608-F75A1DF27AD4"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.