Renames an access control list (ACL).
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
smartag:ModifyACL |
update |
*Acl
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The ID of the region where the ACL is deployed. Call the DescribeRegions operation to query the most recent region list. |
cn-shanghai |
| AclId |
string |
Yes |
The ID of the ACL. |
acl-e30a66to95cs**** |
| Name |
string |
Yes |
The new name of the ACL. The name must be 2 to 128 characters in length, and can contain letters, digits, underscores (_), and hyphens (-). It must start with a letter. |
newname |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
076FD0BE-67D5-4338-A2A1-C54DE7D78B16 |
Examples
Success response
JSON format
{
"RequestId": "076FD0BE-67D5-4338-A2A1-C54DE7D78B16"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 403 | Forbidden | User not authorized to operate on the specified resource. | You do not have permissions to manage the specified resource. |
| 403 | MissingParameter | The input parameter is missing, please check your input. | Missing parameters. Check whether all required parameters are set. |
| 403 | InvalidName | Name not valid. | The specified name is invalid. |
| 403 | InvalidId.ACL | The specified ACL ID is invalid. | The specified ACL group ID is invalid. |
| 403 | InternalError | An internal server error occurred. | An internal server error occurred. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.