edit-icon download-icon

Delete an API stage variable

Last Updated: May 17, 2017

Description

This function is for deleting a specified variable in a stage.

  • This function is intended for API providers.

Request parameters

Name Type Required? Description
Action String Yes Interface name, which is a required parameter; value: DeleteApiStageVariable.
GroupId String Yes API group ID.
StageId String Yes Stage ID.
VariableName String Yes Variable name, which is case-sensitive.

Returned parameters

Name Type Description
RequestId String Unique request ID.

Examples

Request example

  1. http://apigateway.cn-hangzhou.aliyuncs.com?Action=DeleteApiStageVariable
  2. &GroupId=523e8dc7bbe04613b5b1d726c2a7889d
  3. &StageId=6EF60BEC-0242-43AF-BB20-270359FB54A7
  4. &VariableName=serverName
  5. &<Public request parameters>

Response example

XML format

  1. <DeleteApiStageVariableResponse>
  2. <RequestId>03442A3D-3B7D-434C-8A95-A5FEB969B529</RequestId>
  3. </DeleteApiStageVariableResponse>

JSON format

  1. {
  2. "RequestId": "03442A3D-3B7D-434C-8A95-A5FEB969B529"
  3. }
Thank you! We've received your feedback.