Authorizes multiple applications to call APIs in an API product.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
apigateway:SetAppsAuthToApiProduct |
create |
*ApiGroup
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ApiProductId |
string |
Yes |
The ID of the API product. |
117b7a64a8b3f064eaa4a47ac62aac5e |
| AppIds |
array |
Yes |
The IDs of the applications that you want to authorize. |
|
|
integer |
No |
The ID of the application that you want to authorize. |
110966607 |
|
| AuthValidTime |
string |
No |
The time (UTC) when the authorization expires. If this parameter is empty, the authorization does not expire. |
2023-05-31T08:15:39Z |
| Description |
string |
No |
The description of the authorization. |
Description |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
EF924FE4-2EDD-4CD3-89EC-34E4708574E7 |
Examples
Success response
JSON format
{
"RequestId": "EF924FE4-2EDD-4CD3-89EC-34E4708574E7"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.