All Products
Search
Document Center

Modify an Plugin

Last Updated: Apr 24, 2019

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

  1. http://apigateway.cn-qingdao.aliyuncs.com/?Action=ModifyPlugin
  2. &PluginId=a96926e82f994915a8da40a119374537
  3. &PluginName=modifyCors
  4. &PluginData="Plugin definition"
  5. &Description="modify plugin first"

Sample responses

XML format

  1. <ModifyPluginResponse>
  2. <RequestId>CE5722A6-AE78-4741-A9B0-6C817D360510</RequestId>
  3. </ModifyPluginResponse>

JSON format

  1. {
  2. "RequestId":"CE5722A6-AE78-4741-A9B0-6C817D360510"
  3. }