Creates a permission group.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | CreateAccessGroup |
The operation that you want to perform. Set the value to CreateAccessGroup. |
AccessGroupName | String | Yes | classic-test |
The name of the permission group. Limits:
Default permission groups: DEFAULT_VPC_GROUP_NAME (VPC default permission group) and DEFAULT_CLASSIC_GROUP_NAME (classic network default permission group). |
AccessGroupType | String | Yes | Classic |
The network type of the permission group. Valid values:
|
Description | String | No | classictestaccessgroup |
The description of the permission group. Limits:
|
FileSystemType | String | No | standard |
The type of the file system. Valid values:
|
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
AccessGroupName | String | classic-test |
The name of the permission group. |
RequestId | String | 55C5FFD6-BF99-41BD-9C66-FFF39189F4F8 |
The ID of the request. |
Examples
Sample requests
GET https://nas.cn-hangzhou.aliyuncs.com/?Action=CreatAccessGroup
&AccessGroupName=classic-test
&AccessGroupType=Classic
&Description=classic test access group
&<Common request parameters>
Sample success responses
XML
format
<RequestId>55C5FFD6-BF99-41BD-9C66-FFF39189F4F8</RequestId>
<AccessGroupName>classic-test</AccessGroupName>
JSON
format
{
"RequestId": "55C5FFD6-BF99-41BD-9C66-FFF39189F4F8",
"AccessGroupName": "classic-test"
}
Error codes
For a list of error codes, visit the API Error Center.