edit-icon download-icon

Remove API access authorities

Last Updated: Nov 08, 2017

Description

For removing the access permission on multiple APIs of a specified app.

  • This API is intended for API providers and users.
  • View the authorizers that add authorization records before you remove the API access permission. API owners can only remove the authorization records of API providers, and API users can only remove the authorization records of API consumers.

Request parameters

Name Type Required? Description
Action String Yes Interface name, which is a required parameter; value: RemoveApisAuthorities.
GroupId String Yes API group ID, which is generated by the system and globally unique.
StageName String Yes Stage name; values:
  • RELEASE: Online
  • TEST: Test
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.
AppId Long Yes app ID, which is generated by the system and globally unique.

Return parameters

Name Type Description
RequestId String Unique request ID.

Examples

Request example

  1. http://apigateway.cn-hangzhou.aliyuncs.com?Action=RemoveApisAuthorities
  2. &GroupId=523e8dc7bbe04613b5b1d726c2a7889d
  3. &StageName=RELEASE
  4. &ApiId=baacc592e63a4cb6a41920d9d3f91f38,jkscc489e63a4cb6a41920d9d3f92d78
  5. &AppId=2386789
  6. &<Public request parameters>

Response example

XML format

  1. <RemoveApisAuthoritiesResponse>
  2. <RequestId>D6E46F10-F26C-4AA0-BB69-FE2743D9AE62</RequestId>
  3. </RemoveApisAuthoritiesResponse>

JSON format

  1. {
  2. "RequestId": "D6E46F10-F26C-4AA0-BB69-FE2743D9AE62",
  3. }
Thank you! We've received your feedback.