All Products
Document Center

Add specified API access authorities

Last Updated: Mar 22, 2019


For adding multiple apps with the access permission on a specified API. In this case, multiple apps map a single API.

  • This API is intended for API callers and users.
  • API providers can authorize any apps to call their APIs.
  • API users can authorize their apps to call their bought APIs.

Request parameters

Name Type Required? Description
Action String Yes Interface name, which is a required parameter; value: SetAppsAuthorities.
GroupId String No API group ID, which is generated by the system and globally unique.
StageName String Yes Stage name; values:
  • RELEASE: Online
  • TEST: Test
ApiId String Yes app ID, which is generated by the system and globally unique.
AppIds String Yes app IDs for the specified operation. If multiple app IDs are input, they must be separated by a comma (,). Up to 100 app IDs can be input.
Description String No Authorization description.

Return parameters

Name Type Description
RequestId String Unique request ID.


Request example

  2. &StageName=RELEASE
  3. &ApiId=baacc592e63a4cb6a41920d9d3f91f38
  4. &AppIds=2386789,3389798
  5. &<Public request parameters>

Response example

XML format

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

JSON format

  1. {
  2. "RequestId": "D6E46F10-F26C-4AA0-BB69-FE2743D9AE62",
  3. }