Modifies the name of an access control list.

Debug

Use OpenAPI Explorer to perform debug operations and generate SDK code examples.

Request parameters

Parameter Type Required? Example value Description
Action String Yes SetAccessControlListAttribute

The name of this action. Value: SetAccessControlListAttribute

AclId String Yes acl-bp1l0kk4gxce43kzet04s

The ID of the access control list to be modified.

AclName String Yes test1

The name of the access control list to be modified.

RegionId String Yes cn-hangzhou

The ID of the region to which the access control list belongs.

To query the region ID, call DescribeRegions.

Response parameters

Parameter Type Example value Description
AclId String acl-bp1l0kk4gxce43kzet04s

The ID of the access control list.

RequestId String 988CB45E-1643-48C0-87B4-928DDF77EA49

The ID of the request.

Examples

Request example


http(s)://[Endpoint]/? Action=SetAccessControlListAttribute
&AclId=acl-bp1l0kk4gxce43kzet04s 
&AclName=test1 
&RegionId=cn-hangzhou 
&<CommonParameters>

Response examples

XML format

<SetAccessControlListAttributeResponse> 
  <RequestId>988CB45E-1643-48C0-87B4-928DDF77EA49</RequestId> 
</SetAccessControlListAttributeResponse> 

JSON format

{
	"RequestId":"988CB45E-1643-48C0-87B4-928DDF77EA49"
}

Error codes

See common error codes.