Modifies a rule.


OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description 
Action String Yes ModifyAccessRule

The operation that you want to perform. Set the value to ModifyAccessRule.

AccessGroupName String Yes classic-test

The name of the permission group.

AccessRuleId String Yes 1

The ID of the rule.

SourceCidrIp String No

An IP address or Classless Inter-Domain Routing (CIDR) block. For example, or

Note Only IP addresses are available for permission groups of the Classic type.
RWAccessType String No RDWR

The type of permission. Valid values: RDWR and RDONLY.

UserAccessType String No all_squash

The type of user permission.

Priority Integer No 1

The priority. Valid values: 1 to 100. Default value: 1.

FileSystemType String No standard

The type of file system. Valid values: standard and extreme. Default value: standard.

Response parameters

Parameter Type Example Description 
RequestId String 6299428C-3861-435D-AE54-9B330A0007C8

The ID of the request.


Sample requests

&<Common request parameters>

Sample success responses

XML format


JSON format

  "RequestId": "6299428C-3861-435D-AE54-9B330A0007C8"

Error codes

For a list of error codes, visit the API Error Center.