edit-icon download-icon

Abolish an API

Last Updated: May 17, 2017


For abolishing a specified API in a specified stage.

  • This function is intended for users who release APIs and opposite to the function for releasing an API.
  • It takes no more than 5 seconds to abolish a specified API running in a running stage.
  • An abolished API cannot be called in the specified stage.

Request parameters

Name Type Required? Description
Action String Yes Operation interface, which is a required parameter; value: AbolishApi.
GroupId String Yes ID of the specified group.
ApiId String Yes ID of the specified API.
StageName String Yes Name of the running stage; values:
  • RELEASE: Online
  • TEST: Test

Return parameters

Name Type Description
RequestId String ID of the current request.


Request example

  1. https://apigateway.cn-qingdao.aliyuncs.com/?Action=AbolishApi
  2. &GroupId=63be9002440b4778a61122f14c2b2bbb
  3. &ApiId=d6f679aeb3be4b91b3688e887ca1fe16
  4. &StageName=RELEASE
  5. &<Public request parameters>

Response example

XML format

  1. <AbolishApiResponse>
  2. <RequestId>CEF72CEB-54B6-4AE8-B225-F876FF7BZ016</RequestId>
  3. </AbolishApiResponse>

JSON format

  1. {
  2. "RequestId":"CEF72CEB-54B6-4AE8-B225-F876FF7BZ016"
  3. }
Thank you! We've received your feedback.