All Products
Document Center

Detach Plugin

Last Updated: Apr 24, 2019


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:
  • RELEASE: indicates the release environment.
  • PRE: indicates the pre-release environment.
  • TEST: indicates the test environment.

Response parameters

Name Type Description
RequestId String The request ID


Sample request

  2. &PluginId=9a3f1a5279434f2ba74ccd91c295af9f
  3. &ApiId=8afff6c8c4c6447abb035812e4d66b65
  4. &StageName=RELEASE

Sample responses

XML format

  1. <DetachPluginResponse>
  2. <RequestId>CEF72CEB-54B6-4AE8-B225-F876FF7BA984</RequestId>
  3. </DetachPluginResponse>

JSON format

  1. {
  2. "RequestId":"EF924FE4-2EDD-4CD3-89EC-34E4708574E7"
  3. }