Description
For adding a specified app with the access permission on multiple APIs.
- This API is intended for API providers 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: SetApisAuthorities. |
GroupId | String | No | API group ID, which is generated by the system and globally unique. |
StageName | String | Yes | Stage name; values:
|
AppId | Long | Yes | Application ID, which is generated by the system and globally unique. |
ApiIds | String | No | 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. |
Description | String | No | Authorization description. |
Return parameters
Name | Type | Description |
---|---|---|
RequestId | String | Unique request ID. |
Examples
Request example
http://apigateway.cn-hangzhou.aliyuncs.com?Action=SetApisAuthorities
&StageName=RELEASE
&AppId=2386789
&ApiIds=baacc592e63a4cb6a41920d9d3f91f38,jkscc489e63a4cb6a41920d9d3f92d78
&<Public request parameters>
Response example
XML
format
<SetApisAuthoritiesResponse>
<RequestId>D6E46F10-F26C-4AA0-BB69-FE2743D9AE62</RequestId>
</SetApisAuthoritiesResponse>
JSON
format
{
"RequestId": "D6E46F10-F26C-4AA0-BB69-FE2743D9AE62",
}