Modifies a permission group.

Usage notes

Default permission groups include DEFAULT_VPC_GROUP_NAME and DEFAULT_CLASSIC_GROUP_NAME. You cannot modify the default permission groups.

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 ModifyAccessGroup

The operation that you want to perform.

Set the value to ModifyAccessGroup.

AccessGroupName String Yes classic-test

The name of the permission group.

Limits:

  • The name must be 3 to 64 characters in length.
  • The name must start with a letter and can contain letters, digits, underscores (_), and hyphens (-).
Description String No classic-test

The description of the permission group.

Limits:

  • By default, the description of the permission group is the same as the name of the permission group. The description must be 2 to 128 characters in length.
  • The description must start with a letter and cannot start with http:// or https://.
  • The description can contain digits, colons (:), underscores (_), and hyphens (-).
FileSystemType String No standard

The type of the file system.

Valid values:

  • standard (default): General-purpose NAS file system
  • extreme: Extreme NAS file system

Response parameters

Parameter Type Example Description
RequestId String ED2AE737-9D50-4CA4-B0DA-31BD610C****

The request ID.

Examples

Sample requests

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

Sample success responses

XML format

HTTP/1.1 200 OK
Content-Type:application/xml

<?xml version="1.0" encoding="UTF-8"?>
<ModifyAccessGroupResponse>
  <RequestId>ED2AE737-9D50-4CA4-B0DA-31BD610C****</RequestId>
</ModifyAccessGroupResponse>

JSON format

HTTP/1.1 200 OK
Content-Type:application/json

{
  "RequestId" : "ED2AE737-9D50-4CA4-B0DA-31BD610C****"
}

Error codes

For a list of error codes, see Service error codes.