Cancels the directory quotas of a file system.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | CancelDirQuota |
The operation that you want to perform. Set the value to CancelDirQuota. |
FileSystemId | String | Yes | 1ca404**** |
The ID of the file system. |
Path | String | Yes | /data/sub1 |
The absolute path of the directory. |
UserType | String | Yes | Uid |
The type of the user. Valid values:
|
UserId | String | No | 500 |
The Uid or Gid of a user for whom you want to cancel the directory quota. This parameter is required and valid only if the UserType is set to Uid or Gid. Examples:
|
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
RequestId | String | 5BC5CB97-9F28-42FE-84A4-0CD0DF42**** |
The ID of the request. |
Success | Boolean | true |
Indicates whether the request has succeeded. Valid values:
|
Examples
Sample requests
http(s)://[Endpoint]/?Action=CancelDirQuota
&FileSystemId=1ca404****
&Path=/data/sub1
&UserType=Uid
&<Common request parameters>
Sample success responses
XML
format
<RequestId>5BC5CB97-9F28-42FE-84A4-0CD0DF42****</RequestId>
<Success>true</Success>
JSON
format
{
"RequestId": "5BC5CB97-9F28-42FE-84A4-0CD0DF42****",
"Success": true
}
Error codes
For a list of error codes, visit the API Error Center.