edit-icon download-icon

ModifyAccessRule

Last Updated: Apr 11, 2018

Description

Used to modify permission rules.

Request parameters

Parameter name Type Required Description
Action String TRUE Operation interface name and system required parameter. Value: ModifyAccessRule
AccessGroupName String TRUE Permission group name.
AccessRuleId String TRUE Rule serial number.
SourceCidrIp String FALSE Address or address segment.
RWAccessType String FALSE Read-write permission type.
UserAccessType String FALSE User permission type.
Priority Integer FALSE Priority level. Range: 1-100. Default value: 1

Response parameters

None

Example

Request example

  1. GET https://nas.cn-hangzhou.aliyuncs.com/?Action=ModifyAccessRule
  2. &AccessGroupName=classic-test
  3. &AccessRuleId=1
  4. &SourceCidrIp=192.168.0.1
  5. &RWAccessType=RDWR
  6. &UserAccessType=all_squash
  7. &<Public Request Parameter>

Response example

XML example

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ModifyAccessRuleResponse>
  3. <RequestId>6299428C-3861-435D-AE54-9B330A0007C8</RequestId>
  4. </ModifyAccessRuleResponse>

JSON example

  1. {
  2. "RequestId": "6299428C-3861-435D-AE54-9B330A0007C8",
  3. }
Thank you! We've received your feedback.