edit-icon download-icon

Bind signature keys to APIs

Last Updated: Dec 19, 2017

Description

For adding the binding relationship between signature keys and APIs.

  • This function is intended for API activators.
  • This interface is used to add the binding relationship between APIs and signature keys. You can bind up to 100 APIs.

Request parameters

Name Type Required? Description
Action String Yes Operation interface name, which is a required parameter; value: SetSignatureApis.
SignatureId String Yes ID of the signature key you want to unbind.
GroupId String Yes ID of the API group to which the APIs you want to unbind belong.
ApiIds String Yes API IDs for operation. If multiple API IDs are input, they must be separated by a comma (,). Up to 100 API IDs can be input.
StageName String Yes Name of the stage where the APIs are to be bound.
  • RELEASE: Online
  • TEST: Test

Return parameters

Name Type Description
RequestId String ID of the current request

Examples

Request example

  1. https://apigateway.cn-qingdao.aliyuncs.com/?Action=SetSignatureApis
  2. &SignatureId=dd05f1c54d6749eda95f9fa6d491449a
  3. &GroupId=0009db9c828549768a200320714b8930
  4. &ApiIds=3b81fd160f5645e097cc8855d75a1cf6,46fbb52840d146f186e38e8e70fc8c12
  5. &StageName=test
  6. &<Public request parameters>

Response example

XML format

  1. <SetSignatureApisResponse>
  2. <RequestId>CEF72CEB-54B6-4AE8-B225-F876FF7BZ004</RequestId>
  3. </SetSignatureApisResponse>

JSON format

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