Deletes a rule from a permission group.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer automatically 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 DescribeAccessRules.

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 the file system.

Valid values:

  • standard: the default value, which indicates General-purpose NAS file systems.
  • extreme: Extreme NAS file systems.

Response parameters

Parameter Type Example Description
RequestId String 5B4511A7-C99E-4071-AA8C-32E2529D****

The ID of the request.

Examples

Sample requests

http(s)://[Endpoint]/? Action=DeleteAccessRule
&AccessGroupName=classic-test
&AccessRuleId=1
&<Common request parameters>

Sample success responses

XML format

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

JSON format

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

Error codes

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