UpdateConsumerAuthorizationRule
Updates a consumer authorization rule.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
apig:UpdateConsumerAuthorizationRule |
none |
*Domain
|
None | None |
Request syntax
PUT /v1/consumers/{consumerId}/authorization-rules/{consumerAuthorizationRuleId} HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| consumerId |
string |
No |
The consumer ID. |
cs-cvs7kbem1hkiit4ivhu0 |
| consumerAuthorizationRuleId |
string |
No |
The consumer authorization rule ID. |
cas-xxx |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| body |
object |
No |
The request body. |
|
| expireMode |
string |
No |
The expiration mode. Valid values: |
LongTerm |
| expireTimestamp |
integer |
No |
The expiration time, specified as a Unix timestamp in milliseconds. |
1750852089975 |
| authorizationResourceInfos |
array |
No |
A list of authorization resource information. |
|
| AuthorizationResourceInfo |
No |
The authorization resource information. |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response object. |
||
| requestId |
string |
The request ID. Use this ID to troubleshoot issues. |
C67DED2B-F19B-5BEC-88C1-D6EB854CD0D4 |
| code |
string |
The response code. |
Ok |
| message |
string |
The response message. |
success |
Examples
Success response
JSON format
{
"requestId": "C67DED2B-F19B-5BEC-88C1-D6EB854CD0D4",
"code": "Ok",
"message": "success"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.