Deletes a rule.

Debugging

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 DeleteAccessRule

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

AccessGroupName String Yes classic-test

The name of the permission group.

AccessRuleId String Yes 1

The ID of the rule.

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 5B4511A7-C99E-4071-AA8C-32E2529DA963

The ID of the request.

Examples

Sample requests

GET https://nas.cn-hangzhou.aliyuncs.com/?Action=CreatAccessRule
&AccessGroupName=classic-test
&AccessRuleId=1
&<Common request parameters>

Sample success responses

XML format

<DeleteAccessRuleResponse>
    <RequestId>5B4511A7-C99E-4071-AA8C-32E2529DA963</RequestId>
</DeleteAccessRuleResponse>

JSON format

{
  "RequestId": "5B4511A7-C99E-4071-AA8C-32E2529DA963"
}

Error codes

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