Description
You can call this operation to modify a plug-in.
- This operation is intended for API providers.
- Each plug-in must have a unique name.
Request parameters
Name | Type | Required | Description |
---|---|---|---|
Action | String | Yes | The operation that you want to perform. Set this value to ModifyPlugin. |
PluginId | String | Yes | The ID of the plug-in that you want to modify. |
PluginName | String | No | The name of the plug-in. It can contain uppercase English letters, lowercase English letters, Chinese characters, numbers, and underscores (). It must be 4 to 50 characters in length and cannot start with an underscore (). |
PluginData | String | No | The definition statement of the plug-in. |
Description | String | No | The description of the plug-in, which cannot exceed 200 characters. |
Response parameters
Name | Type | Description |
---|---|---|
RequestId | String | The request ID |
Examples
Sample request
http://apigateway.cn-qingdao.aliyuncs.com/?Action=ModifyPlugin
&PluginId=a96926e82f994915a8da40a119374537
&PluginName=modifyCors
&PluginData="Plugin definition"
&Description="modify plugin first"
Sample responses
XML
format
<ModifyPluginResponse>
<RequestId>CE5722A6-AE78-4741-A9B0-6C817D360510</RequestId>
</ModifyPluginResponse>
JSON
format
{
"RequestId":"CE5722A6-AE78-4741-A9B0-6C817D360510"
}