Description
You can call this operation to unbind a plug-in from an API.
- This operation is intended for API providers.
- This operation takes effect immediately after it is completed.
Request parameters
Name | Type | Required | Description |
---|---|---|---|
Action | String | Yes | The operation that you want to perform. Set this value to DetachPlugin. |
PluginId | String | Yes | The ID of the plug-in that you want to unbind. |
ApiId | String | Yes | The ID of the API from which you want to unbind the plug-in. |
StageName | String | Yes | The name of the runtime environment. Valid values:
|
Response parameters
Name | Type | Description |
---|---|---|
RequestId | String | The request ID |
Examples
Sample request
http://apigateway.cn-qingdao.aliyuncs.com/?Action=DetachPlugin
&PluginId=9a3f1a5279434f2ba74ccd91c295af9f
&ApiId=8afff6c8c4c6447abb035812e4d66b65
&StageName=RELEASE
Sample responses
XML
format
<DetachPluginResponse>
<RequestId>CEF72CEB-54B6-4AE8-B225-F876FF7BA984</RequestId>
</DetachPluginResponse>
JSON
format
{
"RequestId":"EF924FE4-2EDD-4CD3-89EC-34E4708574E7"
}