Help Center/ Scalable File Service Turbo/ API Reference/ API/ Directory Management/ Removing Quota Limits from a Directory
Updated on 2025-11-14 GMT+08:00

Removing Quota Limits from a Directory

Function

This API is used to remove the quota limits from a directory.

Authorization Information

Each account has all the permissions required to call all APIs, but IAM users must be assigned the required permissions. For details about the required permissions, see Permissions Policies and Supported Actions.

URI

DELETE /v1/{project_id}/sfs-turbo/shares/{share_id}/fs/dir-quota

Table 1 Path Parameters

Parameter

Mandatory

Type

Description

project_id

Yes

String

The project ID.

share_id

Yes

String

The file system ID.

Request Parameters

Table 2 Request header parameters

Parameter

Mandatory

Type

Description

X-Auth-Token

Yes

String

The account token.

Content-Type

Yes

String

The MIME type.

Table 3 Request body parameters

Parameter

Mandatory

Type

Description

path

Yes

String

The valid full path of an existing directory.

Response Parameters

Status code: 204

Directory quota limits deleted

Status code: 400

Table 4 Response body parameters

Parameter

Type

Description

errCode

String

The error code.

errMsg

String

The error message.

Status code: 500

Table 5 Response body parameters

Parameter

Type

Description

errCode

String

The error code.

errMsg

String

The error message.

Example Requests

Removing the quota limits of the directory /data/test in the file system whose ID is 77ba6f4b-6365-4895-8dda-bc7142af4ddw

DELETE HTTPS://{endpoint}/v1/{project_id}/sfs-turbo/shares/77ba6f4b-6365-4895-8dda-bc7142af4ddw/fs/dir-quota

{
  "path" : "/data/test"
}

Example Responses

Status code: 400

Error response

{
  "errCode" : "SFS.TURBO.0102",
  "errMsg" : "Path is not directory"
}

Status code: 500

Error response

{
  "errCode" : "SFS.TURBO.0005",
  "errMsg" : "Internal server error"
}

Status Codes

Status Code

Description

204

Directory quota limits deleted

400

Error response

500

Error response

Error Codes

See Error Codes.